@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSRoute53RecoveryCluster extends Object implements AWSRoute53RecoveryCluster
AWSRoute53RecoveryCluster. Convenient method forms pass through to the
corresponding overload that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAWSRoute53RecoveryCluster() |
| Modifier and Type | Method and Description |
|---|---|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetRoutingControlStateResult |
getRoutingControlState(GetRoutingControlStateRequest request)
Get the state for a routing control.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateRoutingControlStateResult |
updateRoutingControlState(UpdateRoutingControlStateRequest request)
Set the state of the routing control to reroute traffic.
|
UpdateRoutingControlStatesResult |
updateRoutingControlStates(UpdateRoutingControlStatesRequest request)
Set multiple routing control states.
|
public GetRoutingControlStateResult getRoutingControlState(GetRoutingControlStateRequest request)
AWSRoute53RecoveryClusterGet the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.
Before you can create a routing control, you first must create a cluster to host the control. For more information, see CreateCluster. Access one of the endpoints for the cluster to get or update the routing control state to redirect traffic.
For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.
getRoutingControlState in interface AWSRoute53RecoveryClusterpublic UpdateRoutingControlStateResult updateRoutingControlState(UpdateRoutingControlStateRequest request)
AWSRoute53RecoveryClusterSet the state of the routing control to reroute traffic. You can set the value to be On or Off. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.
For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.
updateRoutingControlState in interface AWSRoute53RecoveryClusterpublic UpdateRoutingControlStatesResult updateRoutingControlStates(UpdateRoutingControlStatesRequest request)
AWSRoute53RecoveryClusterSet multiple routing control states. You can set the value for each state to be On or Off. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.
For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.
updateRoutingControlStates in interface AWSRoute53RecoveryClusterpublic void shutdown()
AWSRoute53RecoveryClustershutdown in interface AWSRoute53RecoveryClusterpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSRoute53RecoveryClusterResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSRoute53RecoveryClusterrequest - The originally executed request.Copyright © 2021. All rights reserved.