Class InstanceGroupStatus
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.InstanceGroupStatus
-
- All Implemented Interfaces:
Serializable,Cloneable
public class InstanceGroupStatus extends Object implements Serializable, Cloneable
The details of the instance group status.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceGroupStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupStatusclone()booleanequals(Object obj)StringgetState()The current state of the instance group.InstanceGroupStateChangeReasongetStateChangeReason()The status change reason details for the instance group.InstanceGroupTimelinegetTimeline()The timeline of the instance group status over time.inthashCode()voidsetState(InstanceGroupState state)The current state of the instance group.voidsetState(String state)The current state of the instance group.voidsetStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)The status change reason details for the instance group.voidsetTimeline(InstanceGroupTimeline timeline)The timeline of the instance group status over time.StringtoString()Returns a string representation of this object; useful for testing and debugging.InstanceGroupStatuswithState(InstanceGroupState state)The current state of the instance group.InstanceGroupStatuswithState(String state)The current state of the instance group.InstanceGroupStatuswithStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)The status change reason details for the instance group.InstanceGroupStatuswithTimeline(InstanceGroupTimeline timeline)The timeline of the instance group status over time.
-
-
-
Method Detail
-
setState
public void setState(String state)
The current state of the instance group.
- Parameters:
state- The current state of the instance group.- See Also:
InstanceGroupState
-
getState
public String getState()
The current state of the instance group.
- Returns:
- The current state of the instance group.
- See Also:
InstanceGroupState
-
withState
public InstanceGroupStatus withState(String state)
The current state of the instance group.
- Parameters:
state- The current state of the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceGroupState
-
setState
public void setState(InstanceGroupState state)
The current state of the instance group.
- Parameters:
state- The current state of the instance group.- See Also:
InstanceGroupState
-
withState
public InstanceGroupStatus withState(InstanceGroupState state)
The current state of the instance group.
- Parameters:
state- The current state of the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceGroupState
-
setStateChangeReason
public void setStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
- Parameters:
stateChangeReason- The status change reason details for the instance group.
-
getStateChangeReason
public InstanceGroupStateChangeReason getStateChangeReason()
The status change reason details for the instance group.
- Returns:
- The status change reason details for the instance group.
-
withStateChangeReason
public InstanceGroupStatus withStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
- Parameters:
stateChangeReason- The status change reason details for the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeline
public void setTimeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
- Parameters:
timeline- The timeline of the instance group status over time.
-
getTimeline
public InstanceGroupTimeline getTimeline()
The timeline of the instance group status over time.
- Returns:
- The timeline of the instance group status over time.
-
withTimeline
public InstanceGroupStatus withTimeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
- Parameters:
timeline- The timeline of the instance group status over time.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceGroupStatus clone()
-
-