@Generated(value="software.amazon.awssdk:codegen") public final class CreateClusterV2Response extends KafkaResponse implements ToCopyableBuilder<CreateClusterV2Response.Builder,CreateClusterV2Response>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateClusterV2Response.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateClusterV2Response.Builder |
builder() |
String |
clusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
String |
clusterName()
The name of the MSK cluster.
|
ClusterType |
clusterType()
The type of the cluster.
|
String |
clusterTypeAsString()
The type of the cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateClusterV2Response.Builder> |
serializableBuilderClass() |
ClusterState |
state()
The state of the cluster.
|
String |
stateAsString()
The state of the cluster.
|
CreateClusterV2Response.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clusterArn()
The Amazon Resource Name (ARN) of the cluster.
The Amazon Resource Name (ARN) of the cluster.
public final String clusterName()
The name of the MSK cluster.
The name of the MSK cluster.
public final ClusterState state()
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
If the service returns an enum value that is not available in the current SDK version, state will return
ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterStatepublic final String stateAsString()
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
If the service returns an enum value that is not available in the current SDK version, state will return
ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterStatepublic final ClusterType clusterType()
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
If the service returns an enum value that is not available in the current SDK version, clusterType will
return ClusterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
clusterTypeAsString().
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
ClusterTypepublic final String clusterTypeAsString()
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
If the service returns an enum value that is not available in the current SDK version, clusterType will
return ClusterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
clusterTypeAsString().
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
ClusterTypepublic CreateClusterV2Response.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateClusterV2Response.Builder,CreateClusterV2Response>toBuilder in class AwsResponsepublic static CreateClusterV2Response.Builder builder()
public static Class<? extends CreateClusterV2Response.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.