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