public static interface AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder,AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder |
deviceName(String deviceName)
The device name.
|
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder |
ebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails ebs)
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
|
default AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder |
ebs(Consumer<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder> ebs)
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
|
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder |
noDevice(String noDevice)
Omits the device from the block device mapping when an empty string is specified.
|
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder |
virtualName(String virtualName)
The virtual device name (ephemeralN).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder deviceName(String deviceName)
The device name.
deviceName - The device name.AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder ebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails ebs)
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
ebs - Parameters used to automatically set up Amazon EBS volumes when the instance is launched.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.Builder avoiding the need to create one
manually via AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to ebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails).
ebs - a consumer that will call methods on
AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builderebs(AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails)AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder noDevice(String noDevice)
Omits the device from the block device mapping when an empty string is specified.
noDevice - Omits the device from the block device mapping when an empty string is specified.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 ephemeral0 and
ephemeral1. The number of available instance store volumes depends on the instance type.
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 ephemeral0 and
ephemeral1. The number of available instance store volumes depends on the instance type.Copyright © 2023. All rights reserved.