Interface BlockDeviceMappingRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BlockDeviceMappingRequest.Builder,
,BlockDeviceMappingRequest> SdkBuilder<BlockDeviceMappingRequest.Builder,
,BlockDeviceMappingRequest> SdkPojo
- Enclosing class:
BlockDeviceMappingRequest
@Mutable
@NotThreadSafe
public static interface BlockDeviceMappingRequest.Builder
extends SdkPojo, CopyableBuilder<BlockDeviceMappingRequest.Builder,BlockDeviceMappingRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceName
(String deviceName) Name of the device for storage mapping.EBS volume configuration for the device.ebs
(EbsBlockDevice ebs) EBS volume configuration for the device.Indicates device should not be mapped.virtualName
(String virtualName) Virtual device name for ephemeral storage.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 Details
-
deviceName
Name of the device for storage mapping.
- Parameters:
deviceName
- Name of the device for storage mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
EBS volume configuration for the device.
- Parameters:
ebs
- EBS volume configuration for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
EBS volume configuration for the device.
This is a convenience method that creates an instance of theEbsBlockDevice.Builder
avoiding the need to create one manually viaEbsBlockDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebs(EbsBlockDevice)
.- Parameters:
ebs
- a consumer that will call methods onEbsBlockDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noDevice
Indicates device should not be mapped.
- Parameters:
noDevice
- Indicates device should not be mapped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualName
Virtual device name for ephemeral storage.
- Parameters:
virtualName
- Virtual device name for ephemeral storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-