Class CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty>
- Enclosing interface:
CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty
@Stability(Stable)
public static final class CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deviceName(String deviceName) Sets the value ofCfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.getEbs()ebs(IResolvable ebs) Sets the value ofCfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.getEbs()virtualName(String virtualName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceName
@Stability(Stable) public CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder deviceName(String deviceName) - Parameters:
deviceName- The device to which these mappings apply.- Returns:
this
-
ebs
@Stability(Stable) public CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder ebs(IResolvable ebs) Sets the value ofCfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.getEbs()- Parameters:
ebs- Use to manage Amazon EBS-specific configuration for this mapping.- Returns:
this
-
ebs
@Stability(Stable) public CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder ebs(CfnContainerRecipePropsMixin.EbsInstanceBlockDeviceSpecificationProperty ebs) Sets the value ofCfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.getEbs()- Parameters:
ebs- Use to manage Amazon EBS-specific configuration for this mapping.- Returns:
this
-
noDevice
@Stability(Stable) public CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder noDevice(String noDevice) - Parameters:
noDevice- Use to remove a mapping from the base image.- Returns:
this
-
virtualName
@Stability(Stable) public CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty.Builder virtualName(String virtualName) - Parameters:
virtualName- Use to manage instance ephemeral devices.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty>- Returns:
- a new instance of
CfnContainerRecipePropsMixin.InstanceBlockDeviceMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-