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.ExplicitlySetBmcModelGeneral information about the 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 classManagedMySqlDatabaseGeneralReplicationInformation.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApplyStatusSummary()A summary of the current status of apply operations.StringgetBinaryLogFormat()The binary logging format used by this server.StringgetBinaryLogging()The status of binary logging on this server.StringgetExecutedGtidSet()The set of global transaction identifiers for transactions that have been executed on this source server.StringgetFetchStatusSummary()A summary of the current status of fetch operations.StringgetGtidMode()The Global Transaction Identifier (GTID) mode of this server.StringgetHighAvailabilityMemberState()The state of this server as a group replication member.StringgetHostName()This server’s host name.IntegergetInboundReplicationsCount()The number of sources this server is replicating from.StringgetInstanceType()The type of the instance for example, Source, Replica, Primary Group Member, and Secondary Group Member.BooleangetIsHighAvailabilityEnabled()Specifies if high availability is enabled on this server.IntegergetOutboundReplicationsCount()The number of replicas replicating from this server.IntegergetPort()The number of the port on which the server listens for TCP/IP connections.MySqlReadOnlygetReadOnly()If the value is ON, the instance is configured as read_only.LonggetSecondsBehindSourceMax()The number of seconds the replica is behind the source.LonggetServerId()This server’s ID.StringgetServerUuid()This server’s Universally Unique Identifier (UUID).inthashCode()ManagedMySqlDatabaseGeneralReplicationInformation.BuildertoBuilder()StringtoString()StringtoString(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 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.
- 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()
The 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()
The 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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-