Class DbSystemStatusResult


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

      • getCanAcceptClientConnections

        public Boolean getCanAcceptClientConnections()
        Specifies if the Read/Write endpoint of the DB System can accept client connections.
        Returns:
        the value
      • getIsInOfflineMode

        public Boolean getIsInOfflineMode()
        Specifies if the DB System is in offline mode based on the value of the MySQL system variable offline_mode.

        If True, access is allowed only to users with specific privileges. If False, access is allowed for all MySQL user accounts.

        Returns:
        the value
      • getIsWritable

        public Boolean getIsWritable()
        Specifies if connected users can run write queries on the DB System.
        Returns:
        the value
      • getAreAllMysqlInstancesHealthy

        public Boolean getAreAllMysqlInstancesHealthy()
        Specifies if the single MySQL instance in a standalone DB System or all MySQL instances in a highly available DB System (excluding read replicas) are healthy.
        Returns:
        the value
      • getIsStorageFull

        public Boolean getIsStorageFull()
        Specifies if there is any MySQL instance (excluding read replicas) whose storage capacity is below [storage reserve] (https://docs.oracle.com/en-us/iaas/mysql-database/doc/health-monitor.html#GUID-C6CE25C7-B728-4C80-B548-A76B42005C83.html).
        Returns:
        the value
      • getGtidSet

        public String getGtidSet()
        The GTID set on the DB System (either GTID_EXECUTED or GTID_AVAILABLE) as specified by the gtidSetType parameter in the request.
        Returns:
        the value
      • getIsGtidSetApplied

        public Boolean getIsGtidSetApplied()
        Specifies if the GTID set in the gtidSetToApply parameter (if provided in the request) is fully applied on the DB System.

        If gtidSetToApply is not provided in the request or is "", this field will be empty.

        Returns:
        the value
      • getChannelsStatus

        public List<ChannelStatusResult> getChannelsStatus()
        A list showing the status of the channels attached to the DB System for the requested channel IDs.
        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