Class CfnInstanceGroupConfig.ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnInstanceGroupConfig.ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceGroupConfig.ConfigurationProperty>
- Enclosing interface:
CfnInstanceGroupConfig.ConfigurationProperty
@Stability(Stable)
public static final class CfnInstanceGroupConfig.ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceGroupConfig.ConfigurationProperty>
A builder for
CfnInstanceGroupConfig.ConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.classification
(String classification) Sets the value ofCfnInstanceGroupConfig.ConfigurationProperty.getClassification()
configurationProperties
(Map<String, String> configurationProperties) configurationProperties
(IResolvable configurationProperties) configurations
(List<? extends Object> configurations) Sets the value ofCfnInstanceGroupConfig.ConfigurationProperty.getConfigurations()
configurations
(IResolvable configurations) Sets the value ofCfnInstanceGroupConfig.ConfigurationProperty.getConfigurations()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
classification
@Stability(Stable) public CfnInstanceGroupConfig.ConfigurationProperty.Builder classification(String classification) Sets the value ofCfnInstanceGroupConfig.ConfigurationProperty.getClassification()
- Parameters:
classification
- The classification within a configuration.- Returns:
this
-
configurationProperties
@Stability(Stable) public CfnInstanceGroupConfig.ConfigurationProperty.Builder configurationProperties(IResolvable configurationProperties) - Parameters:
configurationProperties
- Within a configuration classification, a set of properties that represent the settings that you want to change in the configuration file. Duplicates not allowed.- Returns:
this
-
configurationProperties
@Stability(Stable) public CfnInstanceGroupConfig.ConfigurationProperty.Builder configurationProperties(Map<String, String> configurationProperties) - Parameters:
configurationProperties
- Within a configuration classification, a set of properties that represent the settings that you want to change in the configuration file. Duplicates not allowed.- Returns:
this
-
configurations
@Stability(Stable) public CfnInstanceGroupConfig.ConfigurationProperty.Builder configurations(IResolvable configurations) Sets the value ofCfnInstanceGroupConfig.ConfigurationProperty.getConfigurations()
- Parameters:
configurations
- A list of additional configurations to apply within a configuration object.- Returns:
this
-
configurations
@Stability(Stable) public CfnInstanceGroupConfig.ConfigurationProperty.Builder configurations(List<? extends Object> configurations) Sets the value ofCfnInstanceGroupConfig.ConfigurationProperty.getConfigurations()
- Parameters:
configurations
- A list of additional configurations to apply within a configuration object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstanceGroupConfig.ConfigurationProperty>
- Returns:
- a new instance of
CfnInstanceGroupConfig.ConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-