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