@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) |
<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, 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 available 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 available 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 StepSummary.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<StepSummary.Builder,StepSummary>
public static StepSummary.Builder builder()
public static Class<? extends StepSummary.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.