@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cluster extends Object implements Serializable, Cloneable, StructuredPojo
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.
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 |
getOwner()
The Amazon Web Services account ID of the cluster owner.
|
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 |
setOwner(String owner)
The Amazon Web Services account ID of the cluster owner.
|
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 |
withOwner(String owner)
The Amazon Web Services account ID of the cluster owner.
|
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 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(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.
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.
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 Routing Control 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 Routing Control 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 Routing Control 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 Routing Control 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 void setOwner(String owner)
The Amazon Web Services account ID of the cluster owner.
owner
- The Amazon Web Services account ID of the cluster owner.public String getOwner()
The Amazon Web Services account ID of the cluster owner.
public Cluster withOwner(String owner)
The Amazon Web Services account ID of the cluster owner.
owner
- The Amazon Web Services account ID of the cluster owner.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.