@Stability(value=Stable) public static final class CfnLaunchTemplate.BlockDeviceMappingProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.BlockDeviceMappingProperty>
CfnLaunchTemplate.BlockDeviceMappingProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunchTemplate.BlockDeviceMappingProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.BlockDeviceMappingProperty.Builder |
deviceName(String deviceName)
Sets the value of
CfnLaunchTemplate.BlockDeviceMappingProperty.getDeviceName() |
CfnLaunchTemplate.BlockDeviceMappingProperty.Builder |
ebs(CfnLaunchTemplate.EbsProperty ebs)
Sets the value of
CfnLaunchTemplate.BlockDeviceMappingProperty.getEbs() |
CfnLaunchTemplate.BlockDeviceMappingProperty.Builder |
ebs(IResolvable ebs)
Sets the value of
CfnLaunchTemplate.BlockDeviceMappingProperty.getEbs() |
CfnLaunchTemplate.BlockDeviceMappingProperty.Builder |
noDevice(String noDevice)
Sets the value of
CfnLaunchTemplate.BlockDeviceMappingProperty.getNoDevice() |
CfnLaunchTemplate.BlockDeviceMappingProperty.Builder |
virtualName(String virtualName)
Sets the value of
CfnLaunchTemplate.BlockDeviceMappingProperty.getVirtualName() |
@Stability(value=Stable) public CfnLaunchTemplate.BlockDeviceMappingProperty.Builder deviceName(String deviceName)
CfnLaunchTemplate.BlockDeviceMappingProperty.getDeviceName()
deviceName
- `CfnLaunchTemplate.BlockDeviceMappingProperty.DeviceName`.this
@Stability(value=Stable) public CfnLaunchTemplate.BlockDeviceMappingProperty.Builder ebs(IResolvable ebs)
CfnLaunchTemplate.BlockDeviceMappingProperty.getEbs()
ebs
- `CfnLaunchTemplate.BlockDeviceMappingProperty.Ebs`.this
@Stability(value=Stable) public CfnLaunchTemplate.BlockDeviceMappingProperty.Builder ebs(CfnLaunchTemplate.EbsProperty ebs)
CfnLaunchTemplate.BlockDeviceMappingProperty.getEbs()
ebs
- `CfnLaunchTemplate.BlockDeviceMappingProperty.Ebs`.this
@Stability(value=Stable) public CfnLaunchTemplate.BlockDeviceMappingProperty.Builder noDevice(String noDevice)
CfnLaunchTemplate.BlockDeviceMappingProperty.getNoDevice()
noDevice
- `CfnLaunchTemplate.BlockDeviceMappingProperty.NoDevice`.this
@Stability(value=Stable) public CfnLaunchTemplate.BlockDeviceMappingProperty.Builder virtualName(String virtualName)
CfnLaunchTemplate.BlockDeviceMappingProperty.getVirtualName()
virtualName
- `CfnLaunchTemplate.BlockDeviceMappingProperty.VirtualName`.this
@Stability(value=Stable) public CfnLaunchTemplate.BlockDeviceMappingProperty build()
build
in interface software.amazon.jsii.Builder<CfnLaunchTemplate.BlockDeviceMappingProperty>
CfnLaunchTemplate.BlockDeviceMappingProperty
NullPointerException
- if any required attribute was not providedCopyright © 2020. All rights reserved.