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 Modifier and Type Method Description Cluster.BuilderclusterArn(String clusterArn)The Amazon Resource Name (ARN) of the cluster.Cluster.BuilderclusterEndpoints(Collection<ClusterEndpoint> clusterEndpoints)Endpoints for a cluster.Cluster.BuilderclusterEndpoints(Consumer<ClusterEndpoint.Builder>... clusterEndpoints)Endpoints for a cluster.Cluster.BuilderclusterEndpoints(ClusterEndpoint... clusterEndpoints)Endpoints for a cluster.Cluster.Buildername(String name)The name of the cluster.Cluster.Builderowner(String owner)The Amazon Web Services account ID of the cluster owner.Cluster.Builderstatus(String status)Deployment status of a resource.Cluster.Builderstatus(Status status)Deployment status of a resource.-
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
-
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 theClusterEndpoint.Builderavoiding the need to create one manually viaClusterEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#clusterEndpoints(List.) - Parameters:
clusterEndpoints- a consumer that will call methods onClusterEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#clusterEndpoints(java.util.Collection)
-
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.
-
status
Cluster.Builder status(Status status)
Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
-
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.
-
-