
com.amazonaws.services.backup.AWSBackupAsync Maven / Gradle / Ivy
/*
* Copyright 2015-2020 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.backup;
import javax.annotation.Generated;
import com.amazonaws.services.backup.model.*;
/**
* Interface for accessing AWS Backup 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.backup.AbstractAWSBackupAsync} instead.
*
*
* AWS Backup
*
* AWS Backup is a unified backup service designed to protect AWS services and their associated data. AWS Backup
* simplifies the creation, migration, restoration, and deletion of backups, while also providing reporting and
* auditing.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSBackupAsync extends AWSBackup {
/**
*
* Backup plans are documents that contain information that AWS Backup uses to schedule tasks that create recovery
* points of resources.
*
*
* If you call CreateBackupPlan
with a plan that already exists, an AlreadyExistsException
* is returned.
*
*
* @param createBackupPlanRequest
* @return A Java Future containing the result of the CreateBackupPlan operation returned by the service.
* @sample AWSBackupAsync.CreateBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createBackupPlanAsync(CreateBackupPlanRequest createBackupPlanRequest);
/**
*
* Backup plans are documents that contain information that AWS Backup uses to schedule tasks that create recovery
* points of resources.
*
*
* If you call CreateBackupPlan
with a plan that already exists, an AlreadyExistsException
* is returned.
*
*
* @param createBackupPlanRequest
* @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 CreateBackupPlan operation returned by the service.
* @sample AWSBackupAsyncHandler.CreateBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createBackupPlanAsync(CreateBackupPlanRequest createBackupPlanRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a JSON document that specifies a set of resources to assign to a backup plan. Resources can be included
* by specifying patterns for a ListOfTags
and selected Resources
.
*
*
* For example, consider the following patterns:
*
*
* -
*
* Resources: "arn:aws:ec2:region:account-id:volume/volume-id"
*
*
* -
*
* ConditionKey:"department"
*
*
* ConditionValue:"finance"
*
*
* ConditionType:"STRINGEQUALS"
*
*
* -
*
* ConditionKey:"importance"
*
*
* ConditionValue:"critical"
*
*
* ConditionType:"STRINGEQUALS"
*
*
*
*
* Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS) volumes that are tagged as
* "department=finance"
, "importance=critical"
, in addition to an EBS volume with the
* specified volume Id.
*
*
* Resources and conditions are additive in that all resources that match the pattern are selected. This shouldn't
* be confused with a logical AND, where all conditions must match. The matching patterns are logically 'put
* together using the OR operator. In other words, all patterns that match are selected for backup.
*
*
* @param createBackupSelectionRequest
* @return A Java Future containing the result of the CreateBackupSelection operation returned by the service.
* @sample AWSBackupAsync.CreateBackupSelection
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createBackupSelectionAsync(CreateBackupSelectionRequest createBackupSelectionRequest);
/**
*
* Creates a JSON document that specifies a set of resources to assign to a backup plan. Resources can be included
* by specifying patterns for a ListOfTags
and selected Resources
.
*
*
* For example, consider the following patterns:
*
*
* -
*
* Resources: "arn:aws:ec2:region:account-id:volume/volume-id"
*
*
* -
*
* ConditionKey:"department"
*
*
* ConditionValue:"finance"
*
*
* ConditionType:"STRINGEQUALS"
*
*
* -
*
* ConditionKey:"importance"
*
*
* ConditionValue:"critical"
*
*
* ConditionType:"STRINGEQUALS"
*
*
*
*
* Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS) volumes that are tagged as
* "department=finance"
, "importance=critical"
, in addition to an EBS volume with the
* specified volume Id.
*
*
* Resources and conditions are additive in that all resources that match the pattern are selected. This shouldn't
* be confused with a logical AND, where all conditions must match. The matching patterns are logically 'put
* together using the OR operator. In other words, all patterns that match are selected for backup.
*
*
* @param createBackupSelectionRequest
* @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 CreateBackupSelection operation returned by the service.
* @sample AWSBackupAsyncHandler.CreateBackupSelection
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createBackupSelectionAsync(CreateBackupSelectionRequest createBackupSelectionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a logical container where backups are stored. A CreateBackupVault
request includes a name,
* optionally one or more resource tags, an encryption key, and a request ID.
*
*
*
* Sensitive data, such as passport numbers, should not be included the name of a backup vault.
*
*
*
* @param createBackupVaultRequest
* @return A Java Future containing the result of the CreateBackupVault operation returned by the service.
* @sample AWSBackupAsync.CreateBackupVault
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createBackupVaultAsync(CreateBackupVaultRequest createBackupVaultRequest);
/**
*
* Creates a logical container where backups are stored. A CreateBackupVault
request includes a name,
* optionally one or more resource tags, an encryption key, and a request ID.
*
*
*
* Sensitive data, such as passport numbers, should not be included the name of a backup vault.
*
*
*
* @param createBackupVaultRequest
* @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 CreateBackupVault operation returned by the service.
* @sample AWSBackupAsyncHandler.CreateBackupVault
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createBackupVaultAsync(CreateBackupVaultRequest createBackupVaultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been
* deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will
* still exist.
*
*
* @param deleteBackupPlanRequest
* @return A Java Future containing the result of the DeleteBackupPlan operation returned by the service.
* @sample AWSBackupAsync.DeleteBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteBackupPlanAsync(DeleteBackupPlanRequest deleteBackupPlanRequest);
/**
*
* Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been
* deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will
* still exist.
*
*
* @param deleteBackupPlanRequest
* @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 DeleteBackupPlan operation returned by the service.
* @sample AWSBackupAsyncHandler.DeleteBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteBackupPlanAsync(DeleteBackupPlanRequest deleteBackupPlanRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the resource selection associated with a backup plan that is specified by the SelectionId
.
*
*
* @param deleteBackupSelectionRequest
* @return A Java Future containing the result of the DeleteBackupSelection operation returned by the service.
* @sample AWSBackupAsync.DeleteBackupSelection
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteBackupSelectionAsync(DeleteBackupSelectionRequest deleteBackupSelectionRequest);
/**
*
* Deletes the resource selection associated with a backup plan that is specified by the SelectionId
.
*
*
* @param deleteBackupSelectionRequest
* @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 DeleteBackupSelection operation returned by the service.
* @sample AWSBackupAsyncHandler.DeleteBackupSelection
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteBackupSelectionAsync(DeleteBackupSelectionRequest deleteBackupSelectionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
*
*
* @param deleteBackupVaultRequest
* @return A Java Future containing the result of the DeleteBackupVault operation returned by the service.
* @sample AWSBackupAsync.DeleteBackupVault
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteBackupVaultAsync(DeleteBackupVaultRequest deleteBackupVaultRequest);
/**
*
* Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
*
*
* @param deleteBackupVaultRequest
* @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 DeleteBackupVault operation returned by the service.
* @sample AWSBackupAsyncHandler.DeleteBackupVault
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteBackupVaultAsync(DeleteBackupVaultRequest deleteBackupVaultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the policy document that manages permissions on a backup vault.
*
*
* @param deleteBackupVaultAccessPolicyRequest
* @return A Java Future containing the result of the DeleteBackupVaultAccessPolicy operation returned by the
* service.
* @sample AWSBackupAsync.DeleteBackupVaultAccessPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteBackupVaultAccessPolicyAsync(
DeleteBackupVaultAccessPolicyRequest deleteBackupVaultAccessPolicyRequest);
/**
*
* Deletes the policy document that manages permissions on a backup vault.
*
*
* @param deleteBackupVaultAccessPolicyRequest
* @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 DeleteBackupVaultAccessPolicy operation returned by the
* service.
* @sample AWSBackupAsyncHandler.DeleteBackupVaultAccessPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteBackupVaultAccessPolicyAsync(
DeleteBackupVaultAccessPolicyRequest deleteBackupVaultAccessPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes event notifications for the specified backup vault.
*
*
* @param deleteBackupVaultNotificationsRequest
* @return A Java Future containing the result of the DeleteBackupVaultNotifications operation returned by the
* service.
* @sample AWSBackupAsync.DeleteBackupVaultNotifications
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteBackupVaultNotificationsAsync(
DeleteBackupVaultNotificationsRequest deleteBackupVaultNotificationsRequest);
/**
*
* Deletes event notifications for the specified backup vault.
*
*
* @param deleteBackupVaultNotificationsRequest
* @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 DeleteBackupVaultNotifications operation returned by the
* service.
* @sample AWSBackupAsyncHandler.DeleteBackupVaultNotifications
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteBackupVaultNotificationsAsync(
DeleteBackupVaultNotificationsRequest deleteBackupVaultNotificationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the recovery point specified by a recovery point ID.
*
*
* @param deleteRecoveryPointRequest
* @return A Java Future containing the result of the DeleteRecoveryPoint operation returned by the service.
* @sample AWSBackupAsync.DeleteRecoveryPoint
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteRecoveryPointAsync(DeleteRecoveryPointRequest deleteRecoveryPointRequest);
/**
*
* Deletes the recovery point specified by a recovery point ID.
*
*
* @param deleteRecoveryPointRequest
* @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 DeleteRecoveryPoint operation returned by the service.
* @sample AWSBackupAsyncHandler.DeleteRecoveryPoint
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteRecoveryPointAsync(DeleteRecoveryPointRequest deleteRecoveryPointRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata associated with creating a backup of a resource.
*
*
* @param describeBackupJobRequest
* @return A Java Future containing the result of the DescribeBackupJob operation returned by the service.
* @sample AWSBackupAsync.DescribeBackupJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeBackupJobAsync(DescribeBackupJobRequest describeBackupJobRequest);
/**
*
* Returns metadata associated with creating a backup of a resource.
*
*
* @param describeBackupJobRequest
* @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 DescribeBackupJob operation returned by the service.
* @sample AWSBackupAsyncHandler.DescribeBackupJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeBackupJobAsync(DescribeBackupJobRequest describeBackupJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata about a backup vault specified by its name.
*
*
* @param describeBackupVaultRequest
* @return A Java Future containing the result of the DescribeBackupVault operation returned by the service.
* @sample AWSBackupAsync.DescribeBackupVault
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeBackupVaultAsync(DescribeBackupVaultRequest describeBackupVaultRequest);
/**
*
* Returns metadata about a backup vault specified by its name.
*
*
* @param describeBackupVaultRequest
* @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 DescribeBackupVault operation returned by the service.
* @sample AWSBackupAsyncHandler.DescribeBackupVault
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeBackupVaultAsync(DescribeBackupVaultRequest describeBackupVaultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata associated with creating a copy of a resource.
*
*
* @param describeCopyJobRequest
* @return A Java Future containing the result of the DescribeCopyJob operation returned by the service.
* @sample AWSBackupAsync.DescribeCopyJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeCopyJobAsync(DescribeCopyJobRequest describeCopyJobRequest);
/**
*
* Returns metadata associated with creating a copy of a resource.
*
*
* @param describeCopyJobRequest
* @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 DescribeCopyJob operation returned by the service.
* @sample AWSBackupAsyncHandler.DescribeCopyJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeCopyJobAsync(DescribeCopyJobRequest describeCopyJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about a saved resource, including the last time it was backed-up, its Amazon Resource Name
* (ARN), and the AWS service type of the saved resource.
*
*
* @param describeProtectedResourceRequest
* @return A Java Future containing the result of the DescribeProtectedResource operation returned by the service.
* @sample AWSBackupAsync.DescribeProtectedResource
* @see AWS API Documentation
*/
java.util.concurrent.Future describeProtectedResourceAsync(
DescribeProtectedResourceRequest describeProtectedResourceRequest);
/**
*
* Returns information about a saved resource, including the last time it was backed-up, its Amazon Resource Name
* (ARN), and the AWS service type of the saved resource.
*
*
* @param describeProtectedResourceRequest
* @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 DescribeProtectedResource operation returned by the service.
* @sample AWSBackupAsyncHandler.DescribeProtectedResource
* @see AWS API Documentation
*/
java.util.concurrent.Future describeProtectedResourceAsync(
DescribeProtectedResourceRequest describeProtectedResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
*
*
* @param describeRecoveryPointRequest
* @return A Java Future containing the result of the DescribeRecoveryPoint operation returned by the service.
* @sample AWSBackupAsync.DescribeRecoveryPoint
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeRecoveryPointAsync(DescribeRecoveryPointRequest describeRecoveryPointRequest);
/**
*
* Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
*
*
* @param describeRecoveryPointRequest
* @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 DescribeRecoveryPoint operation returned by the service.
* @sample AWSBackupAsyncHandler.DescribeRecoveryPoint
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeRecoveryPointAsync(DescribeRecoveryPointRequest describeRecoveryPointRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata associated with a restore job that is specified by a job ID.
*
*
* @param describeRestoreJobRequest
* @return A Java Future containing the result of the DescribeRestoreJob operation returned by the service.
* @sample AWSBackupAsync.DescribeRestoreJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeRestoreJobAsync(DescribeRestoreJobRequest describeRestoreJobRequest);
/**
*
* Returns metadata associated with a restore job that is specified by a job ID.
*
*
* @param describeRestoreJobRequest
* @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 DescribeRestoreJob operation returned by the service.
* @sample AWSBackupAsyncHandler.DescribeRestoreJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeRestoreJobAsync(DescribeRestoreJobRequest describeRestoreJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the backup plan that is specified by the plan ID as a backup template.
*
*
* @param exportBackupPlanTemplateRequest
* @return A Java Future containing the result of the ExportBackupPlanTemplate operation returned by the service.
* @sample AWSBackupAsync.ExportBackupPlanTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future exportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest exportBackupPlanTemplateRequest);
/**
*
* Returns the backup plan that is specified by the plan ID as a backup template.
*
*
* @param exportBackupPlanTemplateRequest
* @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 ExportBackupPlanTemplate operation returned by the service.
* @sample AWSBackupAsyncHandler.ExportBackupPlanTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future exportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest exportBackupPlanTemplateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the body of a backup plan in JSON format, in addition to plan metadata.
*
*
* @param getBackupPlanRequest
* @return A Java Future containing the result of the GetBackupPlan operation returned by the service.
* @sample AWSBackupAsync.GetBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getBackupPlanAsync(GetBackupPlanRequest getBackupPlanRequest);
/**
*
* Returns the body of a backup plan in JSON format, in addition to plan metadata.
*
*
* @param getBackupPlanRequest
* @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 GetBackupPlan operation returned by the service.
* @sample AWSBackupAsyncHandler.GetBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getBackupPlanAsync(GetBackupPlanRequest getBackupPlanRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a valid JSON document specifying a backup plan or an error.
*
*
* @param getBackupPlanFromJSONRequest
* @return A Java Future containing the result of the GetBackupPlanFromJSON operation returned by the service.
* @sample AWSBackupAsync.GetBackupPlanFromJSON
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest getBackupPlanFromJSONRequest);
/**
*
* Returns a valid JSON document specifying a backup plan or an error.
*
*
* @param getBackupPlanFromJSONRequest
* @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 GetBackupPlanFromJSON operation returned by the service.
* @sample AWSBackupAsyncHandler.GetBackupPlanFromJSON
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest getBackupPlanFromJSONRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the template specified by its templateId
as a backup plan.
*
*
* @param getBackupPlanFromTemplateRequest
* @return A Java Future containing the result of the GetBackupPlanFromTemplate operation returned by the service.
* @sample AWSBackupAsync.GetBackupPlanFromTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future getBackupPlanFromTemplateAsync(
GetBackupPlanFromTemplateRequest getBackupPlanFromTemplateRequest);
/**
*
* Returns the template specified by its templateId
as a backup plan.
*
*
* @param getBackupPlanFromTemplateRequest
* @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 GetBackupPlanFromTemplate operation returned by the service.
* @sample AWSBackupAsyncHandler.GetBackupPlanFromTemplate
* @see AWS API Documentation
*/
java.util.concurrent.Future getBackupPlanFromTemplateAsync(
GetBackupPlanFromTemplateRequest getBackupPlanFromTemplateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns selection metadata and a document in JSON format that specifies a list of resources that are associated
* with a backup plan.
*
*
* @param getBackupSelectionRequest
* @return A Java Future containing the result of the GetBackupSelection operation returned by the service.
* @sample AWSBackupAsync.GetBackupSelection
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getBackupSelectionAsync(GetBackupSelectionRequest getBackupSelectionRequest);
/**
*
* Returns selection metadata and a document in JSON format that specifies a list of resources that are associated
* with a backup plan.
*
*
* @param getBackupSelectionRequest
* @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 GetBackupSelection operation returned by the service.
* @sample AWSBackupAsyncHandler.GetBackupSelection
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getBackupSelectionAsync(GetBackupSelectionRequest getBackupSelectionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the access policy document that is associated with the named backup vault.
*
*
* @param getBackupVaultAccessPolicyRequest
* @return A Java Future containing the result of the GetBackupVaultAccessPolicy operation returned by the service.
* @sample AWSBackupAsync.GetBackupVaultAccessPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future getBackupVaultAccessPolicyAsync(
GetBackupVaultAccessPolicyRequest getBackupVaultAccessPolicyRequest);
/**
*
* Returns the access policy document that is associated with the named backup vault.
*
*
* @param getBackupVaultAccessPolicyRequest
* @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 GetBackupVaultAccessPolicy operation returned by the service.
* @sample AWSBackupAsyncHandler.GetBackupVaultAccessPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future getBackupVaultAccessPolicyAsync(
GetBackupVaultAccessPolicyRequest getBackupVaultAccessPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns event notifications for the specified backup vault.
*
*
* @param getBackupVaultNotificationsRequest
* @return A Java Future containing the result of the GetBackupVaultNotifications operation returned by the service.
* @sample AWSBackupAsync.GetBackupVaultNotifications
* @see AWS API Documentation
*/
java.util.concurrent.Future getBackupVaultNotificationsAsync(
GetBackupVaultNotificationsRequest getBackupVaultNotificationsRequest);
/**
*
* Returns event notifications for the specified backup vault.
*
*
* @param getBackupVaultNotificationsRequest
* @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 GetBackupVaultNotifications operation returned by the service.
* @sample AWSBackupAsyncHandler.GetBackupVaultNotifications
* @see AWS API Documentation
*/
java.util.concurrent.Future getBackupVaultNotificationsAsync(
GetBackupVaultNotificationsRequest getBackupVaultNotificationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a set of metadata key-value pairs that were used to create the backup.
*
*
* @param getRecoveryPointRestoreMetadataRequest
* @return A Java Future containing the result of the GetRecoveryPointRestoreMetadata operation returned by the
* service.
* @sample AWSBackupAsync.GetRecoveryPointRestoreMetadata
* @see AWS API Documentation
*/
java.util.concurrent.Future getRecoveryPointRestoreMetadataAsync(
GetRecoveryPointRestoreMetadataRequest getRecoveryPointRestoreMetadataRequest);
/**
*
* Returns a set of metadata key-value pairs that were used to create the backup.
*
*
* @param getRecoveryPointRestoreMetadataRequest
* @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 GetRecoveryPointRestoreMetadata operation returned by the
* service.
* @sample AWSBackupAsyncHandler.GetRecoveryPointRestoreMetadata
* @see AWS API Documentation
*/
java.util.concurrent.Future getRecoveryPointRestoreMetadataAsync(
GetRecoveryPointRestoreMetadataRequest getRecoveryPointRestoreMetadataRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the AWS resource types supported by AWS Backup.
*
*
* @param getSupportedResourceTypesRequest
* @return A Java Future containing the result of the GetSupportedResourceTypes operation returned by the service.
* @sample AWSBackupAsync.GetSupportedResourceTypes
* @see AWS API Documentation
*/
java.util.concurrent.Future getSupportedResourceTypesAsync(
GetSupportedResourceTypesRequest getSupportedResourceTypesRequest);
/**
*
* Returns the AWS resource types supported by AWS Backup.
*
*
* @param getSupportedResourceTypesRequest
* @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 GetSupportedResourceTypes operation returned by the service.
* @sample AWSBackupAsyncHandler.GetSupportedResourceTypes
* @see AWS API Documentation
*/
java.util.concurrent.Future getSupportedResourceTypesAsync(
GetSupportedResourceTypesRequest getSupportedResourceTypesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata about your backup jobs.
*
*
* @param listBackupJobsRequest
* @return A Java Future containing the result of the ListBackupJobs operation returned by the service.
* @sample AWSBackupAsync.ListBackupJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBackupJobsAsync(ListBackupJobsRequest listBackupJobsRequest);
/**
*
* Returns metadata about your backup jobs.
*
*
* @param listBackupJobsRequest
* @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 ListBackupJobs operation returned by the service.
* @sample AWSBackupAsyncHandler.ListBackupJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBackupJobsAsync(ListBackupJobsRequest listBackupJobsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and
* deletion dates.
*
*
* @param listBackupPlanTemplatesRequest
* @return A Java Future containing the result of the ListBackupPlanTemplates operation returned by the service.
* @sample AWSBackupAsync.ListBackupPlanTemplates
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest listBackupPlanTemplatesRequest);
/**
*
* Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and
* deletion dates.
*
*
* @param listBackupPlanTemplatesRequest
* @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 ListBackupPlanTemplates operation returned by the service.
* @sample AWSBackupAsyncHandler.ListBackupPlanTemplates
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest listBackupPlanTemplatesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation
* and deletion dates, plan names, and version IDs.
*
*
* @param listBackupPlanVersionsRequest
* @return A Java Future containing the result of the ListBackupPlanVersions operation returned by the service.
* @sample AWSBackupAsync.ListBackupPlanVersions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBackupPlanVersionsAsync(ListBackupPlanVersionsRequest listBackupPlanVersionsRequest);
/**
*
* Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation
* and deletion dates, plan names, and version IDs.
*
*
* @param listBackupPlanVersionsRequest
* @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 ListBackupPlanVersions operation returned by the service.
* @sample AWSBackupAsyncHandler.ListBackupPlanVersions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBackupPlanVersionsAsync(ListBackupPlanVersionsRequest listBackupPlanVersionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata of your saved backup plans, including Amazon Resource Names (ARNs), plan IDs, creation and
* deletion dates, version IDs, plan names, and creator request IDs.
*
*
* @param listBackupPlansRequest
* @return A Java Future containing the result of the ListBackupPlans operation returned by the service.
* @sample AWSBackupAsync.ListBackupPlans
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBackupPlansAsync(ListBackupPlansRequest listBackupPlansRequest);
/**
*
* Returns metadata of your saved backup plans, including Amazon Resource Names (ARNs), plan IDs, creation and
* deletion dates, version IDs, plan names, and creator request IDs.
*
*
* @param listBackupPlansRequest
* @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 ListBackupPlans operation returned by the service.
* @sample AWSBackupAsyncHandler.ListBackupPlans
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBackupPlansAsync(ListBackupPlansRequest listBackupPlansRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array containing metadata of the resources associated with the target backup plan.
*
*
* @param listBackupSelectionsRequest
* @return A Java Future containing the result of the ListBackupSelections operation returned by the service.
* @sample AWSBackupAsync.ListBackupSelections
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBackupSelectionsAsync(ListBackupSelectionsRequest listBackupSelectionsRequest);
/**
*
* Returns an array containing metadata of the resources associated with the target backup plan.
*
*
* @param listBackupSelectionsRequest
* @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 ListBackupSelections operation returned by the service.
* @sample AWSBackupAsyncHandler.ListBackupSelections
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBackupSelectionsAsync(ListBackupSelectionsRequest listBackupSelectionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of recovery point storage containers along with information about them.
*
*
* @param listBackupVaultsRequest
* @return A Java Future containing the result of the ListBackupVaults operation returned by the service.
* @sample AWSBackupAsync.ListBackupVaults
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBackupVaultsAsync(ListBackupVaultsRequest listBackupVaultsRequest);
/**
*
* Returns a list of recovery point storage containers along with information about them.
*
*
* @param listBackupVaultsRequest
* @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 ListBackupVaults operation returned by the service.
* @sample AWSBackupAsyncHandler.ListBackupVaults
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBackupVaultsAsync(ListBackupVaultsRequest listBackupVaultsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns metadata about your copy jobs.
*
*
* @param listCopyJobsRequest
* @return A Java Future containing the result of the ListCopyJobs operation returned by the service.
* @sample AWSBackupAsync.ListCopyJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listCopyJobsAsync(ListCopyJobsRequest listCopyJobsRequest);
/**
*
* Returns metadata about your copy jobs.
*
*
* @param listCopyJobsRequest
* @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 ListCopyJobs operation returned by the service.
* @sample AWSBackupAsyncHandler.ListCopyJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listCopyJobsAsync(ListCopyJobsRequest listCopyJobsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array of resources successfully backed up by AWS Backup, including the time the resource was saved, an
* Amazon Resource Name (ARN) of the resource, and a resource type.
*
*
* @param listProtectedResourcesRequest
* @return A Java Future containing the result of the ListProtectedResources operation returned by the service.
* @sample AWSBackupAsync.ListProtectedResources
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listProtectedResourcesAsync(ListProtectedResourcesRequest listProtectedResourcesRequest);
/**
*
* Returns an array of resources successfully backed up by AWS Backup, including the time the resource was saved, an
* Amazon Resource Name (ARN) of the resource, and a resource type.
*
*
* @param listProtectedResourcesRequest
* @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 ListProtectedResources operation returned by the service.
* @sample AWSBackupAsyncHandler.ListProtectedResources
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listProtectedResourcesAsync(ListProtectedResourcesRequest listProtectedResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns detailed information about the recovery points stored in a backup vault.
*
*
* @param listRecoveryPointsByBackupVaultRequest
* @return A Java Future containing the result of the ListRecoveryPointsByBackupVault operation returned by the
* service.
* @sample AWSBackupAsync.ListRecoveryPointsByBackupVault
* @see AWS API Documentation
*/
java.util.concurrent.Future listRecoveryPointsByBackupVaultAsync(
ListRecoveryPointsByBackupVaultRequest listRecoveryPointsByBackupVaultRequest);
/**
*
* Returns detailed information about the recovery points stored in a backup vault.
*
*
* @param listRecoveryPointsByBackupVaultRequest
* @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 ListRecoveryPointsByBackupVault operation returned by the
* service.
* @sample AWSBackupAsyncHandler.ListRecoveryPointsByBackupVault
* @see AWS API Documentation
*/
java.util.concurrent.Future listRecoveryPointsByBackupVaultAsync(
ListRecoveryPointsByBackupVaultRequest listRecoveryPointsByBackupVaultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns detailed information about recovery points of the type specified by a resource Amazon Resource Name
* (ARN).
*
*
* @param listRecoveryPointsByResourceRequest
* @return A Java Future containing the result of the ListRecoveryPointsByResource operation returned by the
* service.
* @sample AWSBackupAsync.ListRecoveryPointsByResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listRecoveryPointsByResourceAsync(
ListRecoveryPointsByResourceRequest listRecoveryPointsByResourceRequest);
/**
*
* Returns detailed information about recovery points of the type specified by a resource Amazon Resource Name
* (ARN).
*
*
* @param listRecoveryPointsByResourceRequest
* @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 ListRecoveryPointsByResource operation returned by the
* service.
* @sample AWSBackupAsyncHandler.ListRecoveryPointsByResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listRecoveryPointsByResourceAsync(
ListRecoveryPointsByResourceRequest listRecoveryPointsByResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the
* recovery process.
*
*
* @param listRestoreJobsRequest
* @return A Java Future containing the result of the ListRestoreJobs operation returned by the service.
* @sample AWSBackupAsync.ListRestoreJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listRestoreJobsAsync(ListRestoreJobsRequest listRestoreJobsRequest);
/**
*
* Returns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the
* recovery process.
*
*
* @param listRestoreJobsRequest
* @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 ListRestoreJobs operation returned by the service.
* @sample AWSBackupAsyncHandler.ListRestoreJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listRestoreJobsAsync(ListRestoreJobsRequest listRestoreJobsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
*
*
* @param listTagsRequest
* @return A Java Future containing the result of the ListTags operation returned by the service.
* @sample AWSBackupAsync.ListTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsAsync(ListTagsRequest listTagsRequest);
/**
*
* Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
*
*
* @param listTagsRequest
* @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 ListTags operation returned by the service.
* @sample AWSBackupAsyncHandler.ListTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsAsync(ListTagsRequest listTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a
* backup vault name and an access policy document in JSON format.
*
*
* @param putBackupVaultAccessPolicyRequest
* @return A Java Future containing the result of the PutBackupVaultAccessPolicy operation returned by the service.
* @sample AWSBackupAsync.PutBackupVaultAccessPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future putBackupVaultAccessPolicyAsync(
PutBackupVaultAccessPolicyRequest putBackupVaultAccessPolicyRequest);
/**
*
* Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a
* backup vault name and an access policy document in JSON format.
*
*
* @param putBackupVaultAccessPolicyRequest
* @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 PutBackupVaultAccessPolicy operation returned by the service.
* @sample AWSBackupAsyncHandler.PutBackupVaultAccessPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future putBackupVaultAccessPolicyAsync(
PutBackupVaultAccessPolicyRequest putBackupVaultAccessPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Turns on notifications on a backup vault for the specified topic and events.
*
*
* @param putBackupVaultNotificationsRequest
* @return A Java Future containing the result of the PutBackupVaultNotifications operation returned by the service.
* @sample AWSBackupAsync.PutBackupVaultNotifications
* @see AWS API Documentation
*/
java.util.concurrent.Future putBackupVaultNotificationsAsync(
PutBackupVaultNotificationsRequest putBackupVaultNotificationsRequest);
/**
*
* Turns on notifications on a backup vault for the specified topic and events.
*
*
* @param putBackupVaultNotificationsRequest
* @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 PutBackupVaultNotifications operation returned by the service.
* @sample AWSBackupAsyncHandler.PutBackupVaultNotifications
* @see AWS API Documentation
*/
java.util.concurrent.Future putBackupVaultNotificationsAsync(
PutBackupVaultNotificationsRequest putBackupVaultNotificationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts a job to create a one-time backup of the specified resource.
*
*
* @param startBackupJobRequest
* @return A Java Future containing the result of the StartBackupJob operation returned by the service.
* @sample AWSBackupAsync.StartBackupJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startBackupJobAsync(StartBackupJobRequest startBackupJobRequest);
/**
*
* Starts a job to create a one-time backup of the specified resource.
*
*
* @param startBackupJobRequest
* @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 StartBackupJob operation returned by the service.
* @sample AWSBackupAsyncHandler.StartBackupJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startBackupJobAsync(StartBackupJobRequest startBackupJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts a job to create a one-time copy of the specified resource.
*
*
* @param startCopyJobRequest
* @return A Java Future containing the result of the StartCopyJob operation returned by the service.
* @sample AWSBackupAsync.StartCopyJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startCopyJobAsync(StartCopyJobRequest startCopyJobRequest);
/**
*
* Starts a job to create a one-time copy of the specified resource.
*
*
* @param startCopyJobRequest
* @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 StartCopyJob operation returned by the service.
* @sample AWSBackupAsyncHandler.StartCopyJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startCopyJobAsync(StartCopyJobRequest startCopyJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Recovers the saved resource identified by an Amazon Resource Name (ARN).
*
*
* If the resource ARN is included in the request, then the last complete backup of that resource is recovered. If
* the ARN of a recovery point is supplied, then that recovery point is restored.
*
*
* @param startRestoreJobRequest
* @return A Java Future containing the result of the StartRestoreJob operation returned by the service.
* @sample AWSBackupAsync.StartRestoreJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startRestoreJobAsync(StartRestoreJobRequest startRestoreJobRequest);
/**
*
* Recovers the saved resource identified by an Amazon Resource Name (ARN).
*
*
* If the resource ARN is included in the request, then the last complete backup of that resource is recovered. If
* the ARN of a recovery point is supplied, then that recovery point is restored.
*
*
* @param startRestoreJobRequest
* @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 StartRestoreJob operation returned by the service.
* @sample AWSBackupAsyncHandler.StartRestoreJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startRestoreJobAsync(StartRestoreJobRequest startRestoreJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Attempts to cancel a job to create a one-time backup of a resource.
*
*
* @param stopBackupJobRequest
* @return A Java Future containing the result of the StopBackupJob operation returned by the service.
* @sample AWSBackupAsync.StopBackupJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopBackupJobAsync(StopBackupJobRequest stopBackupJobRequest);
/**
*
* Attempts to cancel a job to create a one-time backup of a resource.
*
*
* @param stopBackupJobRequest
* @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 StopBackupJob operation returned by the service.
* @sample AWSBackupAsyncHandler.StopBackupJob
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopBackupJobAsync(StopBackupJobRequest stopBackupJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon
* Resource Name (ARN).
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSBackupAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon
* Resource Name (ARN).
*
*
* @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 AWSBackupAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon
* Resource Name (ARN)
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSBackupAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon
* Resource Name (ARN)
*
*
* @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 AWSBackupAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Replaces the body of a saved backup plan identified by its backupPlanId
with the input document in
* JSON format. The new version is uniquely identified by a VersionId
.
*
*
* @param updateBackupPlanRequest
* @return A Java Future containing the result of the UpdateBackupPlan operation returned by the service.
* @sample AWSBackupAsync.UpdateBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateBackupPlanAsync(UpdateBackupPlanRequest updateBackupPlanRequest);
/**
*
* Replaces the body of a saved backup plan identified by its backupPlanId
with the input document in
* JSON format. The new version is uniquely identified by a VersionId
.
*
*
* @param updateBackupPlanRequest
* @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 UpdateBackupPlan operation returned by the service.
* @sample AWSBackupAsyncHandler.UpdateBackupPlan
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateBackupPlanAsync(UpdateBackupPlanRequest updateBackupPlanRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Sets the transition lifecycle of a recovery point.
*
*
* The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup
* transitions and expires backups automatically according to the lifecycle that you define.
*
*
* Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the
* “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The
* “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
*
*
* @param updateRecoveryPointLifecycleRequest
* @return A Java Future containing the result of the UpdateRecoveryPointLifecycle operation returned by the
* service.
* @sample AWSBackupAsync.UpdateRecoveryPointLifecycle
* @see AWS API Documentation
*/
java.util.concurrent.Future updateRecoveryPointLifecycleAsync(
UpdateRecoveryPointLifecycleRequest updateRecoveryPointLifecycleRequest);
/**
*
* Sets the transition lifecycle of a recovery point.
*
*
* The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup
* transitions and expires backups automatically according to the lifecycle that you define.
*
*
* Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the
* “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The
* “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
*
*
* @param updateRecoveryPointLifecycleRequest
* @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 UpdateRecoveryPointLifecycle operation returned by the
* service.
* @sample AWSBackupAsyncHandler.UpdateRecoveryPointLifecycle
* @see AWS API Documentation
*/
java.util.concurrent.Future updateRecoveryPointLifecycleAsync(
UpdateRecoveryPointLifecycleRequest updateRecoveryPointLifecycleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}