@Generated(value="software.amazon.awssdk:codegen") public final class CreateClusterResponse extends KafkaResponse implements ToCopyableBuilder<CreateClusterResponse.Builder,CreateClusterResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateClusterResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateClusterResponse.Builder |
builder() |
String |
clusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
String |
clusterName()
The name of the MSK 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 CreateClusterResponse.Builder> |
serializableBuilderClass() |
ClusterState |
state()
The state of the cluster.
|
String |
stateAsString()
The state of the cluster.
|
CreateClusterResponse.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 CreateClusterResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateClusterResponse.Builder,CreateClusterResponse>toBuilder in class AwsResponsepublic static CreateClusterResponse.Builder builder()
public static Class<? extends CreateClusterResponse.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.