Interface CreateClusterV2Response.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateClusterV2Response.Builder,CreateClusterV2Response>
,KafkaResponse.Builder
,SdkBuilder<CreateClusterV2Response.Builder,CreateClusterV2Response>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateClusterV2Response
public static interface CreateClusterV2Response.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<CreateClusterV2Response.Builder,CreateClusterV2Response>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateClusterV2Response.Builder
clusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.CreateClusterV2Response.Builder
clusterName(String clusterName)
The name of the MSK cluster.CreateClusterV2Response.Builder
clusterType(String clusterType)
The type of the cluster.CreateClusterV2Response.Builder
clusterType(ClusterType clusterType)
The type of the cluster.CreateClusterV2Response.Builder
state(String state)
The state of the cluster.CreateClusterV2Response.Builder
state(ClusterState state)
The state of the cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clusterArn
CreateClusterV2Response.Builder clusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) of the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
CreateClusterV2Response.Builder clusterName(String clusterName)
The name of the MSK cluster.
- Parameters:
clusterName
-The name of the MSK cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
CreateClusterV2Response.Builder state(String state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Parameters:
state
-The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterState
,ClusterState
-
state
CreateClusterV2Response.Builder state(ClusterState state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Parameters:
state
-The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterState
,ClusterState
-
clusterType
CreateClusterV2Response.Builder clusterType(String clusterType)
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
- Parameters:
clusterType
-The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterType
,ClusterType
-
clusterType
CreateClusterV2Response.Builder clusterType(ClusterType clusterType)
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
- Parameters:
clusterType
-The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterType
,ClusterType
-
-