@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.427Z") @Stability(value=Stable) public enum ActionOnFailure extends Enum<ActionOnFailure>
Default: CONTINUE
Example:
EmrAddStep.Builder.create(this, "Task")
.clusterId("ClusterId")
.name("StepName")
.jar("Jar")
.actionOnFailure(ActionOnFailure.CONTINUE)
.build();
| Enum Constant and Description |
|---|
CANCEL_AND_WAIT
Cancel Step execution and enter WAITING state.
|
CONTINUE
Continue to the next Step.
|
TERMINATE_CLUSTER
Terminate the Cluster on Step Failure.
|
| Modifier and Type | Method and Description |
|---|---|
static ActionOnFailure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionOnFailure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ActionOnFailure TERMINATE_CLUSTER
@Stability(value=Stable) public static final ActionOnFailure CANCEL_AND_WAIT
@Stability(value=Stable) public static final ActionOnFailure CONTINUE
public static ActionOnFailure[] values()
for (ActionOnFailure c : ActionOnFailure.values()) System.out.println(c);
public static ActionOnFailure valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.