Interface Cluster.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Cluster.Builder,Cluster>
,SdkBuilder<Cluster.Builder,Cluster>
,SdkPojo
- Enclosing class:
- Cluster
public static interface Cluster.Builder extends SdkPojo, CopyableBuilder<Cluster.Builder,Cluster>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String clusterType)
Cluster Type.Cluster.Builder
clusterType(ClusterType 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(String state)
The state of the cluster.Cluster.Builder
state(ClusterState 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.-
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 Detail
-
activeOperationArn
Cluster.Builder activeOperationArn(String 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.Builder clusterType(String 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
,ClusterType
-
clusterType
Cluster.Builder clusterType(ClusterType 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
,ClusterType
-
clusterArn
Cluster.Builder clusterArn(String 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
Cluster.Builder clusterName(String 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
Cluster.Builder creationTime(Instant 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
Cluster.Builder currentVersion(String 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
Cluster.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
Cluster.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
-
stateInfo
Cluster.Builder stateInfo(StateInfo 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
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 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:
stateInfo(StateInfo)
-
tags
Cluster.Builder tags(Map<String,String> 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
Cluster.Builder provisioned(Provisioned 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
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 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:
provisioned(Provisioned)
-
serverless
Cluster.Builder serverless(Serverless 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
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 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:
serverless(Serverless)
-
-