@Stability(value=Stable) public static final class EbsDeviceSnapshotOptions.Builder extends Object implements software.amazon.jsii.Builder<EbsDeviceSnapshotOptions>
EbsDeviceSnapshotOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EbsDeviceSnapshotOptions |
build()
Builds the configured instance.
|
EbsDeviceSnapshotOptions.Builder |
deleteOnTermination(Boolean deleteOnTermination)
Sets the value of
EbsDeviceOptionsBase.getDeleteOnTermination() |
EbsDeviceSnapshotOptions.Builder |
iops(Number iops)
Sets the value of
EbsDeviceOptionsBase.getIops() |
EbsDeviceSnapshotOptions.Builder |
volumeSize(Number volumeSize)
Sets the value of
EbsDeviceSnapshotOptions.getVolumeSize() |
EbsDeviceSnapshotOptions.Builder |
volumeType(EbsDeviceVolumeType volumeType)
Sets the value of
EbsDeviceOptionsBase.getVolumeType() |
@Stability(value=Stable) public EbsDeviceSnapshotOptions.Builder volumeSize(Number volumeSize)
EbsDeviceSnapshotOptions.getVolumeSize()volumeSize - The volume size, in Gibibytes (GiB).
If you specify volumeSize, it must be equal or greater than the size of the snapshot.this@Stability(value=Stable) public EbsDeviceSnapshotOptions.Builder deleteOnTermination(Boolean deleteOnTermination)
EbsDeviceOptionsBase.getDeleteOnTermination()deleteOnTermination - Indicates whether to delete the volume when the instance is terminated.this@Stability(value=Stable) public EbsDeviceSnapshotOptions.Builder iops(Number iops)
EbsDeviceOptionsBase.getIops()iops - The number of I/O operations per second (IOPS) to provision for the volume.
Must only be set for {@link volumeType}: {@link EbsDeviceVolumeType.IO1}
The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume.
this@Stability(value=Stable) public EbsDeviceSnapshotOptions.Builder volumeType(EbsDeviceVolumeType volumeType)
EbsDeviceOptionsBase.getVolumeType()volumeType - The EBS volume type.this@Stability(value=Stable) public EbsDeviceSnapshotOptions build()
build in interface software.amazon.jsii.Builder<EbsDeviceSnapshotOptions>EbsDeviceSnapshotOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.