Interface EbsConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EbsConfiguration.Builder,,EbsConfiguration> SdkBuilder<EbsConfiguration.Builder,,EbsConfiguration> SdkPojo
- Enclosing class:
EbsConfiguration
@Mutable
@NotThreadSafe
public static interface EbsConfiguration.Builder
extends SdkPojo, CopyableBuilder<EbsConfiguration.Builder,EbsConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionebsBlockDeviceConfigs(Collection<EbsBlockDeviceConfig> ebsBlockDeviceConfigs) An array of Amazon EBS volume specifications attached to a cluster instance.ebsBlockDeviceConfigs(Consumer<EbsBlockDeviceConfig.Builder>... ebsBlockDeviceConfigs) An array of Amazon EBS volume specifications attached to a cluster instance.ebsBlockDeviceConfigs(EbsBlockDeviceConfig... ebsBlockDeviceConfigs) An array of Amazon EBS volume specifications attached to a cluster instance.ebsOptimized(Boolean ebsOptimized) Indicates whether an Amazon EBS volume is EBS-optimized.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ebsBlockDeviceConfigs
EbsConfiguration.Builder ebsBlockDeviceConfigs(Collection<EbsBlockDeviceConfig> ebsBlockDeviceConfigs) An array of Amazon EBS volume specifications attached to a cluster instance.
- Parameters:
ebsBlockDeviceConfigs- An array of Amazon EBS volume specifications attached to a cluster instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsBlockDeviceConfigs
An array of Amazon EBS volume specifications attached to a cluster instance.
- Parameters:
ebsBlockDeviceConfigs- An array of Amazon EBS volume specifications attached to a cluster instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsBlockDeviceConfigs
EbsConfiguration.Builder ebsBlockDeviceConfigs(Consumer<EbsBlockDeviceConfig.Builder>... ebsBlockDeviceConfigs) An array of Amazon EBS volume specifications attached to a cluster instance.
This is a convenience method that creates an instance of theEbsBlockDeviceConfig.Builderavoiding the need to create one manually viaEbsBlockDeviceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebsBlockDeviceConfigs(List<EbsBlockDeviceConfig>).- Parameters:
ebsBlockDeviceConfigs- a consumer that will call methods onEbsBlockDeviceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebsOptimized
Indicates whether an Amazon EBS volume is EBS-optimized. The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
- Parameters:
ebsOptimized- Indicates whether an Amazon EBS volume is EBS-optimized. The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-