Interface Cluster.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Cluster.Builder,
,Cluster> SdkBuilder<Cluster.Builder,
,Cluster> SdkPojo
- Enclosing class:
Cluster
-
Method Summary
Modifier and TypeMethodDescriptionactiveOperationArn
(String activeOperationArn) The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.clusterArn
(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.clusterName
(String clusterName) The name of the cluster.clusterType
(String clusterType) Cluster Type.clusterType
(ClusterType clusterType) Cluster Type.creationTime
(Instant creationTime) The time when the cluster was created.currentVersion
(String currentVersion) The current version of the MSK cluster.default Cluster.Builder
provisioned
(Consumer<Provisioned.Builder> provisioned) Information about the provisioned cluster.provisioned
(Provisioned provisioned) Information about the provisioned cluster.default Cluster.Builder
serverless
(Consumer<Serverless.Builder> serverless) Information about the serverless cluster.serverless
(Serverless serverless) Information about the serverless cluster.The state of the cluster.state
(ClusterState state) The state of the cluster.default Cluster.Builder
stateInfo
(Consumer<StateInfo.Builder> stateInfo) State Info for the Amazon MSK cluster.State Info for the Amazon MSK cluster.Tags attached to the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
activeOperationArn
The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
- Parameters:
activeOperationArn
-The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterType
Cluster Type.
- Parameters:
clusterType
-Cluster Type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterType
Cluster Type.
- Parameters:
clusterType
-Cluster Type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
The name of the cluster.
- Parameters:
clusterName
-The name of the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time when the cluster was created.
- Parameters:
creationTime
-The time when the cluster was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
The current version of the MSK cluster.
- Parameters:
currentVersion
-The current version of the MSK cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-
stateInfo
State Info for the Amazon MSK cluster.
- Parameters:
stateInfo
-State Info for the Amazon MSK cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateInfo
State Info for the Amazon MSK cluster.
This is a convenience method that creates an instance of theStateInfo.Builder
avoiding the need to create one manually viaStateInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateInfo(StateInfo)
.- Parameters:
stateInfo
- a consumer that will call methods onStateInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags attached to the cluster.
- Parameters:
tags
-Tags attached to the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioned
Information about the provisioned cluster.
- Parameters:
provisioned
-Information about the provisioned cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioned
Information about the provisioned cluster.
This is a convenience method that creates an instance of theProvisioned.Builder
avoiding the need to create one manually viaProvisioned.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisioned(Provisioned)
.- Parameters:
provisioned
- a consumer that will call methods onProvisioned.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverless
Information about the serverless cluster.
- Parameters:
serverless
-Information about the serverless cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverless
Information about the serverless cluster.
This is a convenience method that creates an instance of theServerless.Builder
avoiding the need to create one manually viaServerless.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverless(Serverless)
.- Parameters:
serverless
- a consumer that will call methods onServerless.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-