@Generated(value="software.amazon.awssdk:codegen") public class Step extends Object implements StructuredPojo, 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()
This specifies what action to take when the cluster step fails.
|
String |
actionOnFailureString()
This specifies what 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the cluster step.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the cluster step.
|
static Class<? extends Step.Builder> |
serializableBuilderClass() |
StepStatus |
status()
The current execution status details of the cluster step.
|
Step.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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()
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
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 actionOnFailureString()
.
ActionOnFailure
public String actionOnFailureString()
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
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 actionOnFailureString()
.
ActionOnFailure
public StepStatus status()
The current execution status details of the cluster step.
public Step.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Step.Builder,Step>
public static Step.Builder builder()
public static Class<? extends Step.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.