public final class DemoteMasterContext 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 |
|---|
DemoteMasterContext() |
| Modifier and Type | Method and Description |
|---|---|
DemoteMasterContext |
clone() |
String |
getKind()
This is always sql#demoteMasterContext.
|
String |
getMasterInstanceName()
The name of the instance which will act as on-premises master in the replication setup.
|
DemoteMasterConfiguration |
getReplicaConfiguration()
Configuration specific to read-replicas replicating from the on-premises master.
|
Boolean |
getVerifyGtidConsistency()
Verify GTID consistency for demote operation.
|
DemoteMasterContext |
set(String fieldName,
Object value) |
DemoteMasterContext |
setKind(String kind)
This is always sql#demoteMasterContext.
|
DemoteMasterContext |
setMasterInstanceName(String masterInstanceName)
The name of the instance which will act as on-premises master in the replication setup.
|
DemoteMasterContext |
setReplicaConfiguration(DemoteMasterConfiguration replicaConfiguration)
Configuration specific to read-replicas replicating from the on-premises master.
|
DemoteMasterContext |
setVerifyGtidConsistency(Boolean verifyGtidConsistency)
Verify GTID consistency for demote operation.
|
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 getKind()
null for nonepublic DemoteMasterContext setKind(String kind)
kind - kind or null for nonepublic String getMasterInstanceName()
null for nonepublic DemoteMasterContext setMasterInstanceName(String masterInstanceName)
masterInstanceName - masterInstanceName or null for nonepublic DemoteMasterConfiguration getReplicaConfiguration()
null for nonepublic DemoteMasterContext setReplicaConfiguration(DemoteMasterConfiguration replicaConfiguration)
replicaConfiguration - replicaConfiguration or null for nonepublic Boolean getVerifyGtidConsistency()
null for nonepublic DemoteMasterContext setVerifyGtidConsistency(Boolean verifyGtidConsistency)
verifyGtidConsistency - verifyGtidConsistency or null for nonepublic DemoteMasterContext set(String fieldName, Object value)
set in class GenericJsonpublic DemoteMasterContext clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.