public static interface EbsBlockDeviceConfig.Builder extends CopyableBuilder<EbsBlockDeviceConfig.Builder,EbsBlockDeviceConfig>
Modifier and Type | Method and Description |
---|---|
default EbsBlockDeviceConfig.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.
|
EbsBlockDeviceConfig.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.
|
EbsBlockDeviceConfig.Builder |
volumesPerInstance(Integer volumesPerInstance)
Number of EBS volumes with a specific volume configuration that will be associated with every instance in the
instance group
|
copy
apply, build
EbsBlockDeviceConfig.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 EbsBlockDeviceConfig.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)
EbsBlockDeviceConfig.Builder volumesPerInstance(Integer volumesPerInstance)
Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance group
volumesPerInstance
- Number of EBS volumes with a specific volume configuration that will be associated with every instance
in the instance groupCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.