public static interface InstanceBlockDeviceMapping.Builder extends SdkPojo, CopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>
| Modifier and Type | Method and Description |
|---|---|
InstanceBlockDeviceMapping.Builder |
deviceName(String deviceName)
The block device name.
|
default InstanceBlockDeviceMapping.Builder |
ebs(Consumer<EbsInstanceBlockDevice.Builder> ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance
is launched.
|
InstanceBlockDeviceMapping.Builder |
ebs(EbsInstanceBlockDevice ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance
is launched.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceBlockDeviceMapping.Builder deviceName(String deviceName)
The block device name.
deviceName - The block device name.InstanceBlockDeviceMapping.Builder ebs(EbsInstanceBlockDevice ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.
ebs - The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the
instance is launched.default InstanceBlockDeviceMapping.Builder ebs(Consumer<EbsInstanceBlockDevice.Builder> ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.
This is a convenience method that creates an instance of theEbsInstanceBlockDevice.Builder avoiding
the need to create one manually via EbsInstanceBlockDevice.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to ebs(EbsInstanceBlockDevice).
ebs - a consumer that will call methods on EbsInstanceBlockDevice.Builderebs(EbsInstanceBlockDevice)Copyright © 2023. All rights reserved.