@Stability(value=Experimental) public static final class EmrAddStep.Builder extends Object
EmrAddStep.| Modifier and Type | Method and Description |
|---|---|
EmrAddStep.Builder |
actionOnFailure(ActionOnFailure actionOnFailure)
The action to take when the cluster step fails.
|
EmrAddStep.Builder |
args(List<String> args)
A list of command line arguments passed to the JAR file's main function when executed.
|
EmrAddStep |
build() |
EmrAddStep.Builder |
clusterId(String clusterId)
The ClusterId to add the Step to.
|
static EmrAddStep.Builder |
create()
EXPERIMENTAL
|
EmrAddStep.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
The service integration pattern indicates different ways to call AddStep.
|
EmrAddStep.Builder |
jar(String jar)
A path to a JAR file run during the step.
|
EmrAddStep.Builder |
mainClass(String mainClass)
The name of the main class in the specified Java file.
|
EmrAddStep.Builder |
name(String name)
The name of the Step.
|
EmrAddStep.Builder |
properties(Map<String,String> properties)
A list of Java properties that are set when the step runs.
|
@Stability(value=Experimental) public static EmrAddStep.Builder create()
EmrAddStep.Builder.@Stability(value=Experimental) public EmrAddStep.Builder clusterId(String clusterId)
EXPERIMENTAL
clusterId - The ClusterId to add the Step to. This parameter is required.this@Stability(value=Experimental) public EmrAddStep.Builder jar(String jar)
EXPERIMENTAL
jar - A path to a JAR file run during the step. This parameter is required.thishttps://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html@Stability(value=Experimental) public EmrAddStep.Builder name(String name)
EXPERIMENTAL
name - The name of the Step. This parameter is required.thishttps://docs.aws.amazon.com/emr/latest/APIReference/API_StepConfig.html@Stability(value=Experimental) public EmrAddStep.Builder actionOnFailure(ActionOnFailure actionOnFailure)
Default: CONTINUE
EXPERIMENTAL
actionOnFailure - The action to take when the cluster step fails. This parameter is required.thishttps://docs.aws.amazon.com/emr/latest/APIReference/API_StepConfig.html@Stability(value=Experimental) public EmrAddStep.Builder args(List<String> args)
Default: No args
EXPERIMENTAL
args - A list of command line arguments passed to the JAR file's main function when executed. This parameter is required.thishttps://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html@Stability(value=Experimental) public EmrAddStep.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value is either FIRE_AND_FORGET or SYNC.
Default: SYNC
EXPERIMENTAL
integrationPattern - The service integration pattern indicates different ways to call AddStep. This parameter is required.this@Stability(value=Experimental) public EmrAddStep.Builder mainClass(String mainClass)
If not specified, the JAR file should specify a Main-Class in its manifest file.
Default: No mainClass
EXPERIMENTAL
mainClass - The name of the main class in the specified Java file. This parameter is required.thishttps://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html@Stability(value=Experimental) public EmrAddStep.Builder properties(Map<String,String> properties)
You can use these properties to pass key value pairs to your main function.
Default: No properties
EXPERIMENTAL
properties - A list of Java properties that are set when the step runs. This parameter is required.thishttps://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html@Stability(value=Experimental) public EmrAddStep build()
Copyright © 2020. All rights reserved.