@Generated(value="software.amazon.awssdk:codegen") public final class StepConfig extends Object implements SdkPojo, Serializable, 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() |
String |
name()
The name of the step.
|
List<SdkField<?>> |
sdkFields() |
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() |
copy
public 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()
.
ActionOnFailure
public 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()
.
ActionOnFailure
public HadoopJarStepConfig hadoopJarStep()
The JAR file used for the step.
public StepConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StepConfig.Builder,StepConfig>
public static StepConfig.Builder builder()
public static Class<? extends StepConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.