public static interface EbsBlockDevice.Builder extends SdkPojo, CopyableBuilder<EbsBlockDevice.Builder,EbsBlockDevice>
Modifier and Type | Method and Description |
---|---|
EbsBlockDevice.Builder |
device(String device)
The device name that is exposed to the instance, such as /dev/sdh.
|
default EbsBlockDevice.Builder |
volumeSpecification(Consumer<VolumeSpecification.Builder> volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume
attached to an EC2 instance in the cluster.
|
EbsBlockDevice.Builder |
volumeSpecification(VolumeSpecification volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume
attached to an EC2 instance in the cluster.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
EbsBlockDevice.Builder volumeSpecification(VolumeSpecification volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
volumeSpecification
- EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS
volume attached to an EC2 instance in the cluster.default EbsBlockDevice.Builder volumeSpecification(Consumer<VolumeSpecification.Builder> volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
This is a convenience that creates an instance of theVolumeSpecification.Builder
avoiding the need
to create one manually via VolumeSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to volumeSpecification(VolumeSpecification)
.volumeSpecification
- a consumer that will call methods on VolumeSpecification.Builder
volumeSpecification(VolumeSpecification)
EbsBlockDevice.Builder device(String device)
The device name that is exposed to the instance, such as /dev/sdh.
device
- The device name that is exposed to the instance, such as /dev/sdh.Copyright © 2020. All rights reserved.