@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StepSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of the cluster step.
Constructor and Description |
---|
StepSummary() |
Modifier and Type | Method and Description |
---|---|
StepSummary |
clone() |
boolean |
equals(Object obj) |
String |
getActionOnFailure()
The action to take when the cluster step fails.
|
HadoopStepConfig |
getConfig()
The Hadoop job configuration of the cluster step.
|
String |
getId()
The identifier of the cluster step.
|
String |
getName()
The name of the cluster step.
|
StepStatus |
getStatus()
The current execution status details of the cluster step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionOnFailure(ActionOnFailure actionOnFailure)
The action to take when the cluster step fails.
|
void |
setActionOnFailure(String actionOnFailure)
The action to take when the cluster step fails.
|
void |
setConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
|
void |
setId(String id)
The identifier of the cluster step.
|
void |
setName(String name)
The name of the cluster step.
|
void |
setStatus(StepStatus status)
The current execution status details of the cluster step.
|
String |
toString()
Returns a string representation of this object.
|
StepSummary |
withActionOnFailure(ActionOnFailure actionOnFailure)
The action to take when the cluster step fails.
|
StepSummary |
withActionOnFailure(String actionOnFailure)
The action to take when the cluster step fails.
|
StepSummary |
withConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
|
StepSummary |
withId(String id)
The identifier of the cluster step.
|
StepSummary |
withName(String name)
The name of the cluster step.
|
StepSummary |
withStatus(StepStatus status)
The current execution status details of the cluster step.
|
public void setId(String id)
The identifier of the cluster step.
id
- The identifier of the cluster step.public String getId()
The identifier of the cluster step.
public StepSummary withId(String id)
The identifier of the cluster step.
id
- The identifier of the cluster step.public void setName(String name)
The name of the cluster step.
name
- The name of the cluster step.public String getName()
The name of the cluster step.
public StepSummary withName(String name)
The name of the cluster step.
name
- The name of the cluster step.public void setConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
config
- The Hadoop job configuration of the cluster step.public HadoopStepConfig getConfig()
The Hadoop job configuration of the cluster step.
public StepSummary withConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
config
- The Hadoop job configuration of the cluster step.public void setActionOnFailure(String 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.
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.ActionOnFailure
public String getActionOnFailure()
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.
ActionOnFailure
public StepSummary withActionOnFailure(String 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.
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.ActionOnFailure
public void setActionOnFailure(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.
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.ActionOnFailure
public StepSummary withActionOnFailure(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.
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.ActionOnFailure
public void setStatus(StepStatus status)
The current execution status details of the cluster step.
status
- The current execution status details of the cluster step.public StepStatus getStatus()
The current execution status details of the cluster step.
public StepSummary withStatus(StepStatus status)
The current execution status details of the cluster step.
status
- The current execution status details of the cluster step.public String toString()
toString
in class Object
Object.toString()
public StepSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.