public static final class EmrCreateCluster.ApplicationConfigProperty.Builder
extends java.lang.Object
EmrCreateCluster.ApplicationConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EmrCreateCluster.ApplicationConfigProperty.Builder |
additionalInfo(java.util.Map<java.lang.String,java.lang.String> additionalInfo)
Sets the value of
EmrCreateCluster.ApplicationConfigProperty.getAdditionalInfo() |
EmrCreateCluster.ApplicationConfigProperty.Builder |
args(java.util.List<java.lang.String> args)
Sets the value of
EmrCreateCluster.ApplicationConfigProperty.getArgs() |
EmrCreateCluster.ApplicationConfigProperty |
build()
Builds the configured instance.
|
EmrCreateCluster.ApplicationConfigProperty.Builder |
name(java.lang.String name)
Sets the value of
EmrCreateCluster.ApplicationConfigProperty.getName() |
EmrCreateCluster.ApplicationConfigProperty.Builder |
version(java.lang.String version)
Sets the value of
EmrCreateCluster.ApplicationConfigProperty.getVersion() |
public EmrCreateCluster.ApplicationConfigProperty.Builder name(java.lang.String name)
EmrCreateCluster.ApplicationConfigProperty.getName()
name
- The name of the application. This parameter is required.this
public EmrCreateCluster.ApplicationConfigProperty.Builder additionalInfo(java.util.Map<java.lang.String,java.lang.String> additionalInfo)
EmrCreateCluster.ApplicationConfigProperty.getAdditionalInfo()
additionalInfo
- This option is for advanced users only.
This is meta information about third-party applications that third-party vendors use
for testing purposes.this
public EmrCreateCluster.ApplicationConfigProperty.Builder args(java.util.List<java.lang.String> args)
EmrCreateCluster.ApplicationConfigProperty.getArgs()
args
- Arguments for Amazon EMR to pass to the application.this
public EmrCreateCluster.ApplicationConfigProperty.Builder version(java.lang.String version)
EmrCreateCluster.ApplicationConfigProperty.getVersion()
version
- The version of the application.this
public EmrCreateCluster.ApplicationConfigProperty build()
EmrCreateCluster.ApplicationConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided