Class CfnCluster.ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnCluster.ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ConfigurationProperty>
- Enclosing interface:
CfnCluster.ConfigurationProperty
@Stability(Stable)
public static final class CfnCluster.ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ConfigurationProperty>
A builder for
CfnCluster.ConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.classification
(String classification) Sets the value ofCfnCluster.ConfigurationProperty.getClassification()
configurationProperties
(Map<String, String> configurationProperties) Sets the value ofCfnCluster.ConfigurationProperty.getConfigurationProperties()
configurationProperties
(IResolvable configurationProperties) Sets the value ofCfnCluster.ConfigurationProperty.getConfigurationProperties()
configurations
(List<? extends Object> configurations) Sets the value ofCfnCluster.ConfigurationProperty.getConfigurations()
configurations
(IResolvable configurations) Sets the value ofCfnCluster.ConfigurationProperty.getConfigurations()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
classification
@Stability(Stable) public CfnCluster.ConfigurationProperty.Builder classification(String classification) Sets the value ofCfnCluster.ConfigurationProperty.getClassification()
- Parameters:
classification
- The classification within a configuration.- Returns:
this
-
configurationProperties
@Stability(Stable) public CfnCluster.ConfigurationProperty.Builder configurationProperties(IResolvable configurationProperties) Sets the value ofCfnCluster.ConfigurationProperty.getConfigurationProperties()
- Parameters:
configurationProperties
- A list of additional configurations to apply within a configuration object.- Returns:
this
-
configurationProperties
@Stability(Stable) public CfnCluster.ConfigurationProperty.Builder configurationProperties(Map<String, String> configurationProperties) Sets the value ofCfnCluster.ConfigurationProperty.getConfigurationProperties()
- Parameters:
configurationProperties
- A list of additional configurations to apply within a configuration object.- Returns:
this
-
configurations
@Stability(Stable) public CfnCluster.ConfigurationProperty.Builder configurations(IResolvable configurations) Sets the value ofCfnCluster.ConfigurationProperty.getConfigurations()
- Parameters:
configurations
- A list of additional configurations to apply within a configuration object.- Returns:
this
-
configurations
@Stability(Stable) public CfnCluster.ConfigurationProperty.Builder configurations(List<? extends Object> configurations) Sets the value ofCfnCluster.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<CfnCluster.ConfigurationProperty>
- Returns:
- a new instance of
CfnCluster.ConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-