@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSdrsAsyncClient extends AWSdrsClient implements AWSdrsAsync
AsyncHandler
can be used to receive notification when an
asynchronous operation completes.
AWS Elastic Disaster Recovery Service.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createReplicationConfigurationTemplate, deleteJob, deleteRecoveryInstance, deleteReplicationConfigurationTemplate, deleteSourceServer, describeJobLogItems, describeJobs, describeRecoveryInstances, describeRecoverySnapshots, describeReplicationConfigurationTemplates, describeSourceServers, disconnectRecoveryInstance, disconnectSourceServer, getCachedResponseMetadata, getFailbackReplicationConfiguration, getLaunchConfiguration, getReplicationConfiguration, initializeService, listTagsForResource, retryDataReplication, startFailbackLaunch, startRecovery, stopFailback, tagResource, terminateRecoveryInstances, untagResource, updateFailbackReplicationConfiguration, updateLaunchConfiguration, updateReplicationConfiguration, updateReplicationConfigurationTemplate
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createReplicationConfigurationTemplate, deleteJob, deleteRecoveryInstance, deleteReplicationConfigurationTemplate, deleteSourceServer, describeJobLogItems, describeJobs, describeRecoveryInstances, describeRecoverySnapshots, describeReplicationConfigurationTemplates, describeSourceServers, disconnectRecoveryInstance, disconnectSourceServer, getCachedResponseMetadata, getFailbackReplicationConfiguration, getLaunchConfiguration, getReplicationConfiguration, initializeService, listTagsForResource, retryDataReplication, startFailbackLaunch, startRecovery, stopFailback, tagResource, terminateRecoveryInstances, untagResource, updateFailbackReplicationConfiguration, updateLaunchConfiguration, updateReplicationConfiguration, updateReplicationConfigurationTemplate
public static AWSdrsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateReplicationConfigurationTemplateResult> createReplicationConfigurationTemplateAsync(CreateReplicationConfigurationTemplateRequest request)
AWSdrsAsync
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateAsync
in interface AWSdrsAsync
public Future<CreateReplicationConfigurationTemplateResult> createReplicationConfigurationTemplateAsync(CreateReplicationConfigurationTemplateRequest request, AsyncHandler<CreateReplicationConfigurationTemplateRequest,CreateReplicationConfigurationTemplateResult> asyncHandler)
AWSdrsAsync
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateAsync
in interface AWSdrsAsync
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<DeleteJobResult> deleteJobAsync(DeleteJobRequest request)
AWSdrsAsync
Deletes a single Job by ID.
deleteJobAsync
in interface AWSdrsAsync
public Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResult> asyncHandler)
AWSdrsAsync
Deletes a single Job by ID.
deleteJobAsync
in interface AWSdrsAsync
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<DeleteRecoveryInstanceResult> deleteRecoveryInstanceAsync(DeleteRecoveryInstanceRequest request)
AWSdrsAsync
Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
deleteRecoveryInstanceAsync
in interface AWSdrsAsync
public Future<DeleteRecoveryInstanceResult> deleteRecoveryInstanceAsync(DeleteRecoveryInstanceRequest request, AsyncHandler<DeleteRecoveryInstanceRequest,DeleteRecoveryInstanceResult> asyncHandler)
AWSdrsAsync
Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
deleteRecoveryInstanceAsync
in interface AWSdrsAsync
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<DeleteReplicationConfigurationTemplateResult> deleteReplicationConfigurationTemplateAsync(DeleteReplicationConfigurationTemplateRequest request)
AWSdrsAsync
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplateAsync
in interface AWSdrsAsync
public Future<DeleteReplicationConfigurationTemplateResult> deleteReplicationConfigurationTemplateAsync(DeleteReplicationConfigurationTemplateRequest request, AsyncHandler<DeleteReplicationConfigurationTemplateRequest,DeleteReplicationConfigurationTemplateResult> asyncHandler)
AWSdrsAsync
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplateAsync
in interface AWSdrsAsync
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<DeleteSourceServerResult> deleteSourceServerAsync(DeleteSourceServerRequest request)
AWSdrsAsync
Deletes a single Source Server by ID. The Source Server must be disconnected first.
deleteSourceServerAsync
in interface AWSdrsAsync
public Future<DeleteSourceServerResult> deleteSourceServerAsync(DeleteSourceServerRequest request, AsyncHandler<DeleteSourceServerRequest,DeleteSourceServerResult> asyncHandler)
AWSdrsAsync
Deletes a single Source Server by ID. The Source Server must be disconnected first.
deleteSourceServerAsync
in interface AWSdrsAsync
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<DescribeJobLogItemsResult> describeJobLogItemsAsync(DescribeJobLogItemsRequest request)
AWSdrsAsync
Retrieves a detailed Job log with pagination.
describeJobLogItemsAsync
in interface AWSdrsAsync
public Future<DescribeJobLogItemsResult> describeJobLogItemsAsync(DescribeJobLogItemsRequest request, AsyncHandler<DescribeJobLogItemsRequest,DescribeJobLogItemsResult> asyncHandler)
AWSdrsAsync
Retrieves a detailed Job log with pagination.
describeJobLogItemsAsync
in interface AWSdrsAsync
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<DescribeJobsResult> describeJobsAsync(DescribeJobsRequest request)
AWSdrsAsync
Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
describeJobsAsync
in interface AWSdrsAsync
public Future<DescribeJobsResult> describeJobsAsync(DescribeJobsRequest request, AsyncHandler<DescribeJobsRequest,DescribeJobsResult> asyncHandler)
AWSdrsAsync
Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
describeJobsAsync
in interface AWSdrsAsync
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<DescribeRecoveryInstancesResult> describeRecoveryInstancesAsync(DescribeRecoveryInstancesRequest request)
AWSdrsAsync
Lists all Recovery Instances or multiple Recovery Instances by ID.
describeRecoveryInstancesAsync
in interface AWSdrsAsync
public Future<DescribeRecoveryInstancesResult> describeRecoveryInstancesAsync(DescribeRecoveryInstancesRequest request, AsyncHandler<DescribeRecoveryInstancesRequest,DescribeRecoveryInstancesResult> asyncHandler)
AWSdrsAsync
Lists all Recovery Instances or multiple Recovery Instances by ID.
describeRecoveryInstancesAsync
in interface AWSdrsAsync
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<DescribeRecoverySnapshotsResult> describeRecoverySnapshotsAsync(DescribeRecoverySnapshotsRequest request)
AWSdrsAsync
Lists all Recovery Snapshots for a single Source Server.
describeRecoverySnapshotsAsync
in interface AWSdrsAsync
public Future<DescribeRecoverySnapshotsResult> describeRecoverySnapshotsAsync(DescribeRecoverySnapshotsRequest request, AsyncHandler<DescribeRecoverySnapshotsRequest,DescribeRecoverySnapshotsResult> asyncHandler)
AWSdrsAsync
Lists all Recovery Snapshots for a single Source Server.
describeRecoverySnapshotsAsync
in interface AWSdrsAsync
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<DescribeReplicationConfigurationTemplatesResult> describeReplicationConfigurationTemplatesAsync(DescribeReplicationConfigurationTemplatesRequest request)
AWSdrsAsync
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesAsync
in interface AWSdrsAsync
public Future<DescribeReplicationConfigurationTemplatesResult> describeReplicationConfigurationTemplatesAsync(DescribeReplicationConfigurationTemplatesRequest request, AsyncHandler<DescribeReplicationConfigurationTemplatesRequest,DescribeReplicationConfigurationTemplatesResult> asyncHandler)
AWSdrsAsync
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesAsync
in interface AWSdrsAsync
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<DescribeSourceServersResult> describeSourceServersAsync(DescribeSourceServersRequest request)
AWSdrsAsync
Lists all Source Servers or multiple Source Servers filtered by ID.
describeSourceServersAsync
in interface AWSdrsAsync
public Future<DescribeSourceServersResult> describeSourceServersAsync(DescribeSourceServersRequest request, AsyncHandler<DescribeSourceServersRequest,DescribeSourceServersResult> asyncHandler)
AWSdrsAsync
Lists all Source Servers or multiple Source Servers filtered by ID.
describeSourceServersAsync
in interface AWSdrsAsync
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<DisconnectRecoveryInstanceResult> disconnectRecoveryInstanceAsync(DisconnectRecoveryInstanceRequest request)
AWSdrsAsync
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
disconnectRecoveryInstanceAsync
in interface AWSdrsAsync
public Future<DisconnectRecoveryInstanceResult> disconnectRecoveryInstanceAsync(DisconnectRecoveryInstanceRequest request, AsyncHandler<DisconnectRecoveryInstanceRequest,DisconnectRecoveryInstanceResult> asyncHandler)
AWSdrsAsync
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
disconnectRecoveryInstanceAsync
in interface AWSdrsAsync
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<DisconnectSourceServerResult> disconnectSourceServerAsync(DisconnectSourceServerRequest request)
AWSdrsAsync
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
disconnectSourceServerAsync
in interface AWSdrsAsync
public Future<DisconnectSourceServerResult> disconnectSourceServerAsync(DisconnectSourceServerRequest request, AsyncHandler<DisconnectSourceServerRequest,DisconnectSourceServerResult> asyncHandler)
AWSdrsAsync
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
disconnectSourceServerAsync
in interface AWSdrsAsync
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<GetFailbackReplicationConfigurationResult> getFailbackReplicationConfigurationAsync(GetFailbackReplicationConfigurationRequest request)
AWSdrsAsync
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
getFailbackReplicationConfigurationAsync
in interface AWSdrsAsync
public Future<GetFailbackReplicationConfigurationResult> getFailbackReplicationConfigurationAsync(GetFailbackReplicationConfigurationRequest request, AsyncHandler<GetFailbackReplicationConfigurationRequest,GetFailbackReplicationConfigurationResult> asyncHandler)
AWSdrsAsync
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
getFailbackReplicationConfigurationAsync
in interface AWSdrsAsync
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<GetLaunchConfigurationResult> getLaunchConfigurationAsync(GetLaunchConfigurationRequest request)
AWSdrsAsync
Gets a LaunchConfiguration, filtered by Source Server IDs.
getLaunchConfigurationAsync
in interface AWSdrsAsync
public Future<GetLaunchConfigurationResult> getLaunchConfigurationAsync(GetLaunchConfigurationRequest request, AsyncHandler<GetLaunchConfigurationRequest,GetLaunchConfigurationResult> asyncHandler)
AWSdrsAsync
Gets a LaunchConfiguration, filtered by Source Server IDs.
getLaunchConfigurationAsync
in interface AWSdrsAsync
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<GetReplicationConfigurationResult> getReplicationConfigurationAsync(GetReplicationConfigurationRequest request)
AWSdrsAsync
Gets a ReplicationConfiguration, filtered by Source Server ID.
getReplicationConfigurationAsync
in interface AWSdrsAsync
public Future<GetReplicationConfigurationResult> getReplicationConfigurationAsync(GetReplicationConfigurationRequest request, AsyncHandler<GetReplicationConfigurationRequest,GetReplicationConfigurationResult> asyncHandler)
AWSdrsAsync
Gets a ReplicationConfiguration, filtered by Source Server ID.
getReplicationConfigurationAsync
in interface AWSdrsAsync
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<InitializeServiceResult> initializeServiceAsync(InitializeServiceRequest request)
AWSdrsAsync
Initialize Elastic Disaster Recovery.
initializeServiceAsync
in interface AWSdrsAsync
public Future<InitializeServiceResult> initializeServiceAsync(InitializeServiceRequest request, AsyncHandler<InitializeServiceRequest,InitializeServiceResult> asyncHandler)
AWSdrsAsync
Initialize Elastic Disaster Recovery.
initializeServiceAsync
in interface AWSdrsAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSdrsAsync
List all tags for your Elastic Disaster Recovery resources.
listTagsForResourceAsync
in interface AWSdrsAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSdrsAsync
List all tags for your Elastic Disaster Recovery resources.
listTagsForResourceAsync
in interface AWSdrsAsync
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<RetryDataReplicationResult> retryDataReplicationAsync(RetryDataReplicationRequest request)
AWSdrsAsync
Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
retryDataReplicationAsync
in interface AWSdrsAsync
public Future<RetryDataReplicationResult> retryDataReplicationAsync(RetryDataReplicationRequest request, AsyncHandler<RetryDataReplicationRequest,RetryDataReplicationResult> asyncHandler)
AWSdrsAsync
Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
retryDataReplicationAsync
in interface AWSdrsAsync
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<StartFailbackLaunchResult> startFailbackLaunchAsync(StartFailbackLaunchRequest request)
AWSdrsAsync
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
startFailbackLaunchAsync
in interface AWSdrsAsync
public Future<StartFailbackLaunchResult> startFailbackLaunchAsync(StartFailbackLaunchRequest request, AsyncHandler<StartFailbackLaunchRequest,StartFailbackLaunchResult> asyncHandler)
AWSdrsAsync
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
startFailbackLaunchAsync
in interface AWSdrsAsync
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<StartRecoveryResult> startRecoveryAsync(StartRecoveryRequest request)
AWSdrsAsync
Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
startRecoveryAsync
in interface AWSdrsAsync
public Future<StartRecoveryResult> startRecoveryAsync(StartRecoveryRequest request, AsyncHandler<StartRecoveryRequest,StartRecoveryResult> asyncHandler)
AWSdrsAsync
Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
startRecoveryAsync
in interface AWSdrsAsync
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<StopFailbackResult> stopFailbackAsync(StopFailbackRequest request)
AWSdrsAsync
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
stopFailbackAsync
in interface AWSdrsAsync
public Future<StopFailbackResult> stopFailbackAsync(StopFailbackRequest request, AsyncHandler<StopFailbackRequest,StopFailbackResult> asyncHandler)
AWSdrsAsync
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
stopFailbackAsync
in interface AWSdrsAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSdrsAsync
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
tagResourceAsync
in interface AWSdrsAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSdrsAsync
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
tagResourceAsync
in interface AWSdrsAsync
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<TerminateRecoveryInstancesResult> terminateRecoveryInstancesAsync(TerminateRecoveryInstancesRequest request)
AWSdrsAsync
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
terminateRecoveryInstancesAsync
in interface AWSdrsAsync
public Future<TerminateRecoveryInstancesResult> terminateRecoveryInstancesAsync(TerminateRecoveryInstancesRequest request, AsyncHandler<TerminateRecoveryInstancesRequest,TerminateRecoveryInstancesResult> asyncHandler)
AWSdrsAsync
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
terminateRecoveryInstancesAsync
in interface AWSdrsAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSdrsAsync
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
untagResourceAsync
in interface AWSdrsAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSdrsAsync
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
untagResourceAsync
in interface AWSdrsAsync
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<UpdateFailbackReplicationConfigurationResult> updateFailbackReplicationConfigurationAsync(UpdateFailbackReplicationConfigurationRequest request)
AWSdrsAsync
Allows you to update the failback replication configuration of a Recovery Instance by ID.
updateFailbackReplicationConfigurationAsync
in interface AWSdrsAsync
public Future<UpdateFailbackReplicationConfigurationResult> updateFailbackReplicationConfigurationAsync(UpdateFailbackReplicationConfigurationRequest request, AsyncHandler<UpdateFailbackReplicationConfigurationRequest,UpdateFailbackReplicationConfigurationResult> asyncHandler)
AWSdrsAsync
Allows you to update the failback replication configuration of a Recovery Instance by ID.
updateFailbackReplicationConfigurationAsync
in interface AWSdrsAsync
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<UpdateLaunchConfigurationResult> updateLaunchConfigurationAsync(UpdateLaunchConfigurationRequest request)
AWSdrsAsync
Updates a LaunchConfiguration by Source Server ID.
updateLaunchConfigurationAsync
in interface AWSdrsAsync
public Future<UpdateLaunchConfigurationResult> updateLaunchConfigurationAsync(UpdateLaunchConfigurationRequest request, AsyncHandler<UpdateLaunchConfigurationRequest,UpdateLaunchConfigurationResult> asyncHandler)
AWSdrsAsync
Updates a LaunchConfiguration by Source Server ID.
updateLaunchConfigurationAsync
in interface AWSdrsAsync
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<UpdateReplicationConfigurationResult> updateReplicationConfigurationAsync(UpdateReplicationConfigurationRequest request)
AWSdrsAsync
Allows you to update a ReplicationConfiguration by Source Server ID.
updateReplicationConfigurationAsync
in interface AWSdrsAsync
public Future<UpdateReplicationConfigurationResult> updateReplicationConfigurationAsync(UpdateReplicationConfigurationRequest request, AsyncHandler<UpdateReplicationConfigurationRequest,UpdateReplicationConfigurationResult> asyncHandler)
AWSdrsAsync
Allows you to update a ReplicationConfiguration by Source Server ID.
updateReplicationConfigurationAsync
in interface AWSdrsAsync
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<UpdateReplicationConfigurationTemplateResult> updateReplicationConfigurationTemplateAsync(UpdateReplicationConfigurationTemplateRequest request)
AWSdrsAsync
Updates a ReplicationConfigurationTemplate by ID.
updateReplicationConfigurationTemplateAsync
in interface AWSdrsAsync
public Future<UpdateReplicationConfigurationTemplateResult> updateReplicationConfigurationTemplateAsync(UpdateReplicationConfigurationTemplateRequest request, AsyncHandler<UpdateReplicationConfigurationTemplateRequest,UpdateReplicationConfigurationTemplateResult> asyncHandler)
AWSdrsAsync
Updates a ReplicationConfigurationTemplate by ID.
updateReplicationConfigurationTemplateAsync
in interface AWSdrsAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSdrs
shutdown
in class AWSdrsClient