public static final class CfnImageRecipe.InstanceBlockDeviceMappingProperty.Builder
extends java.lang.Object
CfnImageRecipe.InstanceBlockDeviceMappingProperty
Constructor and Description |
---|
Builder() |
public CfnImageRecipe.InstanceBlockDeviceMappingProperty.Builder deviceName(java.lang.String deviceName)
CfnImageRecipe.InstanceBlockDeviceMappingProperty.getDeviceName()
deviceName
- The device to which these mappings apply.this
public CfnImageRecipe.InstanceBlockDeviceMappingProperty.Builder ebs(IResolvable ebs)
CfnImageRecipe.InstanceBlockDeviceMappingProperty.getEbs()
ebs
- Use to manage Amazon EBS-specific configuration for this mapping.this
public CfnImageRecipe.InstanceBlockDeviceMappingProperty.Builder ebs(CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty ebs)
CfnImageRecipe.InstanceBlockDeviceMappingProperty.getEbs()
ebs
- Use to manage Amazon EBS-specific configuration for this mapping.this
public CfnImageRecipe.InstanceBlockDeviceMappingProperty.Builder noDevice(java.lang.String noDevice)
CfnImageRecipe.InstanceBlockDeviceMappingProperty.getNoDevice()
noDevice
- Enter an empty string to remove a mapping from the parent image.
The following is an example of an empty string value in the NoDevice
field.
NoDevice:""
this
public CfnImageRecipe.InstanceBlockDeviceMappingProperty.Builder virtualName(java.lang.String virtualName)
CfnImageRecipe.InstanceBlockDeviceMappingProperty.getVirtualName()
virtualName
- Manages the instance ephemeral devices.this
public CfnImageRecipe.InstanceBlockDeviceMappingProperty build()
CfnImageRecipe.InstanceBlockDeviceMappingProperty
java.lang.NullPointerException
- if any required attribute was not provided