Interface BlockDeviceMappingResponse.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<BlockDeviceMappingResponse.Builder,BlockDeviceMappingResponse>
,SdkBuilder<BlockDeviceMappingResponse.Builder,BlockDeviceMappingResponse>
,SdkPojo
- Enclosing class:
- BlockDeviceMappingResponse
public static interface BlockDeviceMappingResponse.Builder extends SdkPojo, CopyableBuilder<BlockDeviceMappingResponse.Builder,BlockDeviceMappingResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BlockDeviceMappingResponse.Builder
deviceName(String deviceName)
The device name (for example,/dev/sdh
orxvdh
).default BlockDeviceMappingResponse.Builder
ebs(Consumer<EbsBlockDeviceResponse.Builder> ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.BlockDeviceMappingResponse.Builder
ebs(EbsBlockDeviceResponse ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.BlockDeviceMappingResponse.Builder
noDevice(String noDevice)
Suppresses the specified device included in the block device mapping.BlockDeviceMappingResponse.Builder
virtualName(String virtualName)
The virtual device name.-
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
BlockDeviceMappingResponse.Builder deviceName(String deviceName)
The device name (for example,
/dev/sdh
orxvdh
).- Parameters:
deviceName
- The device name (for example,/dev/sdh
orxvdh
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualName
BlockDeviceMappingResponse.Builder virtualName(String virtualName)
The virtual device name.
- Parameters:
virtualName
- The virtual device name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
BlockDeviceMappingResponse.Builder ebs(EbsBlockDeviceResponse ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.
- Parameters:
ebs
- Parameters used to automatically set up EBS volumes when the instance is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
default BlockDeviceMappingResponse.Builder ebs(Consumer<EbsBlockDeviceResponse.Builder> ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.
This is a convenience method that creates an instance of theEbsBlockDeviceResponse.Builder
avoiding the need to create one manually viaEbsBlockDeviceResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebs(EbsBlockDeviceResponse)
.- Parameters:
ebs
- a consumer that will call methods onEbsBlockDeviceResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ebs(EbsBlockDeviceResponse)
-
noDevice
BlockDeviceMappingResponse.Builder noDevice(String noDevice)
Suppresses the specified device included in the block device mapping.
- Parameters:
noDevice
- Suppresses the specified device included in the block device mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-