@Stability(value=Experimental) public static final class EmrAddStepProps.Builder extends Object
EmrAddStepProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EmrAddStepProps.Builder |
actionOnFailure(ActionOnFailure actionOnFailure)
Sets the value of
EmrAddStepProps.getActionOnFailure() |
EmrAddStepProps.Builder |
args(List<String> args)
Sets the value of
EmrAddStepProps.getArgs() |
EmrAddStepProps |
build()
Builds the configured instance.
|
EmrAddStepProps.Builder |
clusterId(String clusterId)
Sets the value of
EmrAddStepProps.getClusterId() |
EmrAddStepProps.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Sets the value of
EmrAddStepProps.getIntegrationPattern() |
EmrAddStepProps.Builder |
jar(String jar)
Sets the value of
EmrAddStepProps.getJar() |
EmrAddStepProps.Builder |
mainClass(String mainClass)
Sets the value of
EmrAddStepProps.getMainClass() |
EmrAddStepProps.Builder |
name(String name)
Sets the value of
EmrAddStepProps.getName() |
EmrAddStepProps.Builder |
properties(Map<String,String> properties)
Sets the value of
EmrAddStepProps.getProperties() |
@Stability(value=Experimental) public EmrAddStepProps.Builder clusterId(String clusterId)
EmrAddStepProps.getClusterId()clusterId - The ClusterId to add the Step to. This parameter is required.this@Stability(value=Experimental) public EmrAddStepProps.Builder jar(String jar)
EmrAddStepProps.getJar()jar - A path to a JAR file run during the step. This parameter is required.this@Stability(value=Experimental) public EmrAddStepProps.Builder name(String name)
EmrAddStepProps.getName()name - The name of the Step. This parameter is required.this@Stability(value=Experimental) public EmrAddStepProps.Builder actionOnFailure(ActionOnFailure actionOnFailure)
EmrAddStepProps.getActionOnFailure()actionOnFailure - The action to take when the cluster step fails.this@Stability(value=Experimental) public EmrAddStepProps.Builder args(List<String> args)
EmrAddStepProps.getArgs()args - A list of command line arguments passed to the JAR file's main function when executed.this@Stability(value=Experimental) public EmrAddStepProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
EmrAddStepProps.getIntegrationPattern()integrationPattern - The service integration pattern indicates different ways to call AddStep.
The valid value is either FIRE_AND_FORGET or SYNC.this@Stability(value=Experimental) public EmrAddStepProps.Builder mainClass(String mainClass)
EmrAddStepProps.getMainClass()mainClass - The name of the main class in the specified Java file.
If not specified, the JAR file should specify a Main-Class in its manifest file.this@Stability(value=Experimental) public EmrAddStepProps.Builder properties(Map<String,String> properties)
EmrAddStepProps.getProperties()properties - A list of Java properties that are set when the step runs.
You can use these properties to pass key value pairs to your main function.this@Stability(value=Experimental) public EmrAddStepProps build()
EmrAddStepPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.