Class CfnDBInstance.AdditionalStorageVolumeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBInstance.AdditionalStorageVolumeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBInstance.AdditionalStorageVolumeProperty>
- Enclosing interface:
CfnDBInstance.AdditionalStorageVolumeProperty
@Stability(Stable)
public static final class CfnDBInstance.AdditionalStorageVolumeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBInstance.AdditionalStorageVolumeProperty>
A builder for
CfnDBInstance.AdditionalStorageVolumeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage(String allocatedStorage) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getAllocatedStorage()build()Builds the configured instance.Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getIops()maxAllocatedStorage(Number maxAllocatedStorage) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getMaxAllocatedStorage()storageThroughput(Number storageThroughput) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getStorageThroughput()storageType(String storageType) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getStorageType()volumeName(String volumeName) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getVolumeName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allocatedStorage
@Stability(Stable) public CfnDBInstance.AdditionalStorageVolumeProperty.Builder allocatedStorage(String allocatedStorage) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getAllocatedStorage()- Parameters:
allocatedStorage- The amount of storage allocated for the additional storage volume, in gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 TiB).- Returns:
this
-
iops
Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getIops()- Parameters:
iops- The number of I/O operations per second (IOPS) provisioned for the additional storage volume.- Returns:
this
-
maxAllocatedStorage
@Stability(Stable) public CfnDBInstance.AdditionalStorageVolumeProperty.Builder maxAllocatedStorage(Number maxAllocatedStorage) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getMaxAllocatedStorage()- Parameters:
maxAllocatedStorage- The upper limit in gibibytes (GiB) to which RDS can automatically scale the storage of the additional storage volume.- Returns:
this
-
storageThroughput
@Stability(Stable) public CfnDBInstance.AdditionalStorageVolumeProperty.Builder storageThroughput(Number storageThroughput) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getStorageThroughput()- Parameters:
storageThroughput- The storage throughput value for the additional storage volume, in mebibytes per second (MiBps). This setting applies only to the General Purpose SSD gp3 storage type.- Returns:
this
-
storageType
@Stability(Stable) public CfnDBInstance.AdditionalStorageVolumeProperty.Builder storageType(String storageType) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getStorageType()- Parameters:
storageType- The storage type for the additional storage volume.- Returns:
this
-
volumeName
@Stability(Stable) public CfnDBInstance.AdditionalStorageVolumeProperty.Builder volumeName(String volumeName) Sets the value ofCfnDBInstance.AdditionalStorageVolumeProperty.getVolumeName()- Parameters:
volumeName- The name of the additional storage volume.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBInstance.AdditionalStorageVolumeProperty>- Returns:
- a new instance of
CfnDBInstance.AdditionalStorageVolumeProperty - Throws:
NullPointerException- if any required attribute was not provided
-