@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cluster extends Object implements Serializable, Cloneable, StructuredPojo
A cluster is a set of five consensus-forming Regional endpoints that represent the infrastructure that hosts your routing controls. Typically, you host together on one cluster all of the routing controls for your applications.
Constructor and Description |
---|
Cluster() |
Modifier and Type | Method and Description |
---|---|
Cluster |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
List<ClusterEndpoint> |
getClusterEndpoints()
Endpoints for a cluster.
|
String |
getName()
The name of the cluster.
|
String |
getStatus()
Deployment status of a resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
void |
setClusterEndpoints(Collection<ClusterEndpoint> clusterEndpoints)
Endpoints for a cluster.
|
void |
setName(String name)
The name of the cluster.
|
void |
setStatus(String status)
Deployment status of a resource.
|
String |
toString()
Returns a string representation of this object.
|
Cluster |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
Cluster |
withClusterEndpoints(ClusterEndpoint... clusterEndpoints)
Endpoints for a cluster.
|
Cluster |
withClusterEndpoints(Collection<ClusterEndpoint> clusterEndpoints)
Endpoints for a cluster.
|
Cluster |
withName(String name)
The name of the cluster.
|
Cluster |
withStatus(Status status)
Deployment status of a resource.
|
Cluster |
withStatus(String status)
Deployment status of a resource.
|
public void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn
- The Amazon Resource Name (ARN) of the cluster.public String getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
public Cluster withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn
- The Amazon Resource Name (ARN) of the cluster.public List<ClusterEndpoint> getClusterEndpoints()
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 Cluster (Data Plane) Actions.
To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.
public void setClusterEndpoints(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 Cluster (Data Plane) Actions.
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 Cluster (Data Plane) Actions.
public Cluster withClusterEndpoints(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 Cluster (Data Plane) Actions.
NOTE: This method appends the values to the existing list (if any). Use
setClusterEndpoints(java.util.Collection)
or withClusterEndpoints(java.util.Collection)
if you
want to override the existing values.
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 Cluster (Data Plane) Actions.
public Cluster withClusterEndpoints(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 Cluster (Data Plane) Actions.
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 Cluster (Data Plane) Actions.
public void setName(String name)
The name of the cluster.
name
- The name of the cluster.public String getName()
The name of the cluster.
public Cluster withName(String name)
The name of the cluster.
name
- The name of the cluster.public void setStatus(String status)
Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
status
- Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.Status
public String getStatus()
Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
Status
public Cluster withStatus(String status)
Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
status
- Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.Status
public Cluster withStatus(Status status)
Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
status
- Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.Status
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.