public final class IpConfiguration extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
IpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
IpConfiguration |
clone() |
String |
getAllocatedIpRange()
The name of the allocated ip range for the private ip CloudSQL instance.
|
List<AclEntry> |
getAuthorizedNetworks()
The list of external networks that are allowed to connect to the instance using the IP.
|
Boolean |
getIpv4Enabled()
Whether the instance is assigned a public IP address or not.
|
String |
getPrivateNetwork()
The resource link for the VPC network from which the Cloud SQL instance is accessible for
private IP.
|
Boolean |
getRequireSsl()
Whether SSL connections over IP are enforced or not.
|
IpConfiguration |
set(String fieldName,
Object value) |
IpConfiguration |
setAllocatedIpRange(String allocatedIpRange)
The name of the allocated ip range for the private ip CloudSQL instance.
|
IpConfiguration |
setAuthorizedNetworks(List<AclEntry> authorizedNetworks)
The list of external networks that are allowed to connect to the instance using the IP.
|
IpConfiguration |
setIpv4Enabled(Boolean ipv4Enabled)
Whether the instance is assigned a public IP address or not.
|
IpConfiguration |
setPrivateNetwork(String privateNetwork)
The resource link for the VPC network from which the Cloud SQL instance is accessible for
private IP.
|
IpConfiguration |
setRequireSsl(Boolean requireSsl)
Whether SSL connections over IP are enforced or not.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAllocatedIpRange()
null for nonepublic IpConfiguration setAllocatedIpRange(String allocatedIpRange)
allocatedIpRange - allocatedIpRange or null for nonepublic List<AclEntry> getAuthorizedNetworks()
null for nonepublic IpConfiguration setAuthorizedNetworks(List<AclEntry> authorizedNetworks)
authorizedNetworks - authorizedNetworks or null for nonepublic Boolean getIpv4Enabled()
null for nonepublic IpConfiguration setIpv4Enabled(Boolean ipv4Enabled)
ipv4Enabled - ipv4Enabled or null for nonepublic String getPrivateNetwork()
null for nonepublic IpConfiguration setPrivateNetwork(String privateNetwork)
privateNetwork - privateNetwork or null for nonepublic Boolean getRequireSsl()
null for nonepublic IpConfiguration setRequireSsl(Boolean requireSsl)
requireSsl - requireSsl or null for nonepublic IpConfiguration set(String fieldName, Object value)
set in class GenericJsonpublic IpConfiguration clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.