Class ManagedMySqlDatabaseGeneralReplicationInformation.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.ManagedMySqlDatabaseGeneralReplicationInformation.Builder
 
- 
- Enclosing class:
- ManagedMySqlDatabaseGeneralReplicationInformation
 
 public static class ManagedMySqlDatabaseGeneralReplicationInformation.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
instanceTypepublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder instanceType(String instanceType) The type of the instance for example, Source, Replica, Primary Group Member, and Secondary Group Member.If the instance is replicating from one or more sources and has one or more replicas, which means, it belongs to a replication chain, the instance type can be Replica/Source. - Parameters:
- instanceType- the value to set
- Returns:
- this builder
 
 - 
hostNamepublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder hostName(String hostName) This server’s host name.- Parameters:
- hostName- the value to set
- Returns:
- this builder
 
 - 
portpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder port(Integer port) The number of the port on which the server listens for TCP/IP connections.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
serverIdpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder serverId(Long serverId) This server’s ID.- Parameters:
- serverId- the value to set
- Returns:
- this builder
 
 - 
serverUuidpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder serverUuid(String serverUuid) This server’s Universally Unique Identifier (UUID).- Parameters:
- serverUuid- the value to set
- Returns:
- this builder
 
 - 
secondsBehindSourceMaxpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder secondsBehindSourceMax(Long secondsBehindSourceMax) The number of seconds the replica is behind the source.When multiple sources are involved, this is the maximum value across all sources. - Parameters:
- secondsBehindSourceMax- the value to set
- Returns:
- this builder
 
 - 
fetchStatusSummarypublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder fetchStatusSummary(String fetchStatusSummary) A summary of the current status of fetch operations.- Parameters:
- fetchStatusSummary- the value to set
- Returns:
- this builder
 
 - 
applyStatusSummarypublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder applyStatusSummary(String applyStatusSummary) A summary of the current status of apply operations.- Parameters:
- applyStatusSummary- the value to set
- Returns:
- this builder
 
 - 
isHighAvailabilityEnabledpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder isHighAvailabilityEnabled(Boolean isHighAvailabilityEnabled) Specifies if high availability is enabled on this server.- Parameters:
- isHighAvailabilityEnabled- the value to set
- Returns:
- this builder
 
 - 
highAvailabilityMemberStatepublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder highAvailabilityMemberState(String highAvailabilityMemberState) The state of this server as a group replication member.- Parameters:
- highAvailabilityMemberState- the value to set
- Returns:
- this builder
 
 - 
inboundReplicationsCountpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder inboundReplicationsCount(Integer inboundReplicationsCount) The number of sources this server is replicating from.- Parameters:
- inboundReplicationsCount- the value to set
- Returns:
- this builder
 
 - 
readOnlypublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder readOnly(MySqlReadOnly readOnly) If the value is ON, the instance is configured as read_only.If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only. - Parameters:
- readOnly- the value to set
- Returns:
- this builder
 
 - 
gtidModepublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder gtidMode(String gtidMode) The Global Transaction Identifier (GTID) mode of this server.- Parameters:
- gtidMode- the value to set
- Returns:
- this builder
 
 - 
executedGtidSetpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder executedGtidSet(String executedGtidSet) The set of global transaction identifiers for transactions that have been executed on this source server.- Parameters:
- executedGtidSet- the value to set
- Returns:
- this builder
 
 - 
binaryLoggingpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder binaryLogging(String binaryLogging) The status of binary logging on this server.- Parameters:
- binaryLogging- the value to set
- Returns:
- this builder
 
 - 
binaryLogFormatpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder binaryLogFormat(String binaryLogFormat) The binary logging format used by this server.- Parameters:
- binaryLogFormat- the value to set
- Returns:
- this builder
 
 - 
outboundReplicationsCountpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder outboundReplicationsCount(Integer outboundReplicationsCount) The number of replicas replicating from this server.- Parameters:
- outboundReplicationsCount- the value to set
- Returns:
- this builder
 
 - 
buildpublic ManagedMySqlDatabaseGeneralReplicationInformation build() 
 
- 
 
-