Class CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty>
- Enclosing interface:
CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty
@Stability(Stable)
public static final class CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deleteOnTermination(Boolean deleteOnTermination) deleteOnTermination(IResolvable deleteOnTermination) encrypted(IResolvable encrypted) snapshotId(String snapshotId) throughput(Number throughput) volumeSize(Number volumeSize) volumeType(String volumeType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deleteOnTermination
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder deleteOnTermination(Boolean deleteOnTermination) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getDeleteOnTermination()- Parameters:
deleteOnTermination- Use to configure delete on termination of the associated device.- Returns:
this
-
deleteOnTermination
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder deleteOnTermination(IResolvable deleteOnTermination) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getDeleteOnTermination()- Parameters:
deleteOnTermination- Use to configure delete on termination of the associated device.- Returns:
this
-
encrypted
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder encrypted(Boolean encrypted) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getEncrypted()- Parameters:
encrypted- Use to configure device encryption.- Returns:
this
-
encrypted
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder encrypted(IResolvable encrypted) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getEncrypted()- Parameters:
encrypted- Use to configure device encryption.- Returns:
this
-
iops
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder iops(Number iops) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getIops()- Parameters:
iops- Use to configure device IOPS.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getKmsKeyId()- Parameters:
kmsKeyId- The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .- Returns:
this
-
snapshotId
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder snapshotId(String snapshotId) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getSnapshotId()- Parameters:
snapshotId- The snapshot that defines the device contents.- Returns:
this
-
throughput
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder throughput(Number throughput) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getThroughput()- Parameters:
throughput- For GP3 volumes only – The throughput in MiB/s that the volume supports.- Returns:
this
-
volumeSize
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder volumeSize(Number volumeSize) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getVolumeSize()- Parameters:
volumeSize- Use to override the device's volume size.- Returns:
this
-
volumeType
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.Builder volumeType(String volumeType) Sets the value ofCfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty.getVolumeType()- Parameters:
volumeType- Use to override the device's volume type.- Returns:
this
-
build
@Stability(Stable) public CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty>- Returns:
- a new instance of
CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-