public final class SqlIpConfig 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 Database Migration 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 |
|---|
SqlIpConfig() |
| Modifier and Type | Method and Description |
|---|---|
SqlIpConfig |
clone() |
List<SqlAclEntry> |
getAuthorizedNetworks()
The list of external networks that are allowed to connect to the instance using the IP.
|
Boolean |
getEnableIpv4()
Whether the instance should be assigned an IPv4 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 should be enforced or not.
|
SqlIpConfig |
set(String fieldName,
Object value) |
SqlIpConfig |
setAuthorizedNetworks(List<SqlAclEntry> authorizedNetworks)
The list of external networks that are allowed to connect to the instance using the IP.
|
SqlIpConfig |
setEnableIpv4(Boolean enableIpv4)
Whether the instance should be assigned an IPv4 address or not.
|
SqlIpConfig |
setPrivateNetwork(String privateNetwork)
The resource link for the VPC network from which the Cloud SQL instance is accessible for
private IP.
|
SqlIpConfig |
setRequireSsl(Boolean requireSsl)
Whether SSL connections over IP should be 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 List<SqlAclEntry> getAuthorizedNetworks()
null for nonepublic SqlIpConfig setAuthorizedNetworks(List<SqlAclEntry> authorizedNetworks)
authorizedNetworks - authorizedNetworks or null for nonepublic Boolean getEnableIpv4()
null for nonepublic SqlIpConfig setEnableIpv4(Boolean enableIpv4)
enableIpv4 - enableIpv4 or null for nonepublic String getPrivateNetwork()
null for nonepublic SqlIpConfig setPrivateNetwork(String privateNetwork)
privateNetwork - privateNetwork or null for nonepublic Boolean getRequireSsl()
null for nonepublic SqlIpConfig setRequireSsl(Boolean requireSsl)
requireSsl - requireSsl or null for nonepublic SqlIpConfig set(String fieldName, Object value)
set in class GenericJsonpublic SqlIpConfig clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.