|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.Step
public class Step
This represents a step in a cluster.
Constructor Summary | |
---|---|
Step()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getActionOnFailure()
This specifies what 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 |
setActionOnFailure(ActionOnFailure actionOnFailure)
This specifies what action to take when the cluster step fails. |
void |
setActionOnFailure(String actionOnFailure)
This specifies what 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; useful for testing and debugging. |
Step |
withActionOnFailure(ActionOnFailure actionOnFailure)
This specifies what action to take when the cluster step fails. |
Step |
withActionOnFailure(String actionOnFailure)
This specifies what action to take when the cluster step fails. |
Step |
withConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step. |
Step |
withId(String id)
The identifier of the cluster step. |
Step |
withName(String name)
The name of the cluster step. |
Step |
withStatus(StepStatus status)
The current execution status details of the cluster step. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Step()
Method Detail |
---|
public String getId()
public void setId(String id)
id
- The identifier of the cluster step.public Step withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The identifier of the cluster step.
public String getName()
public void setName(String name)
name
- The name of the cluster step.public Step withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the cluster step.
public HadoopStepConfig getConfig()
public void setConfig(HadoopStepConfig config)
config
- The Hadoop job configuration of the cluster step.public Step withConfig(HadoopStepConfig config)
Returns a reference to this object so that method calls can be chained together.
config
- The Hadoop job configuration of the cluster step.
public String getActionOnFailure()
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
ActionOnFailure
public void setActionOnFailure(String actionOnFailure)
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- This specifies what action to take when the cluster step fails.
TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.ActionOnFailure
public Step withActionOnFailure(String actionOnFailure)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- This specifies what action to take when the cluster step fails.
TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.
ActionOnFailure
public void setActionOnFailure(ActionOnFailure actionOnFailure)
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- This specifies what action to take when the cluster step fails.
TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.ActionOnFailure
public Step withActionOnFailure(ActionOnFailure actionOnFailure)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- This specifies what action to take when the cluster step fails.
TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.
ActionOnFailure
public StepStatus getStatus()
public void setStatus(StepStatus status)
status
- The current execution status details of the cluster step.public Step withStatus(StepStatus status)
Returns a reference to this object so that method calls can be chained together.
status
- The current execution status details of the cluster step.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |