@Generated(value="software.amazon.awssdk:codegen") public class StepConfig extends Object implements StructuredPojo, ToCopyableBuilder<StepConfig.Builder,StepConfig>
Specification of a cluster (job flow) step.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StepConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
ActionOnFailure |
actionOnFailure()
The action to take if the step fails.
|
String |
actionOnFailureAsString()
The action to take if the step fails.
|
static StepConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
HadoopJarStepConfig |
hadoopJarStep()
The JAR file used for the step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
The name of the step.
|
static Class<? extends StepConfig.Builder> |
serializableBuilderClass() |
StepConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String name()
The name of the step.
public ActionOnFailure actionOnFailure()
The action to take if the step fails.
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 String actionOnFailureAsString()
The action to take if the step fails.
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 HadoopJarStepConfig hadoopJarStep()
The JAR file used for the step.
public StepConfig.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<StepConfig.Builder,StepConfig>public static StepConfig.Builder builder()
public static Class<? extends StepConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.