Interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>,SdkBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>,SdkPojo
- Enclosing class:
- AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
public static interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder extends SdkPojo, CopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>
-
-
Method Summary
-
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
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder deviceName(String deviceName)
The device name that is exposed to the EC2 instance. For example,
/dev/sdhorxvdh.- Parameters:
deviceName- The device name that is exposed to the EC2 instance. For example,/dev/sdhorxvdh.- 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.Builderavoiding the need to create one manually viaAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.builder().When the
Consumercompletes,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:
ebs(AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails)
-
noDevice
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder noDevice(Boolean noDevice)
Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).
If
NoDeviceistrue, 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
NoDeviceistrue, then you cannot specifyEbs.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualName
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder virtualName(String virtualName)
The name of the virtual device (for example,
ephemeral0).You can provide either
VirtualNameorEbs, but not both.- Parameters:
virtualName- The name of the virtual device (for example,ephemeral0).You can provide either
VirtualNameorEbs, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-