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 SummaryNested Classes Modifier and Type Class Description static classManagedMySqlDatabaseGeneralReplicationInformation.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll 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- 
builderpublic static ManagedMySqlDatabaseGeneralReplicationInformation.Builder builder() Create a new builder.
 - 
toBuilderpublic ManagedMySqlDatabaseGeneralReplicationInformation.Builder toBuilder() 
 - 
getInstanceTypepublic 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
 
 - 
getHostNamepublic String getHostName() This server’s host name.- Returns:
- the value
 
 - 
getPortpublic Integer getPort() The number of the port on which the server listens for TCP/IP connections.- Returns:
- the value
 
 - 
getServerIdpublic Long getServerId() This server’s ID.- Returns:
- the value
 
 - 
getServerUuidpublic String getServerUuid() This server’s Universally Unique Identifier (UUID).- Returns:
- the value
 
 - 
getSecondsBehindSourceMaxpublic 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
 
 - 
getFetchStatusSummarypublic String getFetchStatusSummary() A summary of the current status of fetch operations.- Returns:
- the value
 
 - 
getApplyStatusSummarypublic String getApplyStatusSummary() A summary of the current status of apply operations.- Returns:
- the value
 
 - 
getIsHighAvailabilityEnabledpublic Boolean getIsHighAvailabilityEnabled() Specifies if high availability is enabled on this server.- Returns:
- the value
 
 - 
getHighAvailabilityMemberStatepublic String getHighAvailabilityMemberState() The state of this server as a group replication member.- Returns:
- the value
 
 - 
getInboundReplicationsCountpublic Integer getInboundReplicationsCount() The number of sources this server is replicating from.- Returns:
- the value
 
 - 
getReadOnlypublic 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
 
 - 
getGtidModepublic String getGtidMode() The Global Transaction Identifier (GTID) mode of this server.- Returns:
- the value
 
 - 
getExecutedGtidSetpublic String getExecutedGtidSet() The set of global transaction identifiers for transactions that have been executed on this source server.- Returns:
- the value
 
 - 
getBinaryLoggingpublic String getBinaryLogging() The status of binary logging on this server.- Returns:
- the value
 
 - 
getBinaryLogFormatpublic String getBinaryLogFormat() The binary logging format used by this server.- Returns:
- the value
 
 - 
getOutboundReplicationsCountpublic Integer getOutboundReplicationsCount() The number of replicas replicating from this server.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-