@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSRoute53RecoveryClusterAsync extends AbstractAWSRoute53RecoveryCluster implements AWSRoute53RecoveryClusterAsync
AWSRoute53RecoveryClusterAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
getCachedResponseMetadata, getRoutingControlState, shutdown, updateRoutingControlState, updateRoutingControlStates
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, getRoutingControlState, shutdown, updateRoutingControlState, updateRoutingControlStates
public Future<GetRoutingControlStateResult> getRoutingControlStateAsync(GetRoutingControlStateRequest request)
AWSRoute53RecoveryClusterAsync
Get 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.
getRoutingControlStateAsync
in interface AWSRoute53RecoveryClusterAsync
public Future<GetRoutingControlStateResult> getRoutingControlStateAsync(GetRoutingControlStateRequest request, AsyncHandler<GetRoutingControlStateRequest,GetRoutingControlStateResult> asyncHandler)
AWSRoute53RecoveryClusterAsync
Get 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.
getRoutingControlStateAsync
in interface AWSRoute53RecoveryClusterAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRoutingControlStateResult> updateRoutingControlStateAsync(UpdateRoutingControlStateRequest request)
AWSRoute53RecoveryClusterAsync
Set 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.
updateRoutingControlStateAsync
in interface AWSRoute53RecoveryClusterAsync
public Future<UpdateRoutingControlStateResult> updateRoutingControlStateAsync(UpdateRoutingControlStateRequest request, AsyncHandler<UpdateRoutingControlStateRequest,UpdateRoutingControlStateResult> asyncHandler)
AWSRoute53RecoveryClusterAsync
Set 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.
updateRoutingControlStateAsync
in interface AWSRoute53RecoveryClusterAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRoutingControlStatesResult> updateRoutingControlStatesAsync(UpdateRoutingControlStatesRequest request)
AWSRoute53RecoveryClusterAsync
Set 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.
updateRoutingControlStatesAsync
in interface AWSRoute53RecoveryClusterAsync
public Future<UpdateRoutingControlStatesResult> updateRoutingControlStatesAsync(UpdateRoutingControlStatesRequest request, AsyncHandler<UpdateRoutingControlStatesRequest,UpdateRoutingControlStatesResult> asyncHandler)
AWSRoute53RecoveryClusterAsync
Set 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.
updateRoutingControlStatesAsync
in interface AWSRoute53RecoveryClusterAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.