Interface EbsBlockDeviceConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EbsBlockDeviceConfig.Builder,EbsBlockDeviceConfig>,SdkBuilder<EbsBlockDeviceConfig.Builder,EbsBlockDeviceConfig>,SdkPojo
- Enclosing class:
- EbsBlockDeviceConfig
public static interface EbsBlockDeviceConfig.Builder extends SdkPojo, CopyableBuilder<EbsBlockDeviceConfig.Builder,EbsBlockDeviceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EbsBlockDeviceConfig.BuildervolumeSpecification(Consumer<VolumeSpecification.Builder> volumeSpecification)EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.EbsBlockDeviceConfig.BuildervolumeSpecification(VolumeSpecification volumeSpecification)EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.EbsBlockDeviceConfig.BuildervolumesPerInstance(Integer volumesPerInstance)Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
volumeSpecification
EbsBlockDeviceConfig.Builder volumeSpecification(VolumeSpecification volumeSpecification)
EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.
- Parameters:
volumeSpecification- EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSpecification
default EbsBlockDeviceConfig.Builder volumeSpecification(Consumer<VolumeSpecification.Builder> volumeSpecification)
EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.
This is a convenience method that creates an instance of theVolumeSpecification.Builderavoiding the need to create one manually viaVolumeSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovolumeSpecification(VolumeSpecification).- Parameters:
volumeSpecification- a consumer that will call methods onVolumeSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
volumeSpecification(VolumeSpecification)
-
volumesPerInstance
EbsBlockDeviceConfig.Builder volumesPerInstance(Integer volumesPerInstance)
Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group
- Parameters:
volumesPerInstance- Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-