public class ClusterStatus extends Object implements Serializable, Cloneable
The detailed status of the cluster.
| Constructor and Description | 
|---|
| ClusterStatus() | 
| Modifier and Type | Method and Description | 
|---|---|
| ClusterStatus | clone() | 
| 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. | 
public void setState(String state)
The current state of the cluster.
state - The current state of the cluster.ClusterStatepublic String getState()
The current state of the cluster.
ClusterStatepublic ClusterStatus withState(String state)
The current state of the cluster.
state - The current state of the cluster.ClusterStatepublic void setState(ClusterState state)
The current state of the cluster.
state - The current state of the cluster.ClusterStatepublic ClusterStatus withState(ClusterState state)
The current state of the cluster.
state - The current state of the cluster.ClusterStatepublic void setStateChangeReason(ClusterStateChangeReason stateChangeReason)
The reason for the cluster status change.
stateChangeReason - The reason for the cluster status change.public ClusterStateChangeReason getStateChangeReason()
The reason for the cluster status change.
public ClusterStatus withStateChangeReason(ClusterStateChangeReason stateChangeReason)
The reason for the cluster status change.
stateChangeReason - The reason for the cluster status change.public void setTimeline(ClusterTimeline timeline)
A timeline that represents the status of a cluster over the lifetime of the cluster.
timeline - A timeline that represents the status of a cluster over the
        lifetime of the cluster.public ClusterTimeline getTimeline()
A timeline that represents the status of a cluster over the lifetime of the cluster.
public ClusterStatus withTimeline(ClusterTimeline timeline)
A timeline that represents the status of a cluster over the lifetime of the cluster.
timeline - A timeline that represents the status of a cluster over the
        lifetime of the cluster.public String toString()
toString in class ObjectObject.toString()public ClusterStatus clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.