/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.route53recoverycontrolconfig.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A set of five redundant Regional endpoints against which you can execute API calls to update or get the state of * routing controls. You can host multiple control panels and routing controls on one cluster. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Cluster implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the cluster. *
*/ private String clusterArn; /** ** 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. *
*/ private java.util.List* The name of the cluster. *
*/ private String name; /** ** Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION. *
*/ private String status; /** ** The Amazon Resource Name (ARN) of the cluster. *
* * @param clusterArn * The Amazon Resource Name (ARN) of the cluster. */ public void setClusterArn(String clusterArn) { this.clusterArn = clusterArn; } /** ** The Amazon Resource Name (ARN) of the cluster. *
* * @return The Amazon Resource Name (ARN) of the cluster. */ public String getClusterArn() { return this.clusterArn; } /** ** The Amazon Resource Name (ARN) of the cluster. *
* * @param clusterArn * The Amazon Resource Name (ARN) of the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public Cluster withClusterArn(String clusterArn) { setClusterArn(clusterArn); return this; } /** ** 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. *
* * @return 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.
*/
public java.util.List
* 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.
*
* To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller
* Routing Control Actions.
*/
public void setClusterEndpoints(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setClusterEndpoints(java.util.Collection)} or {@link #withClusterEndpoints(java.util.Collection)} if you
* want to override the existing values.
*
* To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller
* Routing Control Actions.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Cluster withClusterEndpoints(ClusterEndpoint... clusterEndpoints) {
if (this.clusterEndpoints == null) {
setClusterEndpoints(new java.util.ArrayList
* 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.
*
* To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller
* Routing Control Actions.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Cluster withClusterEndpoints(java.util.Collection
* The name of the cluster.
*
* The name of the cluster.
*
* The name of the cluster.
*
* Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
*
* Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
*
* Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
*
* Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
*