Class CreateClusterV2Response

    • Method Detail

      • clusterArn

        public final String clusterArn()

        The Amazon Resource Name (ARN) of the cluster.

        Returns:

        The Amazon Resource Name (ARN) of the cluster.

      • clusterName

        public final String clusterName()

        The name of the MSK cluster.

        Returns:

        The name of the MSK cluster.

      • state

        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().

        Returns:

        The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

        See Also:
        ClusterState
      • stateAsString

        public 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().

        Returns:

        The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

        See Also:
        ClusterState
      • clusterType

        public 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().

        Returns:

        The type of the cluster. The possible states are PROVISIONED or SERVERLESS.

        See Also:
        ClusterType
      • clusterTypeAsString

        public 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().

        Returns:

        The type of the cluster. The possible states are PROVISIONED or SERVERLESS.

        See Also:
        ClusterType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object