Class ManagedMySqlDatabaseInboundReplicationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ManagedMySqlDatabaseInboundReplicationSummary.Builder
-
- Enclosing class:
- ManagedMySqlDatabaseInboundReplicationSummary
public static class ManagedMySqlDatabaseInboundReplicationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedMySqlDatabaseInboundReplicationSummary.BuilderapplierFilters(List<MySqlReplicationApplierFilter> applierFilters)A list of MySqlReplicationApplierFilter records.ManagedMySqlDatabaseInboundReplicationSummary.BuilderapplyDelay(Double applyDelay)The time in seconds that the current transaction took between being committed on the source and being applied on the replica.ManagedMySqlDatabaseInboundReplicationSummary.BuilderapplyError(MySqlApplyError applyError)ManagedMySqlDatabaseInboundReplicationSummary.BuilderapplyStatus(String applyStatus)The current status of apply operations.ManagedMySqlDatabaseInboundReplicationSummarybuild()ManagedMySqlDatabaseInboundReplicationSummary.BuilderbusyWorkers(Integer busyWorkers)The number of workers currently busy applying transactions from the source server.ManagedMySqlDatabaseInboundReplicationSummary.BuilderchannelName(String channelName)The name of the replication channel.ManagedMySqlDatabaseInboundReplicationSummary.Buildercopy(ManagedMySqlDatabaseInboundReplicationSummary model)ManagedMySqlDatabaseInboundReplicationSummary.BuilderdesiredDelaySeconds(Long desiredDelaySeconds)The desired number of seconds that the replica must lag the source.ManagedMySqlDatabaseInboundReplicationSummary.BuilderfetchError(MySqlFetchError fetchError)ManagedMySqlDatabaseInboundReplicationSummary.BuilderfetchStatus(String fetchStatus)The current status of fetch operations.ManagedMySqlDatabaseInboundReplicationSummary.BuildergtidAssignment(String gtidAssignment)Indicates whether the channel assigns global transaction identifiers (GTIDs) to anonymous replicated transactions.ManagedMySqlDatabaseInboundReplicationSummary.BuilderrelayLogStorageSpaceUsed(Long relayLogStorageSpaceUsed)The total size in bytes of all the existing relay log files pertaining to this channel.ManagedMySqlDatabaseInboundReplicationSummary.BuilderremainingDelaySeconds(Long remainingDelaySeconds)If the replica is waiting for the desired delay seconds to pass since the source applied an event, this field contains the number of delay seconds remaining.ManagedMySqlDatabaseInboundReplicationSummary.BuilderretrievedGtidSet(String retrievedGtidSet)The set of global transaction IDs corresponding to all transactions received by this replica from the source server.ManagedMySqlDatabaseInboundReplicationSummary.BuildersecondsBehindSource(Long secondsBehindSource)The number of seconds the replica is behind the source server.ManagedMySqlDatabaseInboundReplicationSummary.BuildersourceHost(String sourceHost)The host name or IP address of the source this replica is connected to.ManagedMySqlDatabaseInboundReplicationSummary.BuildersourcePort(Integer sourcePort)The port used to connect to the source.ManagedMySqlDatabaseInboundReplicationSummary.BuildersourceServerId(Long sourceServerId)The server ID value from the source server.ManagedMySqlDatabaseInboundReplicationSummary.BuildersourceUuid(String sourceUuid)The Universally Unique Identifier (UUID) value from the source server.ManagedMySqlDatabaseInboundReplicationSummary.BuildertransactionsReceived(Long transactionsReceived)The number of transactions received by this replica from the source server.
-
-
-
Method Detail
-
sourceHost
public ManagedMySqlDatabaseInboundReplicationSummary.Builder sourceHost(String sourceHost)
The host name or IP address of the source this replica is connected to.- Parameters:
sourceHost- the value to set- Returns:
- this builder
-
sourcePort
public ManagedMySqlDatabaseInboundReplicationSummary.Builder sourcePort(Integer sourcePort)
The port used to connect to the source.- Parameters:
sourcePort- the value to set- Returns:
- this builder
-
fetchStatus
public ManagedMySqlDatabaseInboundReplicationSummary.Builder fetchStatus(String fetchStatus)
The current status of fetch operations.- Parameters:
fetchStatus- the value to set- Returns:
- this builder
-
applyStatus
public ManagedMySqlDatabaseInboundReplicationSummary.Builder applyStatus(String applyStatus)
The current status of apply operations.- Parameters:
applyStatus- the value to set- Returns:
- this builder
-
desiredDelaySeconds
public ManagedMySqlDatabaseInboundReplicationSummary.Builder desiredDelaySeconds(Long desiredDelaySeconds)
The desired number of seconds that the replica must lag the source.- Parameters:
desiredDelaySeconds- the value to set- Returns:
- this builder
-
remainingDelaySeconds
public ManagedMySqlDatabaseInboundReplicationSummary.Builder remainingDelaySeconds(Long remainingDelaySeconds)
If the replica is waiting for the desired delay seconds to pass since the source applied an event, this field contains the number of delay seconds remaining.- Parameters:
remainingDelaySeconds- the value to set- Returns:
- this builder
-
channelName
public ManagedMySqlDatabaseInboundReplicationSummary.Builder channelName(String channelName)
The name of the replication channel.- Parameters:
channelName- the value to set- Returns:
- this builder
-
sourceUuid
public ManagedMySqlDatabaseInboundReplicationSummary.Builder sourceUuid(String sourceUuid)
The Universally Unique Identifier (UUID) value from the source server.- Parameters:
sourceUuid- the value to set- Returns:
- this builder
-
sourceServerId
public ManagedMySqlDatabaseInboundReplicationSummary.Builder sourceServerId(Long sourceServerId)
The server ID value from the source server.- Parameters:
sourceServerId- the value to set- Returns:
- this builder
-
gtidAssignment
public ManagedMySqlDatabaseInboundReplicationSummary.Builder gtidAssignment(String gtidAssignment)
Indicates whether the channel assigns global transaction identifiers (GTIDs) to anonymous replicated transactions.OFF means no GTIDs are assigned. LOCAL means a GTID is assigned that includes this replica’s own universally unique identifier (UUID). A UUID as value indicates that a GTID is assigned, which includes that manually set UUID value.
- Parameters:
gtidAssignment- the value to set- Returns:
- this builder
-
applierFilters
public ManagedMySqlDatabaseInboundReplicationSummary.Builder applierFilters(List<MySqlReplicationApplierFilter> applierFilters)
A list of MySqlReplicationApplierFilter records.- Parameters:
applierFilters- the value to set- Returns:
- this builder
-
secondsBehindSource
public ManagedMySqlDatabaseInboundReplicationSummary.Builder secondsBehindSource(Long secondsBehindSource)
The number of seconds the replica is behind the source server.- Parameters:
secondsBehindSource- the value to set- Returns:
- this builder
-
retrievedGtidSet
public ManagedMySqlDatabaseInboundReplicationSummary.Builder retrievedGtidSet(String retrievedGtidSet)
The set of global transaction IDs corresponding to all transactions received by this replica from the source server.Empty if GTIDs are not in use.
- Parameters:
retrievedGtidSet- the value to set- Returns:
- this builder
-
relayLogStorageSpaceUsed
public ManagedMySqlDatabaseInboundReplicationSummary.Builder relayLogStorageSpaceUsed(Long relayLogStorageSpaceUsed)
The total size in bytes of all the existing relay log files pertaining to this channel.- Parameters:
relayLogStorageSpaceUsed- the value to set- Returns:
- this builder
-
transactionsReceived
public ManagedMySqlDatabaseInboundReplicationSummary.Builder transactionsReceived(Long transactionsReceived)
The number of transactions received by this replica from the source server.- Parameters:
transactionsReceived- the value to set- Returns:
- this builder
-
applyDelay
public ManagedMySqlDatabaseInboundReplicationSummary.Builder applyDelay(Double applyDelay)
The time in seconds that the current transaction took between being committed on the source and being applied on the replica.- Parameters:
applyDelay- the value to set- Returns:
- this builder
-
busyWorkers
public ManagedMySqlDatabaseInboundReplicationSummary.Builder busyWorkers(Integer busyWorkers)
The number of workers currently busy applying transactions from the source server.- Parameters:
busyWorkers- the value to set- Returns:
- this builder
-
fetchError
public ManagedMySqlDatabaseInboundReplicationSummary.Builder fetchError(MySqlFetchError fetchError)
-
applyError
public ManagedMySqlDatabaseInboundReplicationSummary.Builder applyError(MySqlApplyError applyError)
-
build
public ManagedMySqlDatabaseInboundReplicationSummary build()
-
copy
public ManagedMySqlDatabaseInboundReplicationSummary.Builder copy(ManagedMySqlDatabaseInboundReplicationSummary model)
-
-