Class DbSystemStatusResult.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • canAcceptClientConnections

        public DbSystemStatusResult.Builder canAcceptClientConnections​(Boolean canAcceptClientConnections)
        Specifies if the Read/Write endpoint of the DB System can accept client connections.
        Parameters:
        canAcceptClientConnections - the value to set
        Returns:
        this builder
      • isInOfflineMode

        public DbSystemStatusResult.Builder isInOfflineMode​(Boolean isInOfflineMode)
        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.

        Parameters:
        isInOfflineMode - the value to set
        Returns:
        this builder
      • isWritable

        public DbSystemStatusResult.Builder isWritable​(Boolean isWritable)
        Specifies if connected users can run write queries on the DB System.
        Parameters:
        isWritable - the value to set
        Returns:
        this builder
      • areAllMysqlInstancesHealthy

        public DbSystemStatusResult.Builder areAllMysqlInstancesHealthy​(Boolean areAllMysqlInstancesHealthy)
        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.
        Parameters:
        areAllMysqlInstancesHealthy - the value to set
        Returns:
        this builder
      • isStorageFull

        public DbSystemStatusResult.Builder isStorageFull​(Boolean isStorageFull)
        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).
        Parameters:
        isStorageFull - the value to set
        Returns:
        this builder
      • gtidSet

        public DbSystemStatusResult.Builder gtidSet​(String gtidSet)
        The GTID set on the DB System (either GTID_EXECUTED or GTID_AVAILABLE) as specified by the gtidSetType parameter in the request.
        Parameters:
        gtidSet - the value to set
        Returns:
        this builder
      • isGtidSetApplied

        public DbSystemStatusResult.Builder isGtidSetApplied​(Boolean isGtidSetApplied)
        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.

        Parameters:
        isGtidSetApplied - the value to set
        Returns:
        this builder
      • channelsStatus

        public DbSystemStatusResult.Builder channelsStatus​(List<ChannelStatusResult> channelsStatus)
        A list showing the status of the channels attached to the DB System for the requested channel IDs.
        Parameters:
        channelsStatus - the value to set
        Returns:
        this builder