@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.466Z") @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()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default ActionOnFailure getActionOnFailure()
Default: ActionOnFailure.CONTINUE
@Stability(value=Stable) @Nullable default List<String> getArgs()
Default: - No args
@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
@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
@Stability(value=Stable) static EmrAddStepProps.Builder builder()
builder in interface TaskStateBasePropsEmrAddStepProps.Builder of EmrAddStepPropsCopyright © 2022. All rights reserved.