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

    • clusterArn

      Cluster.Builder clusterArn(String clusterArn)

      The Amazon Resource Name (ARN) of the cluster.

      Parameters:
      clusterArn - The Amazon Resource Name (ARN) of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterEndpoints

      Cluster.Builder clusterEndpoints(Collection<ClusterEndpoint> clusterEndpoints)

      Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

      To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Routing Control Actions.

      Parameters:
      clusterEndpoints - Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

      To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Routing Control Actions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterEndpoints

      Cluster.Builder clusterEndpoints(ClusterEndpoint... clusterEndpoints)

      Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

      To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Routing Control Actions.

      Parameters:
      clusterEndpoints - Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

      To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Routing Control Actions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterEndpoints

      Cluster.Builder clusterEndpoints(Consumer<ClusterEndpoint.Builder>... clusterEndpoints)

      Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

      To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Routing Control Actions.

      This is a convenience method that creates an instance of the ClusterEndpoint.Builder avoiding the need to create one manually via ClusterEndpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clusterEndpoints(List<ClusterEndpoint>).

      Parameters:
      clusterEndpoints - a consumer that will call methods on ClusterEndpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Cluster.Builder name(String name)

      The name of the cluster.

      Parameters:
      name - The name of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Cluster.Builder status(String status)

      Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

      Parameters:
      status - Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Cluster.Builder status(Status status)

      Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

      Parameters:
      status - Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • owner

      Cluster.Builder owner(String owner)

      The Amazon Web Services account ID of the cluster owner.

      Parameters:
      owner - The Amazon Web Services account ID of the cluster owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.