com.amazonaws.services.drs.AWSdrsAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-drs Show documentation
/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.drs;
import javax.annotation.Generated;
import com.amazonaws.services.drs.model.*;
/**
* Interface for accessing drs asynchronously. Each asynchronous method will return a Java Future object representing
* the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive notification when
* an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.drs.AbstractAWSdrsAsync} instead.
*
*
*
* AWS Elastic Disaster Recovery Service.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSdrsAsync extends AWSdrs {
/**
*
* Create an extended source server in the target Account based on the source server in staging account.
*
*
* @param createExtendedSourceServerRequest
* @return A Java Future containing the result of the CreateExtendedSourceServer operation returned by the service.
* @sample AWSdrsAsync.CreateExtendedSourceServer
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createExtendedSourceServerAsync(
CreateExtendedSourceServerRequest createExtendedSourceServerRequest);
/**
*
* Create an extended source server in the target Account based on the source server in staging account.
*
*
* @param createExtendedSourceServerRequest
* @param 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.
* @return A Java Future containing the result of the CreateExtendedSourceServer operation returned by the service.
* @sample AWSdrsAsyncHandler.CreateExtendedSourceServer
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createExtendedSourceServerAsync(
CreateExtendedSourceServerRequest createExtendedSourceServerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new ReplicationConfigurationTemplate.
*
*
* @param createReplicationConfigurationTemplateRequest
* @return A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by
* the service.
* @sample AWSdrsAsync.CreateReplicationConfigurationTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future createReplicationConfigurationTemplateAsync(
CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest);
/**
*
* Creates a new ReplicationConfigurationTemplate.
*
*
* @param createReplicationConfigurationTemplateRequest
* @param 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.
* @return A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by
* the service.
* @sample AWSdrsAsyncHandler.CreateReplicationConfigurationTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future createReplicationConfigurationTemplateAsync(
CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a single Job by ID.
*
*
* @param deleteJobRequest
* @return A Java Future containing the result of the DeleteJob operation returned by the service.
* @sample AWSdrsAsync.DeleteJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteJobAsync(DeleteJobRequest deleteJobRequest);
/**
*
* Deletes a single Job by ID.
*
*
* @param deleteJobRequest
* @param 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.
* @return A Java Future containing the result of the DeleteJob operation returned by the service.
* @sample AWSdrsAsyncHandler.DeleteJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteJobAsync(DeleteJobRequest deleteJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deleteRecoveryInstanceRequest
* @return A Java Future containing the result of the DeleteRecoveryInstance operation returned by the service.
* @sample AWSdrsAsync.DeleteRecoveryInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteRecoveryInstanceAsync(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest);
/**
*
* 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.
*
*
* @param deleteRecoveryInstanceRequest
* @param 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.
* @return A Java Future containing the result of the DeleteRecoveryInstance operation returned by the service.
* @sample AWSdrsAsyncHandler.DeleteRecoveryInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteRecoveryInstanceAsync(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a single Replication Configuration Template by ID
*
*
* @param deleteReplicationConfigurationTemplateRequest
* @return A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by
* the service.
* @sample AWSdrsAsync.DeleteReplicationConfigurationTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteReplicationConfigurationTemplateAsync(
DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest);
/**
*
* Deletes a single Replication Configuration Template by ID
*
*
* @param deleteReplicationConfigurationTemplateRequest
* @param 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.
* @return A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by
* the service.
* @sample AWSdrsAsyncHandler.DeleteReplicationConfigurationTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteReplicationConfigurationTemplateAsync(
DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a single Source Server by ID. The Source Server must be disconnected first.
*
*
* @param deleteSourceServerRequest
* @return A Java Future containing the result of the DeleteSourceServer operation returned by the service.
* @sample AWSdrsAsync.DeleteSourceServer
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteSourceServerAsync(DeleteSourceServerRequest deleteSourceServerRequest);
/**
*
* Deletes a single Source Server by ID. The Source Server must be disconnected first.
*
*
* @param deleteSourceServerRequest
* @param 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.
* @return A Java Future containing the result of the DeleteSourceServer operation returned by the service.
* @sample AWSdrsAsyncHandler.DeleteSourceServer
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteSourceServerAsync(DeleteSourceServerRequest deleteSourceServerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a detailed Job log with pagination.
*
*
* @param describeJobLogItemsRequest
* @return A Java Future containing the result of the DescribeJobLogItems operation returned by the service.
* @sample AWSdrsAsync.DescribeJobLogItems
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeJobLogItemsAsync(DescribeJobLogItemsRequest describeJobLogItemsRequest);
/**
*
* Retrieves a detailed Job log with pagination.
*
*
* @param describeJobLogItemsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeJobLogItems operation returned by the service.
* @sample AWSdrsAsyncHandler.DescribeJobLogItems
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeJobLogItemsAsync(DescribeJobLogItemsRequest describeJobLogItemsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param describeJobsRequest
* @return A Java Future containing the result of the DescribeJobs operation returned by the service.
* @sample AWSdrsAsync.DescribeJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeJobsAsync(DescribeJobsRequest describeJobsRequest);
/**
*
* 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.
*
*
* @param describeJobsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeJobs operation returned by the service.
* @sample AWSdrsAsyncHandler.DescribeJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeJobsAsync(DescribeJobsRequest describeJobsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all Recovery Instances or multiple Recovery Instances by ID.
*
*
* @param describeRecoveryInstancesRequest
* @return A Java Future containing the result of the DescribeRecoveryInstances operation returned by the service.
* @sample AWSdrsAsync.DescribeRecoveryInstances
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeRecoveryInstancesAsync(
DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest);
/**
*
* Lists all Recovery Instances or multiple Recovery Instances by ID.
*
*
* @param describeRecoveryInstancesRequest
* @param 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.
* @return A Java Future containing the result of the DescribeRecoveryInstances operation returned by the service.
* @sample AWSdrsAsyncHandler.DescribeRecoveryInstances
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeRecoveryInstancesAsync(
DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all Recovery Snapshots for a single Source Server.
*
*
* @param describeRecoverySnapshotsRequest
* @return A Java Future containing the result of the DescribeRecoverySnapshots operation returned by the service.
* @sample AWSdrsAsync.DescribeRecoverySnapshots
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeRecoverySnapshotsAsync(
DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest);
/**
*
* Lists all Recovery Snapshots for a single Source Server.
*
*
* @param describeRecoverySnapshotsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeRecoverySnapshots operation returned by the service.
* @sample AWSdrsAsyncHandler.DescribeRecoverySnapshots
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeRecoverySnapshotsAsync(
DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
*
*
* @param describeReplicationConfigurationTemplatesRequest
* @return A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned
* by the service.
* @sample AWSdrsAsync.DescribeReplicationConfigurationTemplates
* @see AWS API Documentation
*/
java.util.concurrent.Future describeReplicationConfigurationTemplatesAsync(
DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest);
/**
*
* Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
*
*
* @param describeReplicationConfigurationTemplatesRequest
* @param 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.
* @return A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned
* by the service.
* @sample AWSdrsAsyncHandler.DescribeReplicationConfigurationTemplates
* @see AWS API Documentation
*/
java.util.concurrent.Future describeReplicationConfigurationTemplatesAsync(
DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all Source Servers or multiple Source Servers filtered by ID.
*
*
* @param describeSourceServersRequest
* @return A Java Future containing the result of the DescribeSourceServers operation returned by the service.
* @sample AWSdrsAsync.DescribeSourceServers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeSourceServersAsync(DescribeSourceServersRequest describeSourceServersRequest);
/**
*
* Lists all Source Servers or multiple Source Servers filtered by ID.
*
*
* @param describeSourceServersRequest
* @param 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.
* @return A Java Future containing the result of the DescribeSourceServers operation returned by the service.
* @sample AWSdrsAsyncHandler.DescribeSourceServers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeSourceServersAsync(DescribeSourceServersRequest describeSourceServersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param disconnectRecoveryInstanceRequest
* @return A Java Future containing the result of the DisconnectRecoveryInstance operation returned by the service.
* @sample AWSdrsAsync.DisconnectRecoveryInstance
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disconnectRecoveryInstanceAsync(
DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest);
/**
*
* 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.
*
*
* @param disconnectRecoveryInstanceRequest
* @param 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.
* @return A Java Future containing the result of the DisconnectRecoveryInstance operation returned by the service.
* @sample AWSdrsAsyncHandler.DisconnectRecoveryInstance
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disconnectRecoveryInstanceAsync(
DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param disconnectSourceServerRequest
* @return A Java Future containing the result of the DisconnectSourceServer operation returned by the service.
* @sample AWSdrsAsync.DisconnectSourceServer
* @see AWS API
* Documentation
*/
java.util.concurrent.Future disconnectSourceServerAsync(DisconnectSourceServerRequest disconnectSourceServerRequest);
/**
*
* 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.
*
*
* @param disconnectSourceServerRequest
* @param 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.
* @return A Java Future containing the result of the DisconnectSourceServer operation returned by the service.
* @sample AWSdrsAsyncHandler.DisconnectSourceServer
* @see AWS API
* Documentation
*/
java.util.concurrent.Future disconnectSourceServerAsync(DisconnectSourceServerRequest disconnectSourceServerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
*
*
* @param getFailbackReplicationConfigurationRequest
* @return A Java Future containing the result of the GetFailbackReplicationConfiguration operation returned by the
* service.
* @sample AWSdrsAsync.GetFailbackReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getFailbackReplicationConfigurationAsync(
GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest);
/**
*
* Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
*
*
* @param getFailbackReplicationConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the GetFailbackReplicationConfiguration operation returned by the
* service.
* @sample AWSdrsAsyncHandler.GetFailbackReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getFailbackReplicationConfigurationAsync(
GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a LaunchConfiguration, filtered by Source Server IDs.
*
*
* @param getLaunchConfigurationRequest
* @return A Java Future containing the result of the GetLaunchConfiguration operation returned by the service.
* @sample AWSdrsAsync.GetLaunchConfiguration
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getLaunchConfigurationAsync(GetLaunchConfigurationRequest getLaunchConfigurationRequest);
/**
*
* Gets a LaunchConfiguration, filtered by Source Server IDs.
*
*
* @param getLaunchConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the GetLaunchConfiguration operation returned by the service.
* @sample AWSdrsAsyncHandler.GetLaunchConfiguration
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getLaunchConfigurationAsync(GetLaunchConfigurationRequest getLaunchConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a ReplicationConfiguration, filtered by Source Server ID.
*
*
* @param getReplicationConfigurationRequest
* @return A Java Future containing the result of the GetReplicationConfiguration operation returned by the service.
* @sample AWSdrsAsync.GetReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getReplicationConfigurationAsync(
GetReplicationConfigurationRequest getReplicationConfigurationRequest);
/**
*
* Gets a ReplicationConfiguration, filtered by Source Server ID.
*
*
* @param getReplicationConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the GetReplicationConfiguration operation returned by the service.
* @sample AWSdrsAsyncHandler.GetReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future getReplicationConfigurationAsync(
GetReplicationConfigurationRequest getReplicationConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Initialize Elastic Disaster Recovery.
*
*
* @param initializeServiceRequest
* @return A Java Future containing the result of the InitializeService operation returned by the service.
* @sample AWSdrsAsync.InitializeService
* @see AWS API
* Documentation
*/
java.util.concurrent.Future initializeServiceAsync(InitializeServiceRequest initializeServiceRequest);
/**
*
* Initialize Elastic Disaster Recovery.
*
*
* @param initializeServiceRequest
* @param 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.
* @return A Java Future containing the result of the InitializeService operation returned by the service.
* @sample AWSdrsAsyncHandler.InitializeService
* @see AWS API
* Documentation
*/
java.util.concurrent.Future initializeServiceAsync(InitializeServiceRequest initializeServiceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of source servers on a staging account that are extensible, which means that: a. The source server
* is not already extended into this Account. b. The source server on the Account we’re reading from is not an
* extension of another source server.
*
*
* @param listExtensibleSourceServersRequest
* @return A Java Future containing the result of the ListExtensibleSourceServers operation returned by the service.
* @sample AWSdrsAsync.ListExtensibleSourceServers
* @see AWS API Documentation
*/
java.util.concurrent.Future listExtensibleSourceServersAsync(
ListExtensibleSourceServersRequest listExtensibleSourceServersRequest);
/**
*
* Returns a list of source servers on a staging account that are extensible, which means that: a. The source server
* is not already extended into this Account. b. The source server on the Account we’re reading from is not an
* extension of another source server.
*
*
* @param listExtensibleSourceServersRequest
* @param 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.
* @return A Java Future containing the result of the ListExtensibleSourceServers operation returned by the service.
* @sample AWSdrsAsyncHandler.ListExtensibleSourceServers
* @see AWS API Documentation
*/
java.util.concurrent.Future listExtensibleSourceServersAsync(
ListExtensibleSourceServersRequest listExtensibleSourceServersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array of staging accounts for existing extended source servers.
*
*
* @param listStagingAccountsRequest
* @return A Java Future containing the result of the ListStagingAccounts operation returned by the service.
* @sample AWSdrsAsync.ListStagingAccounts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listStagingAccountsAsync(ListStagingAccountsRequest listStagingAccountsRequest);
/**
*
* Returns an array of staging accounts for existing extended source servers.
*
*
* @param listStagingAccountsRequest
* @param 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.
* @return A Java Future containing the result of the ListStagingAccounts operation returned by the service.
* @sample AWSdrsAsyncHandler.ListStagingAccounts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listStagingAccountsAsync(ListStagingAccountsRequest listStagingAccountsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List all tags for your Elastic Disaster Recovery resources.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSdrsAsync.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* List all tags for your Elastic Disaster Recovery resources.
*
*
* @param listTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSdrsAsyncHandler.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param retryDataReplicationRequest
* @return A Java Future containing the result of the RetryDataReplication operation returned by the service.
* @sample AWSdrsAsync.RetryDataReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future retryDataReplicationAsync(RetryDataReplicationRequest retryDataReplicationRequest);
/**
*
* 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.
*
*
* @param retryDataReplicationRequest
* @param 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.
* @return A Java Future containing the result of the RetryDataReplication operation returned by the service.
* @sample AWSdrsAsyncHandler.RetryDataReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future retryDataReplicationAsync(RetryDataReplicationRequest retryDataReplicationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Start replication to origin / target region - applies only to protected instances that originated in EC2. For
* recovery instances on target region - starts replication back to origin region. For failback instances on origin
* region - starts replication to target region to re-protect them.
*
*
* @param reverseReplicationRequest
* @return A Java Future containing the result of the ReverseReplication operation returned by the service.
* @sample AWSdrsAsync.ReverseReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future reverseReplicationAsync(ReverseReplicationRequest reverseReplicationRequest);
/**
*
* Start replication to origin / target region - applies only to protected instances that originated in EC2. For
* recovery instances on target region - starts replication back to origin region. For failback instances on origin
* region - starts replication to target region to re-protect them.
*
*
* @param reverseReplicationRequest
* @param 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.
* @return A Java Future containing the result of the ReverseReplication operation returned by the service.
* @sample AWSdrsAsyncHandler.ReverseReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future reverseReplicationAsync(ReverseReplicationRequest reverseReplicationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param startFailbackLaunchRequest
* @return A Java Future containing the result of the StartFailbackLaunch operation returned by the service.
* @sample AWSdrsAsync.StartFailbackLaunch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startFailbackLaunchAsync(StartFailbackLaunchRequest startFailbackLaunchRequest);
/**
*
* 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.
*
*
* @param startFailbackLaunchRequest
* @param 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.
* @return A Java Future containing the result of the StartFailbackLaunch operation returned by the service.
* @sample AWSdrsAsyncHandler.StartFailbackLaunch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startFailbackLaunchAsync(StartFailbackLaunchRequest startFailbackLaunchRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param startRecoveryRequest
* @return A Java Future containing the result of the StartRecovery operation returned by the service.
* @sample AWSdrsAsync.StartRecovery
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startRecoveryAsync(StartRecoveryRequest startRecoveryRequest);
/**
*
* 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.
*
*
* @param startRecoveryRequest
* @param 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.
* @return A Java Future containing the result of the StartRecovery operation returned by the service.
* @sample AWSdrsAsyncHandler.StartRecovery
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startRecoveryAsync(StartRecoveryRequest startRecoveryRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts replication for a stopped Source Server. This action would make the Source Server protected again and
* restart billing for it.
*
*
* @param startReplicationRequest
* @return A Java Future containing the result of the StartReplication operation returned by the service.
* @sample AWSdrsAsync.StartReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startReplicationAsync(StartReplicationRequest startReplicationRequest);
/**
*
* Starts replication for a stopped Source Server. This action would make the Source Server protected again and
* restart billing for it.
*
*
* @param startReplicationRequest
* @param 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.
* @return A Java Future containing the result of the StartReplication operation returned by the service.
* @sample AWSdrsAsyncHandler.StartReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startReplicationAsync(StartReplicationRequest startReplicationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery
* Instance back to FAILBACK_NOT_STARTED.
*
*
* @param stopFailbackRequest
* @return A Java Future containing the result of the StopFailback operation returned by the service.
* @sample AWSdrsAsync.StopFailback
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopFailbackAsync(StopFailbackRequest stopFailbackRequest);
/**
*
* Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery
* Instance back to FAILBACK_NOT_STARTED.
*
*
* @param stopFailbackRequest
* @param 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.
* @return A Java Future containing the result of the StopFailback operation returned by the service.
* @sample AWSdrsAsyncHandler.StopFailback
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopFailbackAsync(StopFailbackRequest stopFailbackRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing
* snapshots and stop billing for it.
*
*
* @param stopReplicationRequest
* @return A Java Future containing the result of the StopReplication operation returned by the service.
* @sample AWSdrsAsync.StopReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopReplicationAsync(StopReplicationRequest stopReplicationRequest);
/**
*
* Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing
* snapshots and stop billing for it.
*
*
* @param stopReplicationRequest
* @param 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.
* @return A Java Future containing the result of the StopReplication operation returned by the service.
* @sample AWSdrsAsyncHandler.StopReplication
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopReplicationAsync(StopReplicationRequest stopReplicationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSdrsAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* 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.
*
*
* @param tagResourceRequest
* @param 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.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSdrsAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param terminateRecoveryInstancesRequest
* @return A Java Future containing the result of the TerminateRecoveryInstances operation returned by the service.
* @sample AWSdrsAsync.TerminateRecoveryInstances
* @see AWS
* API Documentation
*/
java.util.concurrent.Future terminateRecoveryInstancesAsync(
TerminateRecoveryInstancesRequest terminateRecoveryInstancesRequest);
/**
*
* 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.
*
*
* @param terminateRecoveryInstancesRequest
* @param 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.
* @return A Java Future containing the result of the TerminateRecoveryInstances operation returned by the service.
* @sample AWSdrsAsyncHandler.TerminateRecoveryInstances
* @see AWS
* API Documentation
*/
java.util.concurrent.Future terminateRecoveryInstancesAsync(
TerminateRecoveryInstancesRequest terminateRecoveryInstancesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSdrsAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
*
*
* @param untagResourceRequest
* @param 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.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSdrsAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Allows you to update the failback replication configuration of a Recovery Instance by ID.
*
*
* @param updateFailbackReplicationConfigurationRequest
* @return A Java Future containing the result of the UpdateFailbackReplicationConfiguration operation returned by
* the service.
* @sample AWSdrsAsync.UpdateFailbackReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateFailbackReplicationConfigurationAsync(
UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest);
/**
*
* Allows you to update the failback replication configuration of a Recovery Instance by ID.
*
*
* @param updateFailbackReplicationConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the UpdateFailbackReplicationConfiguration operation returned by
* the service.
* @sample AWSdrsAsyncHandler.UpdateFailbackReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateFailbackReplicationConfigurationAsync(
UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a LaunchConfiguration by Source Server ID.
*
*
* @param updateLaunchConfigurationRequest
* @return A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
* @sample AWSdrsAsync.UpdateLaunchConfiguration
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateLaunchConfigurationAsync(
UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest);
/**
*
* Updates a LaunchConfiguration by Source Server ID.
*
*
* @param updateLaunchConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
* @sample AWSdrsAsyncHandler.UpdateLaunchConfiguration
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateLaunchConfigurationAsync(
UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Allows you to update a ReplicationConfiguration by Source Server ID.
*
*
* @param updateReplicationConfigurationRequest
* @return A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the
* service.
* @sample AWSdrsAsync.UpdateReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateReplicationConfigurationAsync(
UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest);
/**
*
* Allows you to update a ReplicationConfiguration by Source Server ID.
*
*
* @param updateReplicationConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the
* service.
* @sample AWSdrsAsyncHandler.UpdateReplicationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateReplicationConfigurationAsync(
UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a ReplicationConfigurationTemplate by ID.
*
*
* @param updateReplicationConfigurationTemplateRequest
* @return A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by
* the service.
* @sample AWSdrsAsync.UpdateReplicationConfigurationTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future updateReplicationConfigurationTemplateAsync(
UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest);
/**
*
* Updates a ReplicationConfigurationTemplate by ID.
*
*
* @param updateReplicationConfigurationTemplateRequest
* @param 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.
* @return A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by
* the service.
* @sample AWSdrsAsyncHandler.UpdateReplicationConfigurationTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future updateReplicationConfigurationTemplateAsync(
UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}