Class LaunchConfigurationRootBlockDevice.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_configuration.LaunchConfigurationRootBlockDevice.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchConfigurationRootBlockDevice>
- Enclosing interface:
- LaunchConfigurationRootBlockDevice
@Stability(Stable) public static final class LaunchConfigurationRootBlockDevice.Builder extends Object implements software.amazon.jsii.Builder<LaunchConfigurationRootBlockDevice>
A builder forLaunchConfigurationRootBlockDevice
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
deleteOnTermination
@Stability(Stable) public LaunchConfigurationRootBlockDevice.Builder deleteOnTermination(Boolean deleteOnTermination)
Sets the value ofLaunchConfigurationRootBlockDevice.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 LaunchConfigurationRootBlockDevice.Builder deleteOnTermination(com.hashicorp.cdktf.IResolvable deleteOnTermination)
Sets the value ofLaunchConfigurationRootBlockDevice.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 LaunchConfigurationRootBlockDevice.Builder encrypted(Boolean encrypted)
Sets the value ofLaunchConfigurationRootBlockDevice.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 LaunchConfigurationRootBlockDevice.Builder encrypted(com.hashicorp.cdktf.IResolvable encrypted)
Sets the value ofLaunchConfigurationRootBlockDevice.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 LaunchConfigurationRootBlockDevice.Builder iops(Number iops)
Sets the value ofLaunchConfigurationRootBlockDevice.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
-
throughput
@Stability(Stable) public LaunchConfigurationRootBlockDevice.Builder throughput(Number throughput)
Sets the value ofLaunchConfigurationRootBlockDevice.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 LaunchConfigurationRootBlockDevice.Builder volumeSize(Number volumeSize)
Sets the value ofLaunchConfigurationRootBlockDevice.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 LaunchConfigurationRootBlockDevice.Builder volumeType(String volumeType)
Sets the value ofLaunchConfigurationRootBlockDevice.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 LaunchConfigurationRootBlockDevice build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchConfigurationRootBlockDevice>- Returns:
- a new instance of
LaunchConfigurationRootBlockDevice - Throws:
NullPointerException- if any required attribute was not provided
-
-