Class LaunchTemplateBlockDeviceMappingsEbs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateBlockDeviceMappingsEbs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateBlockDeviceMappingsEbs>
- Enclosing interface:
- LaunchTemplateBlockDeviceMappingsEbs
@Stability(Stable) public static final class LaunchTemplateBlockDeviceMappingsEbs.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateBlockDeviceMappingsEbs>
A builder forLaunchTemplateBlockDeviceMappingsEbs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
deleteOnTermination
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder deleteOnTermination(String deleteOnTermination)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getDeleteOnTermination()- Parameters:
deleteOnTermination- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#delete_on_termination LaunchTemplate#delete_on_termination}.- Returns:
this
-
encrypted
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder encrypted(String encrypted)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getEncrypted()- Parameters:
encrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#encrypted LaunchTemplate#encrypted}.- Returns:
this
-
iops
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder iops(Number iops)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getIops()- Parameters:
iops- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#iops LaunchTemplate#iops}.- Returns:
this
-
kmsKeyId
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder kmsKeyId(String kmsKeyId)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getKmsKeyId()- Parameters:
kmsKeyId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#kms_key_id LaunchTemplate#kms_key_id}.- Returns:
this
-
snapshotId
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder snapshotId(String snapshotId)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getSnapshotId()- Parameters:
snapshotId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#snapshot_id LaunchTemplate#snapshot_id}.- Returns:
this
-
throughput
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder throughput(Number throughput)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getThroughput()- Parameters:
throughput- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#throughput LaunchTemplate#throughput}.- Returns:
this
-
volumeSize
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder volumeSize(Number volumeSize)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getVolumeSize()- Parameters:
volumeSize- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#volume_size LaunchTemplate#volume_size}.- Returns:
this
-
volumeType
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs.Builder volumeType(String volumeType)
Sets the value ofLaunchTemplateBlockDeviceMappingsEbs.getVolumeType()- Parameters:
volumeType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#volume_type LaunchTemplate#volume_type}.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateBlockDeviceMappingsEbs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateBlockDeviceMappingsEbs>- Returns:
- a new instance of
LaunchTemplateBlockDeviceMappingsEbs - Throws:
NullPointerException- if any required attribute was not provided
-
-