Interface Cluster.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Cluster.Builder,,- Cluster> - SdkBuilder<Cluster.Builder,,- Cluster> - SdkPojo
- Enclosing class:
- Cluster
- 
Method SummaryModifier 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.Builderprovisioned(Consumer<Provisioned.Builder> provisioned) Information about the provisioned cluster.provisioned(Provisioned provisioned) Information about the provisioned cluster.default Cluster.Builderserverless(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.BuilderstateInfo(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
activeOperationArnThe 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.
 
- 
clusterTypeCluster Type. - Parameters:
- clusterType-- Cluster Type. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
clusterTypeCluster Type. - Parameters:
- clusterType-- Cluster Type. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
clusterArnThe 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.
 
- 
clusterNameThe 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.
 
- 
creationTimeThe 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.
 
- 
currentVersionThe 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.
 
- 
stateThe 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:
 
- 
stateThe 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:
 
- 
stateInfoState 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.
 
- 
stateInfoState Info for the Amazon MSK cluster. This is a convenience method that creates an instance of theStateInfo.Builderavoiding the need to create one manually viaStateInfo.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateInfo(StateInfo).- Parameters:
- stateInfo- a consumer that will call methods on- StateInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsTags 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.
 
- 
provisionedInformation 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.
 
- 
provisionedInformation about the provisioned cluster. This is a convenience method that creates an instance of theProvisioned.Builderavoiding the need to create one manually viaProvisioned.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovisioned(Provisioned).- Parameters:
- provisioned- a consumer that will call methods on- Provisioned.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
serverlessInformation 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.
 
- 
serverlessInformation about the serverless cluster. This is a convenience method that creates an instance of theServerless.Builderavoiding the need to create one manually viaServerless.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverless(Serverless).- Parameters:
- serverless- a consumer that will call methods on- Serverless.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-