public final class IpConfiguration
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
IpConfiguration() |
Modifier and Type | Method and Description |
---|---|
IpConfiguration |
clone() |
java.util.List<AclEntry> |
getAuthorizedNetworks()
The list of external networks that are allowed to connect to the instance using the IP.
|
java.lang.Boolean |
getIpv4Enabled()
Whether the instance should be assigned an IP address or not.
|
java.lang.String |
getPrivateNetwork()
The resource link for the VPC network from which the Cloud SQL instance is accessible for
private IP.
|
java.lang.Boolean |
getRequireSsl()
Whether SSL connections over IP should be enforced or not.
|
IpConfiguration |
set(java.lang.String fieldName,
java.lang.Object value) |
IpConfiguration |
setAuthorizedNetworks(java.util.List<AclEntry> authorizedNetworks)
The list of external networks that are allowed to connect to the instance using the IP.
|
IpConfiguration |
setIpv4Enabled(java.lang.Boolean ipv4Enabled)
Whether the instance should be assigned an IP address or not.
|
IpConfiguration |
setPrivateNetwork(java.lang.String privateNetwork)
The resource link for the VPC network from which the Cloud SQL instance is accessible for
private IP.
|
IpConfiguration |
setRequireSsl(java.lang.Boolean requireSsl)
Whether SSL connections over IP should be enforced or not.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<AclEntry> getAuthorizedNetworks()
null
for nonepublic IpConfiguration setAuthorizedNetworks(java.util.List<AclEntry> authorizedNetworks)
authorizedNetworks
- authorizedNetworks or null
for nonepublic java.lang.Boolean getIpv4Enabled()
null
for nonepublic IpConfiguration setIpv4Enabled(java.lang.Boolean ipv4Enabled)
ipv4Enabled
- ipv4Enabled or null
for nonepublic java.lang.String getPrivateNetwork()
null
for nonepublic IpConfiguration setPrivateNetwork(java.lang.String privateNetwork)
privateNetwork
- privateNetwork or null
for nonepublic java.lang.Boolean getRequireSsl()
null
for nonepublic IpConfiguration setRequireSsl(java.lang.Boolean requireSsl)
requireSsl
- requireSsl or null
for nonepublic IpConfiguration set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public IpConfiguration clone()
clone
in class com.google.api.client.json.GenericJson