Class ChannelStatusResult


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190415")
    public final class ChannelStatusResult
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Status information for the channel attached to the DB System.
    Note: Objects should always be created or deserialized using the ChannelStatusResult.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 ChannelStatusResult.Builder, which maintain a set of all explicitly set fields called ChannelStatusResult.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).
    • Method Detail

      • getChannelId

        public String getChannelId()
        The OCID of the Channel for which the status is gathered.
        Returns:
        the value
      • getIsHealthy

        public Boolean getIsHealthy()
        Specifies if the channel is healthy or not.

        If healthy, replication target DB System is connected to the source and no replication errors are seen.

        Returns:
        the value
      • getIsReceivedGtidSetApplied

        public Boolean getIsReceivedGtidSetApplied()
        Specifies if all transactions received by this channel are executed and their GTIDs are part of gtid_executed set.
        Returns:
        the value
      • getErrors

        public List<String> getErrors()
        Channel errors identified, if there are any.
        Returns:
        the value
      • getLagDuration

        public String getLagDuration()
        The channel lag, with respect to the immediate source of the channel.

        If the channel is configured with replication delay, the channel lag includes the replication delay.

        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