Class 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 the ManagedMySqlDatabaseGeneralReplicationInformation.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 the ManagedMySqlDatabaseGeneralReplicationInformation.Builder, which maintain a set of all explicitly set fields called ManagedMySqlDatabaseGeneralReplicationInformation.Builder.__explicitlySet__. The hashCode() and equals(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).
    • 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

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel