public final class OnPremisesConfiguration 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 |
|---|
OnPremisesConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
OnPremisesConfiguration |
clone() |
String |
getCaCertificate()
PEM representation of the trusted CA's x509 certificate.
|
String |
getClientCertificate()
PEM representation of the replica's x509 certificate.
|
String |
getClientKey()
PEM representation of the replica's private key.
|
String |
getDumpFilePath()
The dump file to create the Cloud SQL replica.
|
String |
getHostPort()
The host and port of the on-premises instance in host:port format
|
String |
getKind()
This is always *sql#onPremisesConfiguration*.
|
String |
getPassword()
The password for connecting to on-premises instance.
|
String |
getUsername()
The username for connecting to on-premises instance.
|
OnPremisesConfiguration |
set(String fieldName,
Object value) |
OnPremisesConfiguration |
setCaCertificate(String caCertificate)
PEM representation of the trusted CA's x509 certificate.
|
OnPremisesConfiguration |
setClientCertificate(String clientCertificate)
PEM representation of the replica's x509 certificate.
|
OnPremisesConfiguration |
setClientKey(String clientKey)
PEM representation of the replica's private key.
|
OnPremisesConfiguration |
setDumpFilePath(String dumpFilePath)
The dump file to create the Cloud SQL replica.
|
OnPremisesConfiguration |
setHostPort(String hostPort)
The host and port of the on-premises instance in host:port format
|
OnPremisesConfiguration |
setKind(String kind)
This is always *sql#onPremisesConfiguration*.
|
OnPremisesConfiguration |
setPassword(String password)
The password for connecting to on-premises instance.
|
OnPremisesConfiguration |
setUsername(String username)
The username for connecting to on-premises instance.
|
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 getCaCertificate()
null for nonepublic OnPremisesConfiguration setCaCertificate(String caCertificate)
caCertificate - caCertificate or null for nonepublic String getClientCertificate()
null for nonepublic OnPremisesConfiguration setClientCertificate(String clientCertificate)
clientCertificate - clientCertificate or null for nonepublic String getClientKey()
null for nonepublic OnPremisesConfiguration setClientKey(String clientKey)
clientKey - clientKey or null for nonepublic String getDumpFilePath()
null for nonepublic OnPremisesConfiguration setDumpFilePath(String dumpFilePath)
dumpFilePath - dumpFilePath or null for nonepublic String getHostPort()
null for nonepublic OnPremisesConfiguration setHostPort(String hostPort)
hostPort - hostPort or null for nonepublic String getKind()
null for nonepublic OnPremisesConfiguration setKind(String kind)
kind - kind or null for nonepublic String getPassword()
null for nonepublic OnPremisesConfiguration setPassword(String password)
password - password or null for nonepublic String getUsername()
null for nonepublic OnPremisesConfiguration setUsername(String username)
username - username or null for nonepublic OnPremisesConfiguration set(String fieldName, Object value)
set in class GenericJsonpublic OnPremisesConfiguration clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.