public static interface Cluster.Builder extends SdkPojo, CopyableBuilder<Cluster.Builder,Cluster>
| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
activeOperationArn(String activeOperationArn)
The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
|
Cluster.Builder |
clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
Cluster.Builder |
clusterName(String clusterName)
The name of the cluster.
|
Cluster.Builder |
clusterType(ClusterType clusterType)
Cluster Type.
|
Cluster.Builder |
clusterType(String clusterType)
Cluster Type.
|
Cluster.Builder |
creationTime(Instant creationTime)
The time when the cluster was created.
|
Cluster.Builder |
currentVersion(String currentVersion)
The current version of the MSK cluster.
|
default Cluster.Builder |
provisioned(Consumer<Provisioned.Builder> provisioned)
Information about the provisioned cluster.
|
Cluster.Builder |
provisioned(Provisioned provisioned)
Information about the provisioned cluster.
|
default Cluster.Builder |
serverless(Consumer<Serverless.Builder> serverless)
Information about the serverless cluster.
|
Cluster.Builder |
serverless(Serverless serverless)
Information about the serverless cluster.
|
Cluster.Builder |
state(ClusterState state)
The state of the cluster.
|
Cluster.Builder |
state(String state)
The state of the cluster.
|
default Cluster.Builder |
stateInfo(Consumer<StateInfo.Builder> stateInfo)
State Info for the Amazon MSK cluster.
|
Cluster.Builder |
stateInfo(StateInfo stateInfo)
State Info for the Amazon MSK cluster.
|
Cluster.Builder |
tags(Map<String,String> tags)
Tags attached to the cluster.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCluster.Builder activeOperationArn(String activeOperationArn)
The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
activeOperationArn - The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
Cluster.Builder clusterType(String clusterType)
Cluster Type.
clusterType - Cluster Type.
ClusterType,
ClusterTypeCluster.Builder clusterType(ClusterType clusterType)
Cluster Type.
clusterType - Cluster Type.
ClusterType,
ClusterTypeCluster.Builder clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Cluster.Builder clusterName(String clusterName)
The name of the cluster.
clusterName - The name of the cluster.
Cluster.Builder creationTime(Instant creationTime)
The time when the cluster was created.
creationTime - The time when the cluster was created.
Cluster.Builder currentVersion(String currentVersion)
The current version of the MSK cluster.
currentVersion - The current version of the MSK cluster.
Cluster.Builder state(String state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state - The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterState,
ClusterStateCluster.Builder state(ClusterState state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state - The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterState,
ClusterStateCluster.Builder stateInfo(StateInfo stateInfo)
State Info for the Amazon MSK cluster.
stateInfo - State Info for the Amazon MSK cluster.
default Cluster.Builder stateInfo(Consumer<StateInfo.Builder> 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 via StateInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to stateInfo(StateInfo).
stateInfo - a consumer that will call methods on StateInfo.BuilderstateInfo(StateInfo)Cluster.Builder tags(Map<String,String> tags)
Tags attached to the cluster.
tags - Tags attached to the cluster.
Cluster.Builder provisioned(Provisioned provisioned)
Information about the provisioned cluster.
provisioned - Information about the provisioned cluster.
default Cluster.Builder provisioned(Consumer<Provisioned.Builder> 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 via Provisioned.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to provisioned(Provisioned).
provisioned - a consumer that will call methods on Provisioned.Builderprovisioned(Provisioned)Cluster.Builder serverless(Serverless serverless)
Information about the serverless cluster.
serverless - Information about the serverless cluster.
default Cluster.Builder serverless(Consumer<Serverless.Builder> 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 via Serverless.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to serverless(Serverless).
serverless - a consumer that will call methods on Serverless.Builderserverless(Serverless)Copyright © 2023. All rights reserved.