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 Details

    • 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

      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:
    • 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:
    • 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

      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 the StateInfo.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).

      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:
    • 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 the Provisioned.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).

      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:
    • 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 the Serverless.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).

      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: