Class DataStorageDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.mysql.model.DataStorageDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class DataStorageDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelData Storage configuration properties.
 Note: Objects should always be created or deserialized using theDataStorageDetails.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 theDataStorageDetails.Builder, which maintain a set of all explicitly set fields calledDataStorageDetails.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 SummaryNested Classes Modifier and Type Class Description static classDataStorageDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description DataStorageDetails(Boolean isAutoExpandStorageEnabled, Integer maxStorageSizeInGBs)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataStorageDetails.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsAutoExpandStorageEnabled()Enable/disable automatic storage expansion.IntegergetMaxStorageSizeInGBs()Maximum storage size this DB System can expand to.inthashCode()DataStorageDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DataStorageDetails@Deprecated @ConstructorProperties({"isAutoExpandStorageEnabled","maxStorageSizeInGBs"}) public DataStorageDetails(Boolean isAutoExpandStorageEnabled, Integer maxStorageSizeInGBs) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DataStorageDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic DataStorageDetails.Builder toBuilder() 
 - 
getIsAutoExpandStorageEnabledpublic Boolean getIsAutoExpandStorageEnabled() Enable/disable automatic storage expansion.When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs. - Returns:
- the value
 
 - 
getMaxStorageSizeInGBspublic Integer getMaxStorageSizeInGBs() Maximum storage size this DB System can expand to.When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value. DB Systems with an initial storage size of 400 GB or less can be expanded up to 32 TB. DB Systems with an initial storage size between 401-800 GB can be expanded up to 64 TB. DB Systems with an initial storage size between 801-1200 GB can be expanded up to 96 TB. DB Systems with an initial storage size of 1201 GB or more can be expanded up to 128 TB. It is not possible to decrease data storage size. You cannot set the maximum data storage size to less than either current DB System dataStorageSizeInGBs or allocatedStorageSizeInGBs. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-