@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T09:30:50.958Z") @Stability(value=Stable) public interface EmrAddStepProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Example:
EmrAddStep.Builder.create(this, "Task") .clusterId("ClusterId") .name("StepName") .jar("Jar") .actionOnFailure(ActionOnFailure.CONTINUE) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EmrAddStepProps.Builder
A builder for
EmrAddStepProps |
static class |
EmrAddStepProps.Jsii$Proxy
An implementation for
EmrAddStepProps |
Modifier and Type | Method and Description |
---|---|
static EmrAddStepProps.Builder |
builder() |
default ActionOnFailure |
getActionOnFailure()
The action to take when the cluster step fails.
|
default List<String> |
getArgs()
A list of command line arguments passed to the JAR file's main function when executed.
|
String |
getClusterId()
The ClusterId to add the Step to.
|
String |
getJar()
A path to a JAR file run during the step.
|
default String |
getMainClass()
The name of the main class in the specified Java file.
|
String |
getName()
The name of the Step.
|
default Map<String,String> |
getProperties()
A list of Java properties that are set when the step runs.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
@Stability(value=Stable) @NotNull String getClusterId()
@Stability(value=Stable) @NotNull String getJar()
https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html
@Stability(value=Stable) @NotNull String getName()
https://docs.aws.amazon.com/emr/latest/APIReference/API_StepConfig.html
@Stability(value=Stable) @Nullable default ActionOnFailure getActionOnFailure()
Default: ActionOnFailure.CONTINUE
https://docs.aws.amazon.com/emr/latest/APIReference/API_StepConfig.html
@Stability(value=Stable) @Nullable default List<String> getArgs()
Default: - No args
https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html
@Stability(value=Stable) @Nullable default String getMainClass()
If not specified, the JAR file should specify a Main-Class in its manifest file.
Default: - No mainClass
https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html
@Stability(value=Stable) @Nullable default Map<String,String> getProperties()
You can use these properties to pass key value pairs to your main function.
Default: - No properties
https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html
@Stability(value=Stable) static EmrAddStepProps.Builder builder()
builder
in interface TaskStateBaseProps
EmrAddStepProps.Builder
of EmrAddStepProps
Copyright © 2022. All rights reserved.