Interface LaunchTemplateBlockDeviceMapping.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>
,SdkBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>
,SdkPojo
- Enclosing class:
- LaunchTemplateBlockDeviceMapping
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.Builder
deviceName(String deviceName)
The device name.default LaunchTemplateBlockDeviceMapping.Builder
ebs(Consumer<LaunchTemplateEbsBlockDevice.Builder> ebs)
Information about the block device for an EBS volume.LaunchTemplateBlockDeviceMapping.Builder
ebs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.LaunchTemplateBlockDeviceMapping.Builder
noDevice(String noDevice)
To omit the device from the block device mapping, specify an empty string.LaunchTemplateBlockDeviceMapping.Builder
virtualName(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
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.Builder
avoiding the need to create one manually viaLaunchTemplateEbsBlockDevice.builder()
.When the
Consumer
completes,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.
-
-