Class EmrCreateCluster.EbsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.EbsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmrCreateCluster.EbsConfigurationProperty>
- Enclosing interface:
EmrCreateCluster.EbsConfigurationProperty
@Stability(Stable)
public static final class EmrCreateCluster.EbsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<EmrCreateCluster.EbsConfigurationProperty>
A builder for
EmrCreateCluster.EbsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ebsBlockDeviceConfigs(List<? extends EmrCreateCluster.EbsBlockDeviceConfigProperty> ebsBlockDeviceConfigs) Sets the value ofEmrCreateCluster.EbsConfigurationProperty.getEbsBlockDeviceConfigs()ebsOptimized(Boolean ebsOptimized) Sets the value ofEmrCreateCluster.EbsConfigurationProperty.getEbsOptimized()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ebsBlockDeviceConfigs
@Stability(Stable) public EmrCreateCluster.EbsConfigurationProperty.Builder ebsBlockDeviceConfigs(List<? extends EmrCreateCluster.EbsBlockDeviceConfigProperty> ebsBlockDeviceConfigs) Sets the value ofEmrCreateCluster.EbsConfigurationProperty.getEbsBlockDeviceConfigs()- Parameters:
ebsBlockDeviceConfigs- An array of Amazon EBS volume specifications attached to a cluster instance.- Returns:
this
-
ebsOptimized
@Stability(Stable) public EmrCreateCluster.EbsConfigurationProperty.Builder ebsOptimized(Boolean ebsOptimized) Sets the value ofEmrCreateCluster.EbsConfigurationProperty.getEbsOptimized()- Parameters:
ebsOptimized- Indicates whether an Amazon EBS volume is EBS-optimized.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EmrCreateCluster.EbsConfigurationProperty>- Returns:
- a new instance of
EmrCreateCluster.EbsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-