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 device to which these mappings apply.default InstanceBlockDeviceMapping.Builderebs(Consumer<EbsInstanceBlockDeviceSpecification.Builder> ebs)Use to manage Amazon EBS-specific configuration for this mapping.InstanceBlockDeviceMapping.Builderebs(EbsInstanceBlockDeviceSpecification ebs)Use to manage Amazon EBS-specific configuration for this mapping.InstanceBlockDeviceMapping.BuildernoDevice(String noDevice)Use to remove a mapping from the base image.InstanceBlockDeviceMapping.BuildervirtualName(String virtualName)Use to manage instance ephemeral devices.-
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 device to which these mappings apply.
- Parameters:
deviceName- The device to which these mappings apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
InstanceBlockDeviceMapping.Builder ebs(EbsInstanceBlockDeviceSpecification ebs)
Use to manage Amazon EBS-specific configuration for this mapping.
- Parameters:
ebs- Use to manage Amazon EBS-specific configuration for this mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebs
default InstanceBlockDeviceMapping.Builder ebs(Consumer<EbsInstanceBlockDeviceSpecification.Builder> ebs)
Use to manage Amazon EBS-specific configuration for this mapping.
This is a convenience method that creates an instance of theEbsInstanceBlockDeviceSpecification.Builderavoiding the need to create one manually viaEbsInstanceBlockDeviceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebs(EbsInstanceBlockDeviceSpecification).- Parameters:
ebs- a consumer that will call methods onEbsInstanceBlockDeviceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ebs(EbsInstanceBlockDeviceSpecification)
-
virtualName
InstanceBlockDeviceMapping.Builder virtualName(String virtualName)
Use to manage instance ephemeral devices.
- Parameters:
virtualName- Use to manage instance ephemeral devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noDevice
InstanceBlockDeviceMapping.Builder noDevice(String noDevice)
Use to remove a mapping from the base image.
- Parameters:
noDevice- Use to remove a mapping from the base image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-