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