@Generated(value="software.amazon.awssdk:codegen") public final class StepSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StepSummary.Builder,StepSummary>
The summary of the cluster step.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StepSummary.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 StepSummary.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 StepSummary.Builder> |
serializableBuilderClass() |
StepStatus |
status()
The current execution status details of the cluster step.
|
StepSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the cluster step.
public final String name()
The name of the cluster step.
public final HadoopStepConfig config()
The Hadoop job configuration of the cluster step.
public final 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 available for backward compatibility.
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().
ActionOnFailurepublic final 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 available for backward compatibility.
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().
ActionOnFailurepublic final StepStatus status()
The current execution status details of the cluster step.
public StepSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StepSummary.Builder,StepSummary>public static StepSummary.Builder builder()
public static Class<? extends StepSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.