Class InstanceGroupStatus
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.InstanceGroupStatus
- All Implemented Interfaces:
Serializable
,Cloneable
The details of the instance group status.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getState()
The current state of the instance group.The status change reason details for the instance group.The timeline of the instance group status over time.int
hashCode()
void
setState
(InstanceGroupState state) The current state of the instance group.void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withState
(InstanceGroupState state) The current state of the instance group.The current state of the instance group.withStateChangeReason
(InstanceGroupStateChangeReason stateChangeReason) The status change reason details for the instance group.withTimeline
(InstanceGroupTimeline timeline) The timeline of the instance group status over time.
-
Constructor Details
-
InstanceGroupStatus
public InstanceGroupStatus()
-
-
Method Details
-
setState
The current state of the instance group.
- Parameters:
state
- The current state of the instance group.- See Also:
-
getState
The current state of the instance group.
- Returns:
- The current state of the instance group.
- See Also:
-
withState
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:
-
setState
The current state of the instance group.
- Parameters:
state
- The current state of the instance group.- See Also:
-
withState
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:
-
setStateChangeReason
The status change reason details for the instance group.
- Parameters:
stateChangeReason
- The status change reason details for the instance group.
-
getStateChangeReason
The status change reason details for the instance group.
- Returns:
- The status change reason details for the instance group.
-
withStateChangeReason
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
The timeline of the instance group status over time.
- Parameters:
timeline
- The timeline of the instance group status over time.
-
getTimeline
The timeline of the instance group status over time.
- Returns:
- The timeline of the instance group status over time.
-
withTimeline
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-