public static final class CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder deleteOnTermination(java.lang.Boolean deleteOnTermination)
CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.getDeleteOnTermination()
deleteOnTermination
- Use to configure delete on termination of the associated device.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder deleteOnTermination(IResolvable deleteOnTermination)
CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.getDeleteOnTermination()
deleteOnTermination
- Use to configure delete on termination of the associated device.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder encrypted(java.lang.Boolean encrypted)
encrypted
- Use to configure device encryption.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder encrypted(IResolvable encrypted)
encrypted
- Use to configure device encryption.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder iops(java.lang.Number iops)
CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.getIops()
iops
- Use to configure device IOPS.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder kmsKeyId(java.lang.String kmsKeyId)
kmsKeyId
- Use to configure the KMS key to use when encrypting the device.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder snapshotId(java.lang.String snapshotId)
snapshotId
- The snapshot that defines the device contents.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder throughput(java.lang.Number throughput)
throughput
- *For GP3 volumes only* – The throughput in MiB/s that the volume supports.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder volumeSize(java.lang.Number volumeSize)
volumeSize
- Use to override the device's volume size.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder volumeType(java.lang.String volumeType)
volumeType
- Use to override the device's volume type.this
public CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty build()
CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided