Class InstanceStatus
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.InstanceStatus
- All Implemented Interfaces:
Serializable, Cloneable
The instance status details.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetState()The current state of the instance.The details of the status change reason for the instance.The timeline of the instance status over time.inthashCode()voidsetState(InstanceState state) The current state of the instance.voidThe current state of the instance.voidsetStateChangeReason(InstanceStateChangeReason stateChangeReason) The details of the status change reason for the instance.voidsetTimeline(InstanceTimeline timeline) The timeline of the instance status over time.toString()Returns a string representation of this object; useful for testing and debugging.withState(InstanceState state) The current state of the instance.The current state of the instance.withStateChangeReason(InstanceStateChangeReason stateChangeReason) The details of the status change reason for the instance.withTimeline(InstanceTimeline timeline) The timeline of the instance status over time.
-
Constructor Details
-
InstanceStatus
public InstanceStatus()
-
-
Method Details
-
setState
The current state of the instance.
- Parameters:
state- The current state of the instance.- See Also:
-
getState
The current state of the instance.
- Returns:
- The current state of the instance.
- See Also:
-
withState
The current state of the instance.
- Parameters:
state- The current state of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The current state of the instance.
- Parameters:
state- The current state of the instance.- See Also:
-
withState
The current state of the instance.
- Parameters:
state- The current state of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStateChangeReason
The details of the status change reason for the instance.
- Parameters:
stateChangeReason- The details of the status change reason for the instance.
-
getStateChangeReason
The details of the status change reason for the instance.
- Returns:
- The details of the status change reason for the instance.
-
withStateChangeReason
The details of the status change reason for the instance.
- Parameters:
stateChangeReason- The details of the status change reason for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeline
The timeline of the instance status over time.
- Parameters:
timeline- The timeline of the instance status over time.
-
getTimeline
The timeline of the instance status over time.
- Returns:
- The timeline of the instance status over time.
-
withTimeline
The timeline of the instance status over time.
- Parameters:
timeline- The timeline of the instance status over time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-