@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteClusterResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DeleteClusterResult() |
| Modifier and Type | Method and Description |
|---|---|
DeleteClusterResult |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
String |
getState()
The state of the cluster.
|
int |
hashCode() |
void |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
void |
setState(String state)
The state of the cluster.
|
String |
toString()
Returns a string representation of this object.
|
DeleteClusterResult |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
DeleteClusterResult |
withState(ClusterState state)
The state of the cluster.
|
DeleteClusterResult |
withState(String state)
The state of the cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn - The Amazon Resource Name (ARN) of the cluster.
public String getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
The Amazon Resource Name (ARN) of the cluster.
public DeleteClusterResult withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn - The Amazon Resource Name (ARN) of the cluster.
public void setState(String state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state - The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterStatepublic String getState()
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterStatepublic DeleteClusterResult withState(String state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state - The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterStatepublic DeleteClusterResult withState(ClusterState state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state - The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterStatepublic String toString()
toString in class ObjectObject.toString()public DeleteClusterResult clone()