Class StepSummary
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.StepSummary
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StepSummary extends Object implements Serializable, Cloneable
The summary of the cluster step.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StepSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepSummary
clone()
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.StepSummary
withActionOnFailure(ActionOnFailure actionOnFailure)
This specifies what action to take when the cluster step fails.StepSummary
withActionOnFailure(String actionOnFailure)
This specifies what 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.
-
-
-
Method Detail
-
setId
public void setId(String id)
The identifier of the cluster step.
- Parameters:
id
- The identifier of the cluster step.
-
getId
public String getId()
The identifier of the cluster step.
- Returns:
- The identifier of the cluster step.
-
withId
public StepSummary withId(String id)
The identifier of the cluster step.
- Parameters:
id
- The identifier of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The name of the cluster step.
- Parameters:
name
- The name of the cluster step.
-
getName
public String getName()
The name of the cluster step.
- Returns:
- The name of the cluster step.
-
withName
public StepSummary withName(String name)
The name of the cluster step.
- Parameters:
name
- The name of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConfig
public void setConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
- Parameters:
config
- The Hadoop job configuration of the cluster step.
-
getConfig
public HadoopStepConfig getConfig()
The Hadoop job configuration of the cluster step.
- Returns:
- The Hadoop job configuration of the cluster step.
-
withConfig
public StepSummary withConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.
- Parameters:
config
- The Hadoop job configuration of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setActionOnFailure
public void setActionOnFailure(String actionOnFailure)
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- See Also:
ActionOnFailure
-
getActionOnFailure
public String getActionOnFailure()
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Returns:
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- See Also:
ActionOnFailure
-
withActionOnFailure
public StepSummary withActionOnFailure(String actionOnFailure)
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionOnFailure
-
setActionOnFailure
public void setActionOnFailure(ActionOnFailure actionOnFailure)
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- See Also:
ActionOnFailure
-
withActionOnFailure
public StepSummary withActionOnFailure(ActionOnFailure actionOnFailure)
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionOnFailure
-
setStatus
public void setStatus(StepStatus status)
The current execution status details of the cluster step.
- Parameters:
status
- The current execution status details of the cluster step.
-
getStatus
public StepStatus getStatus()
The current execution status details of the cluster step.
- Returns:
- The current execution status details of the cluster step.
-
withStatus
public StepSummary withStatus(StepStatus status)
The current execution status details of the cluster step.
- Parameters:
status
- The current execution status details of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StepSummary clone()
-
-