Class ManagedMySqlDatabaseGeneralReplicationInformation
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.ManagedMySqlDatabaseGeneralReplicationInformation
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class ManagedMySqlDatabaseGeneralReplicationInformation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
General information about replication of a MySQL server.
Note: Objects should always be created or deserialized using theManagedMySqlDatabaseGeneralReplicationInformation.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theManagedMySqlDatabaseGeneralReplicationInformation.Builder
, which maintain a set of all explicitly set fields calledManagedMySqlDatabaseGeneralReplicationInformation.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedMySqlDatabaseGeneralReplicationInformation.Builder
-
Constructor Summary
Constructors Constructor Description ManagedMySqlDatabaseGeneralReplicationInformation(String instanceType, String hostName, Integer port, Long serverId, String serverUuid, Long secondsBehindSourceMax, String fetchStatusSummary, String applyStatusSummary, Boolean isHighAvailabilityEnabled, String highAvailabilityMemberState, Integer inboundReplicationsCount, MySqlReadOnly readOnly, String gtidMode, String executedGtidSet, String binaryLogging, String binaryLogFormat, Integer outboundReplicationsCount)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedMySqlDatabaseGeneralReplicationInformation.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getApplyStatusSummary()
A summary of the current status of apply operations.String
getBinaryLogFormat()
The binary logging format used by this server.String
getBinaryLogging()
Status of binary logging on this server.String
getExecutedGtidSet()
The set of global transaction identifiers for transactions that have been executed on this source server.String
getFetchStatusSummary()
A summary of the current status of fetch operations.String
getGtidMode()
Global Transaction Identifier (GTID) mode of this server.String
getHighAvailabilityMemberState()
The state of this server as a group replication member.String
getHostName()
This server’s host name.Integer
getInboundReplicationsCount()
The number of sources this server is replicating from.String
getInstanceType()
The type of the instance.Boolean
getIsHighAvailabilityEnabled()
Specifies if high availability is enabled on this server.Integer
getOutboundReplicationsCount()
The number of replicas replicating from this server.Integer
getPort()
The number of the port on which the server listens for TCP/IP connections.MySqlReadOnly
getReadOnly()
If the value is ON, the instance is configured as read_only.Long
getSecondsBehindSourceMax()
The number of seconds the replica is behind the source.Long
getServerId()
This server’s ID.String
getServerUuid()
This server’s Universally Unique Identifier (UUID).int
hashCode()
ManagedMySqlDatabaseGeneralReplicationInformation.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagedMySqlDatabaseGeneralReplicationInformation
@Deprecated @ConstructorProperties({"instanceType","hostName","port","serverId","serverUuid","secondsBehindSourceMax","fetchStatusSummary","applyStatusSummary","isHighAvailabilityEnabled","highAvailabilityMemberState","inboundReplicationsCount","readOnly","gtidMode","executedGtidSet","binaryLogging","binaryLogFormat","outboundReplicationsCount"}) public ManagedMySqlDatabaseGeneralReplicationInformation(String instanceType, String hostName, Integer port, Long serverId, String serverUuid, Long secondsBehindSourceMax, String fetchStatusSummary, String applyStatusSummary, Boolean isHighAvailabilityEnabled, String highAvailabilityMemberState, Integer inboundReplicationsCount, MySqlReadOnly readOnly, String gtidMode, String executedGtidSet, String binaryLogging, String binaryLogFormat, Integer outboundReplicationsCount)
Deprecated.
-
-
Method Detail
-
builder
public static ManagedMySqlDatabaseGeneralReplicationInformation.Builder builder()
Create a new builder.
-
toBuilder
public ManagedMySqlDatabaseGeneralReplicationInformation.Builder toBuilder()
-
getInstanceType
public String getInstanceType()
The type of the instance.Source, Replica, Primary Group Member, Secondary Group Member, and so on. If the instance is replicating from one or more sources and has one or more replicas, i.e., it belongs to a replication chain, the instance type can be Replica/Source.
- Returns:
- the value
-
getHostName
public String getHostName()
This server’s host name.- Returns:
- the value
-
getPort
public Integer getPort()
The number of the port on which the server listens for TCP/IP connections.- Returns:
- the value
-
getServerId
public Long getServerId()
This server’s ID.- Returns:
- the value
-
getServerUuid
public String getServerUuid()
This server’s Universally Unique Identifier (UUID).- Returns:
- the value
-
getSecondsBehindSourceMax
public Long getSecondsBehindSourceMax()
The number of seconds the replica is behind the source.When multiple sources are involved, this is the maximum value across all sources.
- Returns:
- the value
-
getFetchStatusSummary
public String getFetchStatusSummary()
A summary of the current status of fetch operations.- Returns:
- the value
-
getApplyStatusSummary
public String getApplyStatusSummary()
A summary of the current status of apply operations.- Returns:
- the value
-
getIsHighAvailabilityEnabled
public Boolean getIsHighAvailabilityEnabled()
Specifies if high availability is enabled on this server.- Returns:
- the value
-
getHighAvailabilityMemberState
public String getHighAvailabilityMemberState()
The state of this server as a group replication member.- Returns:
- the value
-
getInboundReplicationsCount
public Integer getInboundReplicationsCount()
The number of sources this server is replicating from.- Returns:
- the value
-
getReadOnly
public MySqlReadOnly getReadOnly()
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.
- Returns:
- the value
-
getGtidMode
public String getGtidMode()
Global Transaction Identifier (GTID) mode of this server.- Returns:
- the value
-
getExecutedGtidSet
public String getExecutedGtidSet()
The set of global transaction identifiers for transactions that have been executed on this source server.- Returns:
- the value
-
getBinaryLogging
public String getBinaryLogging()
Status of binary logging on this server.- Returns:
- the value
-
getBinaryLogFormat
public String getBinaryLogFormat()
The binary logging format used by this server.- Returns:
- the value
-
getOutboundReplicationsCount
public Integer getOutboundReplicationsCount()
The number of replicas replicating from this server.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-