Class DataStorageDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.DataStorageDetails.Builder
-
- Enclosing class:
- DataStorageDetails
public static class DataStorageDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStorageDetails
build()
DataStorageDetails.Builder
copy(DataStorageDetails model)
DataStorageDetails.Builder
isAutoExpandStorageEnabled(Boolean isAutoExpandStorageEnabled)
Enable/disable automatic storage expansion.DataStorageDetails.Builder
maxStorageSizeInGBs(Integer maxStorageSizeInGBs)
Maximum storage size this DB System can expand to.
-
-
-
Method Detail
-
isAutoExpandStorageEnabled
public DataStorageDetails.Builder isAutoExpandStorageEnabled(Boolean isAutoExpandStorageEnabled)
Enable/disable automatic storage expansion.When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.
- Parameters:
isAutoExpandStorageEnabled
- the value to set- Returns:
- this builder
-
maxStorageSizeInGBs
public DataStorageDetails.Builder maxStorageSizeInGBs(Integer maxStorageSizeInGBs)
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.
- Parameters:
maxStorageSizeInGBs
- the value to set- Returns:
- this builder
-
build
public DataStorageDetails build()
-
copy
public DataStorageDetails.Builder copy(DataStorageDetails model)
-
-