Interface AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder,AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails>,SdkBuilder<AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder,AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails>,SdkPojo
- Enclosing class:
- AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails
public static interface AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder,AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.BuilderdeviceName(String deviceName)The device name.default AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builderebs(Consumer<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder> ebs)Parameters used to automatically set up Amazon EBS volumes when the instance is launched.AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builderebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails ebs)Parameters used to automatically set up Amazon EBS volumes when the instance is launched.AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.BuildernoDevice(String noDevice)Omits the device from the block device mapping when an empty string is specified.AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.BuildervirtualName(String virtualName)The virtual device name (ephemeralN).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
deviceName
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder deviceName(String deviceName)
The device name.
- Parameters:
deviceName- The device name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder ebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails ebs)
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
- Parameters:
ebs- Parameters used to automatically set up Amazon EBS volumes when the instance is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
default AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder ebs(Consumer<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder> ebs)
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builderavoiding the need to create one manually viaAwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails).- Parameters:
ebs- a consumer that will call methods onAwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails)
-
noDevice
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder noDevice(String noDevice)
Omits the device from the block device mapping when an empty string is specified.
- Parameters:
noDevice- Omits the device from the block device mapping when an empty string is specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualName
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder virtualName(String virtualName)
The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for
ephemeral0andephemeral1. The number of available instance store volumes depends on the instance type.- Parameters:
virtualName- The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings forephemeral0andephemeral1. The number of available instance store volumes depends on the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-