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