public final class MySqlReplicaConfiguration 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 |
|---|
MySqlReplicaConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
MySqlReplicaConfiguration |
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.
|
Integer |
getConnectRetryInterval()
Seconds to wait between connect retries.
|
String |
getDumpFilePath()
Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be
created.
|
String |
getKind()
This is always *sql#mysqlReplicaConfiguration*.
|
Long |
getMasterHeartbeatPeriod()
Interval in milliseconds between replication heartbeats.
|
String |
getPassword()
The password for the replication connection.
|
String |
getSslCipher()
A list of permissible ciphers to use for SSL encryption.
|
String |
getUsername()
The username for the replication connection.
|
Boolean |
getVerifyServerCertificate()
Whether or not to check the master's Common Name value in the certificate that it sends during
the SSL handshake.
|
MySqlReplicaConfiguration |
set(String fieldName,
Object value) |
MySqlReplicaConfiguration |
setCaCertificate(String caCertificate)
PEM representation of the trusted CA's x509 certificate.
|
MySqlReplicaConfiguration |
setClientCertificate(String clientCertificate)
PEM representation of the replica's x509 certificate.
|
MySqlReplicaConfiguration |
setClientKey(String clientKey)
PEM representation of the replica's private key.
|
MySqlReplicaConfiguration |
setConnectRetryInterval(Integer connectRetryInterval)
Seconds to wait between connect retries.
|
MySqlReplicaConfiguration |
setDumpFilePath(String dumpFilePath)
Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be
created.
|
MySqlReplicaConfiguration |
setKind(String kind)
This is always *sql#mysqlReplicaConfiguration*.
|
MySqlReplicaConfiguration |
setMasterHeartbeatPeriod(Long masterHeartbeatPeriod)
Interval in milliseconds between replication heartbeats.
|
MySqlReplicaConfiguration |
setPassword(String password)
The password for the replication connection.
|
MySqlReplicaConfiguration |
setSslCipher(String sslCipher)
A list of permissible ciphers to use for SSL encryption.
|
MySqlReplicaConfiguration |
setUsername(String username)
The username for the replication connection.
|
MySqlReplicaConfiguration |
setVerifyServerCertificate(Boolean verifyServerCertificate)
Whether or not to check the master's Common Name value in the certificate that it sends during
the SSL handshake.
|
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 MySqlReplicaConfiguration setCaCertificate(String caCertificate)
caCertificate - caCertificate or null for nonepublic String getClientCertificate()
null for nonepublic MySqlReplicaConfiguration setClientCertificate(String clientCertificate)
clientCertificate - clientCertificate or null for nonepublic String getClientKey()
null for nonepublic MySqlReplicaConfiguration setClientKey(String clientKey)
clientKey - clientKey or null for nonepublic Integer getConnectRetryInterval()
null for nonepublic MySqlReplicaConfiguration setConnectRetryInterval(Integer connectRetryInterval)
connectRetryInterval - connectRetryInterval or null for nonepublic String getDumpFilePath()
null for nonepublic MySqlReplicaConfiguration setDumpFilePath(String dumpFilePath)
dumpFilePath - dumpFilePath or null for nonepublic String getKind()
null for nonepublic MySqlReplicaConfiguration setKind(String kind)
kind - kind or null for nonepublic Long getMasterHeartbeatPeriod()
null for nonepublic MySqlReplicaConfiguration setMasterHeartbeatPeriod(Long masterHeartbeatPeriod)
masterHeartbeatPeriod - masterHeartbeatPeriod or null for nonepublic String getPassword()
null for nonepublic MySqlReplicaConfiguration setPassword(String password)
password - password or null for nonepublic String getSslCipher()
null for nonepublic MySqlReplicaConfiguration setSslCipher(String sslCipher)
sslCipher - sslCipher or null for nonepublic String getUsername()
null for nonepublic MySqlReplicaConfiguration setUsername(String username)
username - username or null for nonepublic Boolean getVerifyServerCertificate()
null for nonepublic MySqlReplicaConfiguration setVerifyServerCertificate(Boolean verifyServerCertificate)
verifyServerCertificate - verifyServerCertificate or null for nonepublic MySqlReplicaConfiguration set(String fieldName, Object value)
set in class GenericJsonpublic MySqlReplicaConfiguration clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.