@Generated(value="software.amazon.awssdk:codegen") public final class Step extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Step.Builder,Step>
This represents a step in a cluster.
Modifier and Type | Class and Description |
---|---|
static interface |
Step.Builder |
Modifier and Type | Method and Description |
---|---|
ActionOnFailure |
actionOnFailure()
The action to take when the cluster step fails.
|
String |
actionOnFailureAsString()
The action to take when the cluster step fails.
|
static Step.Builder |
builder() |
HadoopStepConfig |
config()
The Hadoop job configuration of the cluster step.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the cluster step.
|
String |
name()
The name of the cluster step.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Step.Builder> |
serializableBuilderClass() |
StepStatus |
status()
The current execution status details of the cluster step.
|
Step.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String id()
The identifier of the cluster step.
public String name()
The name of the cluster step.
public HadoopStepConfig config()
The Hadoop job configuration of the cluster step.
public ActionOnFailure actionOnFailure()
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward compatibility. We recommend using TERMINATE_CLUSTER instead.
If the service returns an enum value that is not available in the current SDK version, actionOnFailure
will return ActionOnFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from actionOnFailureAsString()
.
ActionOnFailure
public String actionOnFailureAsString()
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward compatibility. We recommend using TERMINATE_CLUSTER instead.
If the service returns an enum value that is not available in the current SDK version, actionOnFailure
will return ActionOnFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from actionOnFailureAsString()
.
ActionOnFailure
public StepStatus status()
The current execution status details of the cluster step.
public Step.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Step.Builder,Step>
public static Step.Builder builder()
public static Class<? extends Step.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.