Package com.oracle.bmc.mysql.model
Class DbSystemStatusResult
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mysql.model.DbSystemStatusResult
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class DbSystemStatusResult extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe status collected from the DB System.
Note: Objects should always be created or deserialized using theDbSystemStatusResult.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 theDbSystemStatusResult.Builder, which maintain a set of all explicitly set fields calledDbSystemStatusResult.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 Summary
Nested Classes Modifier and Type Class Description static classDbSystemStatusResult.Builder
-
Constructor Summary
Constructors Constructor Description DbSystemStatusResult(Boolean canAcceptClientConnections, Boolean isInOfflineMode, Boolean isWritable, Boolean areAllMysqlInstancesHealthy, Boolean isStorageFull, String gtidSet, Boolean isGtidSetApplied, List<ChannelStatusResult> channelsStatus)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbSystemStatusResult.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetAreAllMysqlInstancesHealthy()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.BooleangetCanAcceptClientConnections()Specifies if the Read/Write endpoint of the DB System can accept client connections.List<ChannelStatusResult>getChannelsStatus()A list showing the status of the channels attached to the DB System for the requested channel IDs.StringgetGtidSet()The GTID set on the DB System (either GTID_EXECUTED or GTID_AVAILABLE) as specified by the gtidSetType parameter in the request.BooleangetIsGtidSetApplied()Specifies if the GTID set in the gtidSetToApply parameter (if provided in the request) is fully applied on the DB System.BooleangetIsInOfflineMode()Specifies if the DB System is in offline mode based on the value of the MySQL system variable offline_mode.BooleangetIsStorageFull()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).BooleangetIsWritable()Specifies if connected users can run write queries on the DB System.inthashCode()DbSystemStatusResult.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DbSystemStatusResult
@Deprecated @ConstructorProperties({"canAcceptClientConnections","isInOfflineMode","isWritable","areAllMysqlInstancesHealthy","isStorageFull","gtidSet","isGtidSetApplied","channelsStatus"}) public DbSystemStatusResult(Boolean canAcceptClientConnections, Boolean isInOfflineMode, Boolean isWritable, Boolean areAllMysqlInstancesHealthy, Boolean isStorageFull, String gtidSet, Boolean isGtidSetApplied, List<ChannelStatusResult> channelsStatus)
Deprecated.
-
-
Method Detail
-
builder
public static DbSystemStatusResult.Builder builder()
Create a new builder.
-
toBuilder
public DbSystemStatusResult.Builder toBuilder()
-
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:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-