public static interface InstanceBlockDeviceMapping.Builder extends SdkPojo, CopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>
| Modifier and Type | Method and Description |
|---|---|
InstanceBlockDeviceMapping.Builder |
deviceName(String deviceName)
The device to which these mappings apply.
|
default InstanceBlockDeviceMapping.Builder |
ebs(Consumer<EbsInstanceBlockDeviceSpecification.Builder> ebs)
Use to manage Amazon EBS-specific configuration for this mapping.
|
InstanceBlockDeviceMapping.Builder |
ebs(EbsInstanceBlockDeviceSpecification ebs)
Use to manage Amazon EBS-specific configuration for this mapping.
|
InstanceBlockDeviceMapping.Builder |
noDevice(String noDevice)
Use to remove a mapping from the base image.
|
InstanceBlockDeviceMapping.Builder |
virtualName(String virtualName)
Use to manage instance ephemeral devices.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceBlockDeviceMapping.Builder deviceName(String deviceName)
The device to which these mappings apply.
deviceName - The device to which these mappings apply.InstanceBlockDeviceMapping.Builder ebs(EbsInstanceBlockDeviceSpecification ebs)
Use to manage Amazon EBS-specific configuration for this mapping.
ebs - Use to manage Amazon EBS-specific configuration for this mapping.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.Builder avoiding the need to create one manually via
EbsInstanceBlockDeviceSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to ebs(EbsInstanceBlockDeviceSpecification).ebs - a consumer that will call methods on EbsInstanceBlockDeviceSpecification.Builderebs(EbsInstanceBlockDeviceSpecification)InstanceBlockDeviceMapping.Builder virtualName(String virtualName)
Use to manage instance ephemeral devices.
virtualName - Use to manage instance ephemeral devices.InstanceBlockDeviceMapping.Builder noDevice(String noDevice)
Use to remove a mapping from the base image.
noDevice - Use to remove a mapping from the base image.Copyright © 2022. All rights reserved.