Class CfnInstanceGroupConfig.EbsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnInstanceGroupConfig.EbsConfigurationProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnInstanceGroupConfig.EbsConfigurationProperty>
- Enclosing interface:
 - CfnInstanceGroupConfig.EbsConfigurationProperty
 
@Stability(Stable)
public static final class CfnInstanceGroupConfig.EbsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceGroupConfig.EbsConfigurationProperty>
A builder for 
CfnInstanceGroupConfig.EbsConfigurationProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ebsBlockDeviceConfigs(List<? extends Object> ebsBlockDeviceConfigs) ebsBlockDeviceConfigs(IResolvable ebsBlockDeviceConfigs) ebsOptimized(Boolean ebsOptimized) Sets the value ofCfnInstanceGroupConfig.EbsConfigurationProperty.getEbsOptimized()ebsOptimized(IResolvable ebsOptimized) Sets the value ofCfnInstanceGroupConfig.EbsConfigurationProperty.getEbsOptimized() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
ebsBlockDeviceConfigs
@Stability(Stable) public CfnInstanceGroupConfig.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 CfnInstanceGroupConfig.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 CfnInstanceGroupConfig.EbsConfigurationProperty.Builder ebsOptimized(Boolean ebsOptimized) Sets the value ofCfnInstanceGroupConfig.EbsConfigurationProperty.getEbsOptimized()- Parameters:
 ebsOptimized- Indicates whether an Amazon EBS volume is EBS-optimized.- Returns:
 this
 - 
ebsOptimized
@Stability(Stable) public CfnInstanceGroupConfig.EbsConfigurationProperty.Builder ebsOptimized(IResolvable ebsOptimized) Sets the value ofCfnInstanceGroupConfig.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<CfnInstanceGroupConfig.EbsConfigurationProperty>- Returns:
 - a new instance of 
CfnInstanceGroupConfig.EbsConfigurationProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -