@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:40.247Z") @Stability(value=Experimental) public enum ActionOnFailure extends Enum<ActionOnFailure>
Default: CONTINUE
Here, they are named as TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE respectively.| Enum Constant and Description |
|---|
CANCEL_AND_WAIT
(experimental) Cancel Step execution and enter WAITING state.
|
CONTINUE
(experimental) Continue to the next Step.
|
TERMINATE_CLUSTER
(experimental) 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=Experimental) public static final ActionOnFailure TERMINATE_CLUSTER
@Stability(value=Experimental) public static final ActionOnFailure CANCEL_AND_WAIT
@Stability(value=Experimental) 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 © 2021. All rights reserved.