Interface LaunchTemplateBlockDeviceMapping.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>,SdkBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>,SdkPojo
- Enclosing class:
- LaunchTemplateBlockDeviceMapping
@Mutable @NotThreadSafe public static interface LaunchTemplateBlockDeviceMapping.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LaunchTemplateBlockDeviceMapping.BuilderdeviceName(String deviceName)The device name.default LaunchTemplateBlockDeviceMapping.Builderebs(Consumer<LaunchTemplateEbsBlockDevice.Builder> ebs)Information about the block device for an EBS volume.LaunchTemplateBlockDeviceMapping.Builderebs(LaunchTemplateEbsBlockDevice ebs)Information about the block device for an EBS volume.LaunchTemplateBlockDeviceMapping.BuildernoDevice(String noDevice)To omit the device from the block device mapping, specify an empty string.LaunchTemplateBlockDeviceMapping.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
deviceName
LaunchTemplateBlockDeviceMapping.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.
-
virtualName
LaunchTemplateBlockDeviceMapping.Builder virtualName(String virtualName)
The virtual device name (ephemeralN).
- Parameters:
virtualName- The virtual device name (ephemeralN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
LaunchTemplateBlockDeviceMapping.Builder ebs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.
- Parameters:
ebs- Information about the block device for an EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
default LaunchTemplateBlockDeviceMapping.Builder ebs(Consumer<LaunchTemplateEbsBlockDevice.Builder> ebs)
Information about the block device for an EBS volume.
This is a convenience method that creates an instance of theLaunchTemplateEbsBlockDevice.Builderavoiding the need to create one manually viaLaunchTemplateEbsBlockDevice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebs(LaunchTemplateEbsBlockDevice).- Parameters:
ebs- a consumer that will call methods onLaunchTemplateEbsBlockDevice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ebs(LaunchTemplateEbsBlockDevice)
-
noDevice
LaunchTemplateBlockDeviceMapping.Builder noDevice(String noDevice)
To omit the device from the block device mapping, specify an empty string.
- Parameters:
noDevice- To omit the device from the block device mapping, specify an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-