Interface InstanceBlockDeviceMapping.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>,SdkBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>,SdkPojo
- Enclosing class:
- InstanceBlockDeviceMapping
public static interface InstanceBlockDeviceMapping.Builder extends SdkPojo, CopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InstanceBlockDeviceMapping.BuilderdeviceName(String deviceName)The block device name.default InstanceBlockDeviceMapping.Builderebs(Consumer<EbsInstanceBlockDevice.Builder> ebs)The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.InstanceBlockDeviceMapping.Builderebs(EbsInstanceBlockDevice ebs)The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.-
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
InstanceBlockDeviceMapping.Builder deviceName(String deviceName)
The block device name.
- Parameters:
deviceName- The block device name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
InstanceBlockDeviceMapping.Builder ebs(EbsInstanceBlockDevice ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.
- Parameters:
ebs- The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
default InstanceBlockDeviceMapping.Builder ebs(Consumer<EbsInstanceBlockDevice.Builder> ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.
This is a convenience method that creates an instance of theEbsInstanceBlockDevice.Builderavoiding the need to create one manually viaEbsInstanceBlockDevice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebs(EbsInstanceBlockDevice).- Parameters:
ebs- a consumer that will call methods onEbsInstanceBlockDevice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ebs(EbsInstanceBlockDevice)
-
-