Interface InstanceBlockDeviceMapping.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<InstanceBlockDeviceMapping.Builder,,- InstanceBlockDeviceMapping> - SdkBuilder<InstanceBlockDeviceMapping.Builder,,- InstanceBlockDeviceMapping> - SdkPojo
- Enclosing class:
- InstanceBlockDeviceMapping
@Mutable
@NotThreadSafe
public static interface InstanceBlockDeviceMapping.Builder
extends SdkPojo, CopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping> 
- 
Method SummaryModifier and TypeMethodDescriptiondeviceName(String deviceName) The device to which these mappings apply.Use to manage Amazon EBS-specific configuration for this mapping.Use to manage Amazon EBS-specific configuration for this mapping.Use to remove a mapping from the base image.virtualName(String virtualName) Use to manage instance ephemeral devices.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
deviceNameThe 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.
 
- 
ebsUse 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.
 
- 
ebsdefault 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 on- EbsInstanceBlockDeviceSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
virtualNameUse 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.
 
- 
noDeviceUse 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.
 
 
-