public final class DemoteMasterMySqlReplicaConfiguration
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.Flags
Constructor and Description |
---|
DemoteMasterMySqlReplicaConfiguration() |
Modifier and Type | Method and Description |
---|---|
DemoteMasterMySqlReplicaConfiguration |
clone() |
java.lang.String |
getCaCertificate()
PEM representation of the trusted CA's x509 certificate.
|
java.lang.String |
getClientCertificate()
PEM representation of the slave's x509 certificate.
|
java.lang.String |
getClientKey()
PEM representation of the slave's private key.
|
java.lang.String |
getKind()
This is always sql#demoteMasterMysqlReplicaConfiguration.
|
java.lang.String |
getPassword()
The password for the replication connection.
|
java.lang.String |
getUsername()
The username for the replication connection.
|
DemoteMasterMySqlReplicaConfiguration |
set(java.lang.String fieldName,
java.lang.Object value) |
DemoteMasterMySqlReplicaConfiguration |
setCaCertificate(java.lang.String caCertificate)
PEM representation of the trusted CA's x509 certificate.
|
DemoteMasterMySqlReplicaConfiguration |
setClientCertificate(java.lang.String clientCertificate)
PEM representation of the slave's x509 certificate.
|
DemoteMasterMySqlReplicaConfiguration |
setClientKey(java.lang.String clientKey)
PEM representation of the slave's private key.
|
DemoteMasterMySqlReplicaConfiguration |
setKind(java.lang.String kind)
This is always sql#demoteMasterMysqlReplicaConfiguration.
|
DemoteMasterMySqlReplicaConfiguration |
setPassword(java.lang.String password)
The password for the replication connection.
|
DemoteMasterMySqlReplicaConfiguration |
setUsername(java.lang.String username)
The username for the replication connection.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public DemoteMasterMySqlReplicaConfiguration()
public java.lang.String getCaCertificate()
null
for nonepublic DemoteMasterMySqlReplicaConfiguration setCaCertificate(java.lang.String caCertificate)
caCertificate
- caCertificate or null
for nonepublic java.lang.String getClientCertificate()
null
for nonepublic DemoteMasterMySqlReplicaConfiguration setClientCertificate(java.lang.String clientCertificate)
clientCertificate
- clientCertificate or null
for nonepublic java.lang.String getClientKey()
null
for nonepublic DemoteMasterMySqlReplicaConfiguration setClientKey(java.lang.String clientKey)
clientKey
- clientKey or null
for nonepublic java.lang.String getKind()
null
for nonepublic DemoteMasterMySqlReplicaConfiguration setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getPassword()
null
for nonepublic DemoteMasterMySqlReplicaConfiguration setPassword(java.lang.String password)
password
- password or null
for nonepublic java.lang.String getUsername()
null
for nonepublic DemoteMasterMySqlReplicaConfiguration setUsername(java.lang.String username)
username
- username or null
for nonepublic DemoteMasterMySqlReplicaConfiguration set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public DemoteMasterMySqlReplicaConfiguration clone()
clone
in class com.google.api.client.json.GenericJson