Interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder,
,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> SdkBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder,
,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> SdkPojo
- Enclosing class:
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
-
Method Summary
Modifier and TypeMethodDescriptiondeviceName
(String deviceName) The device name that is exposed to the EC2 instance.Parameters that are used to automatically set up Amazon EBS volumes when an instance is launched.Parameters that are used to automatically set up Amazon EBS volumes when an instance is launched.Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).virtualName
(String virtualName) The name of the virtual device (for example,ephemeral0
).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 Details
-
deviceName
The device name that is exposed to the EC2 instance. For example,
/dev/sdh
orxvdh
.- Parameters:
deviceName
- The device name that is exposed to the EC2 instance. For example,/dev/sdh
orxvdh
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder ebs(AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails ebs) Parameters that are used to automatically set up Amazon EBS volumes when an instance is launched.
- Parameters:
ebs
- Parameters that are used to automatically set up Amazon EBS volumes when an instance is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
default AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder ebs(Consumer<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder> ebs) Parameters that are used to automatically set up Amazon EBS volumes when an instance is launched.
This is a convenience method that creates an instance of theAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder
avoiding the need to create one manually viaAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebs(AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails)
.- Parameters:
ebs
- a consumer that will call methods onAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noDevice
Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).
If
NoDevice
istrue
, then you cannot specifyEbs
.>- Parameters:
noDevice
- Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).If
NoDevice
istrue
, then you cannot specifyEbs
.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualName
The name of the virtual device (for example,
ephemeral0
).You can provide either
VirtualName
orEbs
, but not both.- Parameters:
virtualName
- The name of the virtual device (for example,ephemeral0
).You can provide either
VirtualName
orEbs
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-