Interface EbsConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EbsConfiguration.Builder,
,EbsConfiguration> SdkBuilder<EbsConfiguration.Builder,
,EbsConfiguration> SdkPojo
- Enclosing class:
EbsConfiguration
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaEbsBlockDeviceConfig.builder()
.When the
Consumer
completes,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.
- Parameters:
ebsOptimized
- Indicates whether an Amazon EBS volume is EBS-optimized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-