public static class DataStorage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataStorage.Builder |
allocatedStorageSizeInGBs(Integer allocatedStorageSizeInGBs)
The actual allocated storage size for the DB System.
|
DataStorage |
build() |
DataStorage.Builder |
copy(DataStorage model) |
DataStorage.Builder |
dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
User specified size of the data volume.
|
DataStorage.Builder |
dataStorageSizeLimitInGBs(Integer dataStorageSizeLimitInGBs)
The absolute limit the DB System’s storage size may ever expand to, either manually or
automatically.
|
DataStorage.Builder |
isAutoExpandStorageEnabled(Boolean isAutoExpandStorageEnabled)
Enable/disable automatic storage expansion.
|
DataStorage.Builder |
maxStorageSizeInGBs(Integer maxStorageSizeInGBs)
Maximum storage size this DB System can expand to.
|
public 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.
allocatedStorageSizeInGBs
- the value to setpublic DataStorage.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
User specified size of the data volume. May be less than current allocatedStorageSizeInGBs.
dataStorageSizeInGBs
- the value to setpublic 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.
dataStorageSizeLimitInGBs
- the value to setpublic 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.
isAutoExpandStorageEnabled
- the value to setpublic 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.
maxStorageSizeInGBs
- the value to setpublic DataStorage build()
public DataStorage.Builder copy(DataStorage model)
Copyright © 2016–2024. All rights reserved.