@Stability(value=Experimental) public static final class EmrAddStepProps.Builder extends Object implements software.amazon.jsii.Builder<EmrAddStepProps>
EmrAddStepProps| Constructor and Description |
|---|
Builder() |
@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 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.Builder comment(String comment)
TaskStateBaseProps.getComment()comment - An optional description for this state.this@Stability(value=Experimental) public EmrAddStepProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()heartbeat - Timeout for the heartbeat.this@Stability(value=Experimental) public EmrAddStepProps.Builder inputPath(String inputPath)
TaskStateBaseProps.getInputPath()inputPath - JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this@Stability(value=Experimental) public EmrAddStepProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()integrationPattern - AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis@Stability(value=Experimental) public EmrAddStepProps.Builder outputPath(String outputPath)
TaskStateBaseProps.getOutputPath()outputPath - JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this@Stability(value=Experimental) public EmrAddStepProps.Builder resultPath(String resultPath)
TaskStateBaseProps.getResultPath()resultPath - JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this@Stability(value=Experimental) public EmrAddStepProps.Builder resultSelector(Map<String,? extends Object> resultSelector)
TaskStateBaseProps.getResultSelector()resultSelector - The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this@Stability(value=Experimental) public EmrAddStepProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()timeout - Timeout for the state machine.this@Stability(value=Experimental) public EmrAddStepProps build()
build in interface software.amazon.jsii.Builder<EmrAddStepProps>EmrAddStepPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.