DemoteMasterContext class

Database instance demote primary instance context.

Constructors

DemoteMasterContext({String? kind, String? masterInstanceName, DemoteMasterConfiguration? replicaConfiguration, bool? skipReplicationSetup, bool? verifyGtidConsistency})
DemoteMasterContext.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
kind String?
This is always sql#demoteMasterContext.
getter/setter pair
masterInstanceName String?
The name of the instance which will act as on-premises primary instance in the replication setup.
getter/setter pair
replicaConfiguration DemoteMasterConfiguration?
Configuration specific to read-replicas replicating from the on-premises primary instance.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipReplicationSetup bool?
Flag to skip replication setup on the instance.
getter/setter pair
verifyGtidConsistency bool?
Verify GTID consistency for demote operation.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited