@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterV2Result extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateClusterV2Result() |
| Modifier and Type | Method and Description |
|---|---|
CreateClusterV2Result |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
String |
getClusterName()
The name of the MSK cluster.
|
String |
getClusterType()
The type 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 |
setClusterName(String clusterName)
The name of the MSK cluster.
|
void |
setClusterType(String clusterType)
The type of the cluster.
|
void |
setState(String state)
The state of the cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterV2Result |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
CreateClusterV2Result |
withClusterName(String clusterName)
The name of the MSK cluster.
|
CreateClusterV2Result |
withClusterType(ClusterType clusterType)
The type of the cluster.
|
CreateClusterV2Result |
withClusterType(String clusterType)
The type of the cluster.
|
CreateClusterV2Result |
withState(ClusterState state)
The state of the cluster.
|
CreateClusterV2Result |
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 CreateClusterV2Result 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 CreateClusterV2Result 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 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 CreateClusterV2Result 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 CreateClusterV2Result 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 void setClusterType(String clusterType)
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
clusterType - The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
ClusterTypepublic String getClusterType()
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
ClusterTypepublic CreateClusterV2Result withClusterType(String clusterType)
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
clusterType - The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
ClusterTypepublic CreateClusterV2Result withClusterType(ClusterType clusterType)
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
clusterType - The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
ClusterTypepublic String toString()
toString in class ObjectObject.toString()public CreateClusterV2Result clone()