|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.ClusterStatus
public class ClusterStatus
The detailed status of the cluster.
Constructor Summary | |
---|---|
ClusterStatus()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getState()
The current state of the cluster. |
ClusterStateChangeReason |
getStateChangeReason()
The reason for the cluster status change. |
ClusterTimeline |
getTimeline()
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 |
setState(String state)
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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ClusterStatus |
withState(ClusterState state)
The current state of the cluster. |
ClusterStatus |
withState(String state)
The current state of the cluster. |
ClusterStatus |
withStateChangeReason(ClusterStateChangeReason stateChangeReason)
The reason for the cluster status change. |
ClusterStatus |
withTimeline(ClusterTimeline timeline)
A timeline that represents the status of a cluster over the lifetime of the cluster. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClusterStatus()
Method Detail |
---|
public String getState()
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
ClusterState
public void setState(String state)
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
state
- The current state of the cluster.ClusterState
public ClusterStatus withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
state
- The current state of the cluster.
ClusterState
public void setState(ClusterState state)
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
state
- The current state of the cluster.ClusterState
public ClusterStatus withState(ClusterState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
state
- The current state of the cluster.
ClusterState
public ClusterStateChangeReason getStateChangeReason()
public void setStateChangeReason(ClusterStateChangeReason stateChangeReason)
stateChangeReason
- The reason for the cluster status change.public ClusterStatus withStateChangeReason(ClusterStateChangeReason stateChangeReason)
Returns a reference to this object so that method calls can be chained together.
stateChangeReason
- The reason for the cluster status change.
public ClusterTimeline getTimeline()
public void setTimeline(ClusterTimeline timeline)
timeline
- A timeline that represents the status of a cluster over the lifetime
of the cluster.public ClusterStatus withTimeline(ClusterTimeline timeline)
Returns a reference to this object so that method calls can be chained together.
timeline
- A timeline that represents the status of a cluster over the lifetime
of the cluster.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |