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