@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateClusterResult() |
Modifier and Type | Method and Description |
---|---|
CreateClusterResult |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
String |
getClusterName()
The name of the MSK cluster.
|
String |
getState()
The state of the cluster.
|
int |
hashCode() |
void |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
void |
setClusterName(String clusterName)
The name of the MSK cluster.
|
void |
setState(String state)
The state of the cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterResult |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
CreateClusterResult |
withClusterName(String clusterName)
The name of the MSK cluster.
|
CreateClusterResult |
withState(ClusterState state)
The state of the cluster.
|
CreateClusterResult |
withState(String state)
The state of the cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 CreateClusterResult withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn
- The Amazon Resource Name (ARN) of the cluster.
public void setClusterName(String clusterName)
The name of the MSK cluster.
clusterName
- The name of the MSK cluster.
public String getClusterName()
The name of the MSK cluster.
The name of the MSK cluster.
public CreateClusterResult withClusterName(String clusterName)
The name of the MSK cluster.
clusterName
- The name of the MSK cluster.
public void setState(String state)
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
state
- The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
public String getState()
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
public CreateClusterResult withState(String state)
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
state
- The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
public CreateClusterResult withState(ClusterState state)
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
state
- The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
public String toString()
toString
in class Object
Object.toString()
public CreateClusterResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.