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