Class DataStorage.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.DataStorage.Builder
 
- 
- Enclosing class:
- DataStorage
 
 public static class DataStorage.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStorage.BuilderallocatedStorageSizeInGBs(Integer allocatedStorageSizeInGBs)The actual allocated storage size for the DB System.DataStoragebuild()DataStorage.Buildercopy(DataStorage model)DataStorage.BuilderdataStorageSizeInGBs(Integer dataStorageSizeInGBs)User specified size of the data volume.DataStorage.BuilderdataStorageSizeLimitInGBs(Integer dataStorageSizeLimitInGBs)The absolute limit the DB System’s storage size may ever expand to, either manually or automatically.DataStorage.BuilderisAutoExpandStorageEnabled(Boolean isAutoExpandStorageEnabled)Enable/disable automatic storage expansion.DataStorage.BuildermaxStorageSizeInGBs(Integer maxStorageSizeInGBs)Maximum storage size this DB System can expand to.
 
- 
- 
- 
Method Detail- 
allocatedStorageSizeInGBspublic DataStorage.Builder allocatedStorageSizeInGBs(Integer allocatedStorageSizeInGBs) The actual allocated storage size for the DB System.This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. - Parameters:
- allocatedStorageSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
dataStorageSizeInGBspublic DataStorage.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs) User specified size of the data volume.May be less than current allocatedStorageSizeInGBs. - Parameters:
- dataStorageSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
dataStorageSizeLimitInGBspublic DataStorage.Builder dataStorageSizeLimitInGBs(Integer dataStorageSizeLimitInGBs) The absolute limit the DB System’s storage size may ever expand to, either manually or automatically.This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed 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. - Parameters:
- dataStorageSizeLimitInGBs- the value to set
- Returns:
- this builder
 
 - 
isAutoExpandStorageEnabledpublic DataStorage.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
 
 - 
maxStorageSizeInGBspublic DataStorage.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
 
 - 
buildpublic DataStorage build() 
 - 
copypublic DataStorage.Builder copy(DataStorage model) 
 
- 
 
-