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 InstanceGroupStatus
clone()
boolean
equals(Object obj)
String
getState()
The current state of the instance group.InstanceGroupStateChangeReason
getStateChangeReason()
The status change reason details for the instance group.InstanceGroupTimeline
getTimeline()
The timeline of the instance group status over time.int
hashCode()
void
setState(InstanceGroupState state)
The current state of the instance group.void
setState(String state)
The current state of the instance group.void
setStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.void
setTimeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.String
toString()
Returns a string representation of this object; useful for testing and debugging.InstanceGroupStatus
withState(InstanceGroupState state)
The current state of the instance group.InstanceGroupStatus
withState(String state)
The current state of the instance group.InstanceGroupStatus
withStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.InstanceGroupStatus
withTimeline(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceGroupStatus clone()
-
-