Class LaunchTemplateBlockDeviceMappings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateBlockDeviceMappings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateBlockDeviceMappings>
- Enclosing interface:
- LaunchTemplateBlockDeviceMappings
@Stability(Stable) public static final class LaunchTemplateBlockDeviceMappings.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateBlockDeviceMappings>
A builder forLaunchTemplateBlockDeviceMappings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchTemplateBlockDeviceMappingsbuild()Builds the configured instance.LaunchTemplateBlockDeviceMappings.BuilderdeviceName(String deviceName)Sets the value ofLaunchTemplateBlockDeviceMappings.getDeviceName()LaunchTemplateBlockDeviceMappings.Builderebs(LaunchTemplateBlockDeviceMappingsEbs ebs)Sets the value ofLaunchTemplateBlockDeviceMappings.getEbs()LaunchTemplateBlockDeviceMappings.BuildernoDevice(String noDevice)Sets the value ofLaunchTemplateBlockDeviceMappings.getNoDevice()LaunchTemplateBlockDeviceMappings.BuildervirtualName(String virtualName)Sets the value ofLaunchTemplateBlockDeviceMappings.getVirtualName()
-
-
-
Method Detail
-
deviceName
@Stability(Stable) public LaunchTemplateBlockDeviceMappings.Builder deviceName(String deviceName)
Sets the value ofLaunchTemplateBlockDeviceMappings.getDeviceName()- Parameters:
deviceName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#device_name LaunchTemplate#device_name}.- Returns:
this
-
ebs
@Stability(Stable) public LaunchTemplateBlockDeviceMappings.Builder ebs(LaunchTemplateBlockDeviceMappingsEbs ebs)
Sets the value ofLaunchTemplateBlockDeviceMappings.getEbs()- Parameters:
ebs- ebs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ebs LaunchTemplate#ebs}- Returns:
this
-
noDevice
@Stability(Stable) public LaunchTemplateBlockDeviceMappings.Builder noDevice(String noDevice)
Sets the value ofLaunchTemplateBlockDeviceMappings.getNoDevice()- Parameters:
noDevice- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#no_device LaunchTemplate#no_device}.- Returns:
this
-
virtualName
@Stability(Stable) public LaunchTemplateBlockDeviceMappings.Builder virtualName(String virtualName)
Sets the value ofLaunchTemplateBlockDeviceMappings.getVirtualName()- Parameters:
virtualName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#virtual_name LaunchTemplate#virtual_name}.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateBlockDeviceMappings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateBlockDeviceMappings>- Returns:
- a new instance of
LaunchTemplateBlockDeviceMappings - Throws:
NullPointerException- if any required attribute was not provided
-
-