Class CfnCluster.ApplicationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnCluster.ApplicationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ApplicationProperty>
- Enclosing interface:
CfnCluster.ApplicationProperty
@Stability(Stable)
public static final class CfnCluster.ApplicationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ApplicationProperty>
A builder for
CfnCluster.ApplicationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalInfo
(Map<String, String> additionalInfo) Sets the value ofCfnCluster.ApplicationProperty.getAdditionalInfo()
additionalInfo
(IResolvable additionalInfo) Sets the value ofCfnCluster.ApplicationProperty.getAdditionalInfo()
Sets the value ofCfnCluster.ApplicationProperty.getArgs()
build()
Builds the configured instance.Sets the value ofCfnCluster.ApplicationProperty.getName()
Sets the value ofCfnCluster.ApplicationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalInfo
@Stability(Stable) public CfnCluster.ApplicationProperty.Builder additionalInfo(IResolvable additionalInfo) Sets the value ofCfnCluster.ApplicationProperty.getAdditionalInfo()
- Parameters:
additionalInfo
- This option is for advanced users only. This is meta information about clusters and applications that are used for testing and troubleshooting.- Returns:
this
-
additionalInfo
@Stability(Stable) public CfnCluster.ApplicationProperty.Builder additionalInfo(Map<String, String> additionalInfo) Sets the value ofCfnCluster.ApplicationProperty.getAdditionalInfo()
- Parameters:
additionalInfo
- This option is for advanced users only. This is meta information about clusters and applications that are used for testing and troubleshooting.- Returns:
this
-
args
Sets the value ofCfnCluster.ApplicationProperty.getArgs()
- Parameters:
args
- Arguments for Amazon EMR to pass to the application.- Returns:
this
-
name
Sets the value ofCfnCluster.ApplicationProperty.getName()
- Parameters:
name
- The name of the application.- Returns:
this
-
version
Sets the value ofCfnCluster.ApplicationProperty.getVersion()
- Parameters:
version
- The version of the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.ApplicationProperty>
- Returns:
- a new instance of
CfnCluster.ApplicationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-