public final class DemoteMasterMySqlReplicaConfiguration 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 |
|---|
DemoteMasterMySqlReplicaConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DemoteMasterMySqlReplicaConfiguration |
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 |
getKind()
This is always *sql#demoteMasterMysqlReplicaConfiguration*.
|
String |
getPassword()
The password for the replication connection.
|
String |
getUsername()
The username for the replication connection.
|
DemoteMasterMySqlReplicaConfiguration |
set(String fieldName,
Object value) |
DemoteMasterMySqlReplicaConfiguration |
setCaCertificate(String caCertificate)
PEM representation of the trusted CA's x509 certificate.
|
DemoteMasterMySqlReplicaConfiguration |
setClientCertificate(String clientCertificate)
PEM representation of the replica's x509 certificate.
|
DemoteMasterMySqlReplicaConfiguration |
setClientKey(String clientKey)
PEM representation of the replica's private key.
|
DemoteMasterMySqlReplicaConfiguration |
setKind(String kind)
This is always *sql#demoteMasterMysqlReplicaConfiguration*.
|
DemoteMasterMySqlReplicaConfiguration |
setPassword(String password)
The password for the replication connection.
|
DemoteMasterMySqlReplicaConfiguration |
setUsername(String username)
The username for the replication connection.
|
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 DemoteMasterMySqlReplicaConfiguration()
public String getCaCertificate()
null for nonepublic DemoteMasterMySqlReplicaConfiguration setCaCertificate(String caCertificate)
caCertificate - caCertificate or null for nonepublic String getClientCertificate()
null for nonepublic DemoteMasterMySqlReplicaConfiguration setClientCertificate(String clientCertificate)
clientCertificate - clientCertificate or null for nonepublic String getClientKey()
null for nonepublic DemoteMasterMySqlReplicaConfiguration setClientKey(String clientKey)
clientKey - clientKey or null for nonepublic String getKind()
null for nonepublic DemoteMasterMySqlReplicaConfiguration setKind(String kind)
kind - kind or null for nonepublic String getPassword()
null for nonepublic DemoteMasterMySqlReplicaConfiguration setPassword(String password)
password - password or null for nonepublic String getUsername()
null for nonepublic DemoteMasterMySqlReplicaConfiguration setUsername(String username)
username - username or null for nonepublic DemoteMasterMySqlReplicaConfiguration set(String fieldName, Object value)
set in class GenericJsonpublic DemoteMasterMySqlReplicaConfiguration clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.