Class CfnApplication.ConfigurationObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.ConfigurationObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ConfigurationObjectProperty>
- Enclosing interface:
CfnApplication.ConfigurationObjectProperty
@Stability(Stable)
public static final class CfnApplication.ConfigurationObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ConfigurationObjectProperty>
A builder for
CfnApplication.ConfigurationObjectProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.classification
(String classification) Sets the value ofCfnApplication.ConfigurationObjectProperty.getClassification()
configurations
(List<? extends Object> configurations) Sets the value ofCfnApplication.ConfigurationObjectProperty.getConfigurations()
configurations
(IResolvable configurations) Sets the value ofCfnApplication.ConfigurationObjectProperty.getConfigurations()
properties
(Map<String, String> properties) Sets the value ofCfnApplication.ConfigurationObjectProperty.getProperties()
properties
(IResolvable properties) Sets the value ofCfnApplication.ConfigurationObjectProperty.getProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
classification
@Stability(Stable) public CfnApplication.ConfigurationObjectProperty.Builder classification(String classification) Sets the value ofCfnApplication.ConfigurationObjectProperty.getClassification()
- Parameters:
classification
- The classification within a configuration. This parameter is required.- Returns:
this
-
configurations
@Stability(Stable) public CfnApplication.ConfigurationObjectProperty.Builder configurations(IResolvable configurations) Sets the value ofCfnApplication.ConfigurationObjectProperty.getConfigurations()
- Parameters:
configurations
- A list of additional configurations to apply within a configuration object.- Returns:
this
-
configurations
@Stability(Stable) public CfnApplication.ConfigurationObjectProperty.Builder configurations(List<? extends Object> configurations) Sets the value ofCfnApplication.ConfigurationObjectProperty.getConfigurations()
- Parameters:
configurations
- A list of additional configurations to apply within a configuration object.- Returns:
this
-
properties
@Stability(Stable) public CfnApplication.ConfigurationObjectProperty.Builder properties(IResolvable properties) Sets the value ofCfnApplication.ConfigurationObjectProperty.getProperties()
- Parameters:
properties
- A set of properties specified within a configuration classification.- Returns:
this
-
properties
@Stability(Stable) public CfnApplication.ConfigurationObjectProperty.Builder properties(Map<String, String> properties) Sets the value ofCfnApplication.ConfigurationObjectProperty.getProperties()
- Parameters:
properties
- A set of properties specified within a configuration classification.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.ConfigurationObjectProperty>
- Returns:
- a new instance of
CfnApplication.ConfigurationObjectProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-