public final class DemoteMasterContext
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.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 primary instance in the replication
setup.
|
DemoteMasterConfiguration |
getReplicaConfiguration()
Configuration specific to read-replicas replicating from the on-premises primary instance.
|
Boolean |
getSkipReplicationSetup()
Flag to skip replication setup on the instance.
|
Boolean |
getVerifyGtidConsistency()
Verify the 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 primary instance in the replication
setup.
|
DemoteMasterContext |
setReplicaConfiguration(DemoteMasterConfiguration replicaConfiguration)
Configuration specific to read-replicas replicating from the on-premises primary instance.
|
DemoteMasterContext |
setSkipReplicationSetup(Boolean skipReplicationSetup)
Flag to skip replication setup on the instance.
|
DemoteMasterContext |
setVerifyGtidConsistency(Boolean verifyGtidConsistency)
Verify the 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 getSkipReplicationSetup()
null for nonepublic DemoteMasterContext setSkipReplicationSetup(Boolean skipReplicationSetup)
skipReplicationSetup - skipReplicationSetup 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 com.google.api.client.json.GenericJsonpublic DemoteMasterContext clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.