public final class ConnectSettings
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConnectSettings() |
| Modifier and Type | Method and Description |
|---|---|
ConnectSettings |
clone() |
String |
getBackendType()
`SECOND_GEN`: Cloud SQL database instance.
|
String |
getDatabaseVersion()
The database engine type and version.
|
String |
getDnsName()
The dns name of the instance.
|
List<IpMapping> |
getIpAddresses()
The assigned IP addresses for the instance.
|
String |
getKind()
This is always `sql#connectSettings`.
|
Boolean |
getPscEnabled()
Whether PSC connectivity is enabled for this instance.
|
String |
getRegion()
The cloud region for the instance.
|
SslCert |
getServerCaCert()
SSL configuration.
|
String |
getServerCaMode()
Specify what type of CA is used for the server certificate.
|
ConnectSettings |
set(String fieldName,
Object value) |
ConnectSettings |
setBackendType(String backendType)
`SECOND_GEN`: Cloud SQL database instance.
|
ConnectSettings |
setDatabaseVersion(String databaseVersion)
The database engine type and version.
|
ConnectSettings |
setDnsName(String dnsName)
The dns name of the instance.
|
ConnectSettings |
setIpAddresses(List<IpMapping> ipAddresses)
The assigned IP addresses for the instance.
|
ConnectSettings |
setKind(String kind)
This is always `sql#connectSettings`.
|
ConnectSettings |
setPscEnabled(Boolean pscEnabled)
Whether PSC connectivity is enabled for this instance.
|
ConnectSettings |
setRegion(String region)
The cloud region for the instance.
|
ConnectSettings |
setServerCaCert(SslCert serverCaCert)
SSL configuration.
|
ConnectSettings |
setServerCaMode(String serverCaMode)
Specify what type of CA is used for the server certificate.
|
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 getBackendType()
null for nonepublic ConnectSettings setBackendType(String backendType)
backendType - backendType or null for nonepublic String getDatabaseVersion()
null for nonepublic ConnectSettings setDatabaseVersion(String databaseVersion)
databaseVersion - databaseVersion or null for nonepublic String getDnsName()
null for nonepublic ConnectSettings setDnsName(String dnsName)
dnsName - dnsName or null for nonepublic List<IpMapping> getIpAddresses()
null for nonepublic ConnectSettings setIpAddresses(List<IpMapping> ipAddresses)
ipAddresses - ipAddresses or null for nonepublic String getKind()
null for nonepublic ConnectSettings setKind(String kind)
kind - kind or null for nonepublic Boolean getPscEnabled()
null for nonepublic ConnectSettings setPscEnabled(Boolean pscEnabled)
pscEnabled - pscEnabled or null for nonepublic String getRegion()
null for nonepublic ConnectSettings setRegion(String region)
region - region or null for nonepublic SslCert getServerCaCert()
null for nonepublic ConnectSettings setServerCaCert(SslCert serverCaCert)
serverCaCert - serverCaCert or null for nonepublic String getServerCaMode()
null for nonepublic ConnectSettings setServerCaMode(String serverCaMode)
serverCaMode - serverCaMode or null for nonepublic ConnectSettings set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ConnectSettings clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.