Class ClusterStatus
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.ClusterStatus
- All Implemented Interfaces:
Serializable
,Cloneable
The detailed status of the cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getState()
The current state of the cluster.The reason for the cluster status change.A timeline that represents the status of a cluster over the lifetime of the cluster.int
hashCode()
void
setState
(ClusterState state) The current state of the cluster.void
The current state of the cluster.void
setStateChangeReason
(ClusterStateChangeReason stateChangeReason) The reason for the cluster status change.void
setTimeline
(ClusterTimeline timeline) A timeline that represents the status of a cluster over the lifetime of the cluster.toString()
Returns a string representation of this object; useful for testing and debugging.withState
(ClusterState state) The current state of the cluster.The current state of the cluster.withStateChangeReason
(ClusterStateChangeReason stateChangeReason) The reason for the cluster status change.withTimeline
(ClusterTimeline timeline) A timeline that represents the status of a cluster over the lifetime of the cluster.
-
Constructor Details
-
ClusterStatus
public ClusterStatus()
-
-
Method Details
-
setState
The current state of the cluster.
- Parameters:
state
- The current state of the cluster.- See Also:
-
getState
The current state of the cluster.
- Returns:
- The current state of the cluster.
- See Also:
-
withState
The current state of the cluster.
- Parameters:
state
- The current state of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The current state of the cluster.
- Parameters:
state
- The current state of the cluster.- See Also:
-
withState
The current state of the cluster.
- Parameters:
state
- The current state of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStateChangeReason
The reason for the cluster status change.
- Parameters:
stateChangeReason
- The reason for the cluster status change.
-
getStateChangeReason
The reason for the cluster status change.
- Returns:
- The reason for the cluster status change.
-
withStateChangeReason
The reason for the cluster status change.
- Parameters:
stateChangeReason
- The reason for the cluster status change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeline
A timeline that represents the status of a cluster over the lifetime of the cluster.
- Parameters:
timeline
- A timeline that represents the status of a cluster over the lifetime of the cluster.
-
getTimeline
A timeline that represents the status of a cluster over the lifetime of the cluster.
- Returns:
- A timeline that represents the status of a cluster over the lifetime of the cluster.
-
withTimeline
A timeline that represents the status of a cluster over the lifetime of the cluster.
- Parameters:
timeline
- A timeline that represents the status of a cluster over the lifetime of the cluster.- 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
-