@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBackupAsyncClient extends AWSBackupClient implements AWSBackupAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createBackupPlan, createBackupSelection, createBackupVault, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultNotifications, deleteRecoveryPoint, describeBackupJob, describeBackupVault, describeCopyJob, describeProtectedResource, describeRecoveryPoint, describeRestoreJob, exportBackupPlanTemplate, getBackupPlan, getBackupPlanFromJSON, getBackupPlanFromTemplate, getBackupSelection, getBackupVaultAccessPolicy, getBackupVaultNotifications, getCachedResponseMetadata, getRecoveryPointRestoreMetadata, getSupportedResourceTypes, listBackupJobs, listBackupPlans, listBackupPlanTemplates, listBackupPlanVersions, listBackupSelections, listBackupVaults, listCopyJobs, listProtectedResources, listRecoveryPointsByBackupVault, listRecoveryPointsByResource, listRestoreJobs, listTags, putBackupVaultAccessPolicy, putBackupVaultNotifications, startBackupJob, startCopyJob, startRestoreJob, stopBackupJob, tagResource, untagResource, updateBackupPlan, updateRecoveryPointLifecycle
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBackupPlan, createBackupSelection, createBackupVault, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultNotifications, deleteRecoveryPoint, describeBackupJob, describeBackupVault, describeCopyJob, describeProtectedResource, describeRecoveryPoint, describeRestoreJob, exportBackupPlanTemplate, getBackupPlan, getBackupPlanFromJSON, getBackupPlanFromTemplate, getBackupSelection, getBackupVaultAccessPolicy, getBackupVaultNotifications, getCachedResponseMetadata, getRecoveryPointRestoreMetadata, getSupportedResourceTypes, listBackupJobs, listBackupPlans, listBackupPlanTemplates, listBackupPlanVersions, listBackupSelections, listBackupVaults, listCopyJobs, listProtectedResources, listRecoveryPointsByBackupVault, listRecoveryPointsByResource, listRestoreJobs, listTags, putBackupVaultAccessPolicy, putBackupVaultNotifications, startBackupJob, startCopyJob, startRestoreJob, stopBackupJob, tagResource, untagResource, updateBackupPlan, updateRecoveryPointLifecycle
public static AWSBackupAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request)
AWSBackupAsync
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.
createBackupPlanAsync
in interface AWSBackupAsync
public Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request, AsyncHandler<CreateBackupPlanRequest,CreateBackupPlanResult> asyncHandler)
AWSBackupAsync
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.
createBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBackupSelectionResult> createBackupSelectionAsync(CreateBackupSelectionRequest request)
AWSBackupAsync
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.
createBackupSelectionAsync
in interface AWSBackupAsync
public Future<CreateBackupSelectionResult> createBackupSelectionAsync(CreateBackupSelectionRequest request, AsyncHandler<CreateBackupSelectionRequest,CreateBackupSelectionResult> asyncHandler)
AWSBackupAsync
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.
createBackupSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBackupVaultResult> createBackupVaultAsync(CreateBackupVaultRequest request)
AWSBackupAsync
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.
createBackupVaultAsync
in interface AWSBackupAsync
public Future<CreateBackupVaultResult> createBackupVaultAsync(CreateBackupVaultRequest request, AsyncHandler<CreateBackupVaultRequest,CreateBackupVaultResult> asyncHandler)
AWSBackupAsync
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.
createBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupPlanResult> deleteBackupPlanAsync(DeleteBackupPlanRequest request)
AWSBackupAsync
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.
deleteBackupPlanAsync
in interface AWSBackupAsync
public Future<DeleteBackupPlanResult> deleteBackupPlanAsync(DeleteBackupPlanRequest request, AsyncHandler<DeleteBackupPlanRequest,DeleteBackupPlanResult> asyncHandler)
AWSBackupAsync
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.
deleteBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupSelectionResult> deleteBackupSelectionAsync(DeleteBackupSelectionRequest request)
AWSBackupAsync
Deletes the resource selection associated with a backup plan that is specified by the SelectionId
.
deleteBackupSelectionAsync
in interface AWSBackupAsync
public Future<DeleteBackupSelectionResult> deleteBackupSelectionAsync(DeleteBackupSelectionRequest request, AsyncHandler<DeleteBackupSelectionRequest,DeleteBackupSelectionResult> asyncHandler)
AWSBackupAsync
Deletes the resource selection associated with a backup plan that is specified by the SelectionId
.
deleteBackupSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupVaultResult> deleteBackupVaultAsync(DeleteBackupVaultRequest request)
AWSBackupAsync
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
deleteBackupVaultAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultResult> deleteBackupVaultAsync(DeleteBackupVaultRequest request, AsyncHandler<DeleteBackupVaultRequest,DeleteBackupVaultResult> asyncHandler)
AWSBackupAsync
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
deleteBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupVaultAccessPolicyResult> deleteBackupVaultAccessPolicyAsync(DeleteBackupVaultAccessPolicyRequest request)
AWSBackupAsync
Deletes the policy document that manages permissions on a backup vault.
deleteBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultAccessPolicyResult> deleteBackupVaultAccessPolicyAsync(DeleteBackupVaultAccessPolicyRequest request, AsyncHandler<DeleteBackupVaultAccessPolicyRequest,DeleteBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsync
Deletes the policy document that manages permissions on a backup vault.
deleteBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupVaultNotificationsResult> deleteBackupVaultNotificationsAsync(DeleteBackupVaultNotificationsRequest request)
AWSBackupAsync
Deletes event notifications for the specified backup vault.
deleteBackupVaultNotificationsAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultNotificationsResult> deleteBackupVaultNotificationsAsync(DeleteBackupVaultNotificationsRequest request, AsyncHandler<DeleteBackupVaultNotificationsRequest,DeleteBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsync
Deletes event notifications for the specified backup vault.
deleteBackupVaultNotificationsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRecoveryPointResult> deleteRecoveryPointAsync(DeleteRecoveryPointRequest request)
AWSBackupAsync
Deletes the recovery point specified by a recovery point ID.
deleteRecoveryPointAsync
in interface AWSBackupAsync
public Future<DeleteRecoveryPointResult> deleteRecoveryPointAsync(DeleteRecoveryPointRequest request, AsyncHandler<DeleteRecoveryPointRequest,DeleteRecoveryPointResult> asyncHandler)
AWSBackupAsync
Deletes the recovery point specified by a recovery point ID.
deleteRecoveryPointAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBackupJobResult> describeBackupJobAsync(DescribeBackupJobRequest request)
AWSBackupAsync
Returns metadata associated with creating a backup of a resource.
describeBackupJobAsync
in interface AWSBackupAsync
public Future<DescribeBackupJobResult> describeBackupJobAsync(DescribeBackupJobRequest request, AsyncHandler<DescribeBackupJobRequest,DescribeBackupJobResult> asyncHandler)
AWSBackupAsync
Returns metadata associated with creating a backup of a resource.
describeBackupJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBackupVaultResult> describeBackupVaultAsync(DescribeBackupVaultRequest request)
AWSBackupAsync
Returns metadata about a backup vault specified by its name.
describeBackupVaultAsync
in interface AWSBackupAsync
public Future<DescribeBackupVaultResult> describeBackupVaultAsync(DescribeBackupVaultRequest request, AsyncHandler<DescribeBackupVaultRequest,DescribeBackupVaultResult> asyncHandler)
AWSBackupAsync
Returns metadata about a backup vault specified by its name.
describeBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCopyJobResult> describeCopyJobAsync(DescribeCopyJobRequest request)
AWSBackupAsync
Returns metadata associated with creating a copy of a resource.
describeCopyJobAsync
in interface AWSBackupAsync
public Future<DescribeCopyJobResult> describeCopyJobAsync(DescribeCopyJobRequest request, AsyncHandler<DescribeCopyJobRequest,DescribeCopyJobResult> asyncHandler)
AWSBackupAsync
Returns metadata associated with creating a copy of a resource.
describeCopyJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeProtectedResourceResult> describeProtectedResourceAsync(DescribeProtectedResourceRequest request)
AWSBackupAsync
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.
describeProtectedResourceAsync
in interface AWSBackupAsync
public Future<DescribeProtectedResourceResult> describeProtectedResourceAsync(DescribeProtectedResourceRequest request, AsyncHandler<DescribeProtectedResourceRequest,DescribeProtectedResourceResult> asyncHandler)
AWSBackupAsync
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.
describeProtectedResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRecoveryPointResult> describeRecoveryPointAsync(DescribeRecoveryPointRequest request)
AWSBackupAsync
Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
describeRecoveryPointAsync
in interface AWSBackupAsync
public Future<DescribeRecoveryPointResult> describeRecoveryPointAsync(DescribeRecoveryPointRequest request, AsyncHandler<DescribeRecoveryPointRequest,DescribeRecoveryPointResult> asyncHandler)
AWSBackupAsync
Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
describeRecoveryPointAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRestoreJobResult> describeRestoreJobAsync(DescribeRestoreJobRequest request)
AWSBackupAsync
Returns metadata associated with a restore job that is specified by a job ID.
describeRestoreJobAsync
in interface AWSBackupAsync
public Future<DescribeRestoreJobResult> describeRestoreJobAsync(DescribeRestoreJobRequest request, AsyncHandler<DescribeRestoreJobRequest,DescribeRestoreJobResult> asyncHandler)
AWSBackupAsync
Returns metadata associated with a restore job that is specified by a job ID.
describeRestoreJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ExportBackupPlanTemplateResult> exportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest request)
AWSBackupAsync
Returns the backup plan that is specified by the plan ID as a backup template.
exportBackupPlanTemplateAsync
in interface AWSBackupAsync
public Future<ExportBackupPlanTemplateResult> exportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest request, AsyncHandler<ExportBackupPlanTemplateRequest,ExportBackupPlanTemplateResult> asyncHandler)
AWSBackupAsync
Returns the backup plan that is specified by the plan ID as a backup template.
exportBackupPlanTemplateAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupPlanResult> getBackupPlanAsync(GetBackupPlanRequest request)
AWSBackupAsync
Returns the body of a backup plan in JSON format, in addition to plan metadata.
getBackupPlanAsync
in interface AWSBackupAsync
public Future<GetBackupPlanResult> getBackupPlanAsync(GetBackupPlanRequest request, AsyncHandler<GetBackupPlanRequest,GetBackupPlanResult> asyncHandler)
AWSBackupAsync
Returns the body of a backup plan in JSON format, in addition to plan metadata.
getBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupPlanFromJSONResult> getBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest request)
AWSBackupAsync
Returns a valid JSON document specifying a backup plan or an error.
getBackupPlanFromJSONAsync
in interface AWSBackupAsync
public Future<GetBackupPlanFromJSONResult> getBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest request, AsyncHandler<GetBackupPlanFromJSONRequest,GetBackupPlanFromJSONResult> asyncHandler)
AWSBackupAsync
Returns a valid JSON document specifying a backup plan or an error.
getBackupPlanFromJSONAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupPlanFromTemplateResult> getBackupPlanFromTemplateAsync(GetBackupPlanFromTemplateRequest request)
AWSBackupAsync
Returns the template specified by its templateId
as a backup plan.
getBackupPlanFromTemplateAsync
in interface AWSBackupAsync
public Future<GetBackupPlanFromTemplateResult> getBackupPlanFromTemplateAsync(GetBackupPlanFromTemplateRequest request, AsyncHandler<GetBackupPlanFromTemplateRequest,GetBackupPlanFromTemplateResult> asyncHandler)
AWSBackupAsync
Returns the template specified by its templateId
as a backup plan.
getBackupPlanFromTemplateAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupSelectionResult> getBackupSelectionAsync(GetBackupSelectionRequest request)
AWSBackupAsync
Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
getBackupSelectionAsync
in interface AWSBackupAsync
public Future<GetBackupSelectionResult> getBackupSelectionAsync(GetBackupSelectionRequest request, AsyncHandler<GetBackupSelectionRequest,GetBackupSelectionResult> asyncHandler)
AWSBackupAsync
Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
getBackupSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupVaultAccessPolicyResult> getBackupVaultAccessPolicyAsync(GetBackupVaultAccessPolicyRequest request)
AWSBackupAsync
Returns the access policy document that is associated with the named backup vault.
getBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
public Future<GetBackupVaultAccessPolicyResult> getBackupVaultAccessPolicyAsync(GetBackupVaultAccessPolicyRequest request, AsyncHandler<GetBackupVaultAccessPolicyRequest,GetBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsync
Returns the access policy document that is associated with the named backup vault.
getBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupVaultNotificationsResult> getBackupVaultNotificationsAsync(GetBackupVaultNotificationsRequest request)
AWSBackupAsync
Returns event notifications for the specified backup vault.
getBackupVaultNotificationsAsync
in interface AWSBackupAsync
public Future<GetBackupVaultNotificationsResult> getBackupVaultNotificationsAsync(GetBackupVaultNotificationsRequest request, AsyncHandler<GetBackupVaultNotificationsRequest,GetBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsync
Returns event notifications for the specified backup vault.
getBackupVaultNotificationsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRecoveryPointRestoreMetadataResult> getRecoveryPointRestoreMetadataAsync(GetRecoveryPointRestoreMetadataRequest request)
AWSBackupAsync
Returns a set of metadata key-value pairs that were used to create the backup.
getRecoveryPointRestoreMetadataAsync
in interface AWSBackupAsync
public Future<GetRecoveryPointRestoreMetadataResult> getRecoveryPointRestoreMetadataAsync(GetRecoveryPointRestoreMetadataRequest request, AsyncHandler<GetRecoveryPointRestoreMetadataRequest,GetRecoveryPointRestoreMetadataResult> asyncHandler)
AWSBackupAsync
Returns a set of metadata key-value pairs that were used to create the backup.
getRecoveryPointRestoreMetadataAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSupportedResourceTypesResult> getSupportedResourceTypesAsync(GetSupportedResourceTypesRequest request)
AWSBackupAsync
Returns the AWS resource types supported by AWS Backup.
getSupportedResourceTypesAsync
in interface AWSBackupAsync
public Future<GetSupportedResourceTypesResult> getSupportedResourceTypesAsync(GetSupportedResourceTypesRequest request, AsyncHandler<GetSupportedResourceTypesRequest,GetSupportedResourceTypesResult> asyncHandler)
AWSBackupAsync
Returns the AWS resource types supported by AWS Backup.
getSupportedResourceTypesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupJobsResult> listBackupJobsAsync(ListBackupJobsRequest request)
AWSBackupAsync
Returns metadata about your backup jobs.
listBackupJobsAsync
in interface AWSBackupAsync
public Future<ListBackupJobsResult> listBackupJobsAsync(ListBackupJobsRequest request, AsyncHandler<ListBackupJobsRequest,ListBackupJobsResult> asyncHandler)
AWSBackupAsync
Returns metadata about your backup jobs.
listBackupJobsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupPlanTemplatesResult> listBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest request)
AWSBackupAsync
Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
listBackupPlanTemplatesAsync
in interface AWSBackupAsync
public Future<ListBackupPlanTemplatesResult> listBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest request, AsyncHandler<ListBackupPlanTemplatesRequest,ListBackupPlanTemplatesResult> asyncHandler)
AWSBackupAsync
Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
listBackupPlanTemplatesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupPlanVersionsResult> listBackupPlanVersionsAsync(ListBackupPlanVersionsRequest request)
AWSBackupAsync
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
listBackupPlanVersionsAsync
in interface AWSBackupAsync
public Future<ListBackupPlanVersionsResult> listBackupPlanVersionsAsync(ListBackupPlanVersionsRequest request, AsyncHandler<ListBackupPlanVersionsRequest,ListBackupPlanVersionsResult> asyncHandler)
AWSBackupAsync
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
listBackupPlanVersionsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupPlansResult> listBackupPlansAsync(ListBackupPlansRequest request)
AWSBackupAsync
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.
listBackupPlansAsync
in interface AWSBackupAsync
public Future<ListBackupPlansResult> listBackupPlansAsync(ListBackupPlansRequest request, AsyncHandler<ListBackupPlansRequest,ListBackupPlansResult> asyncHandler)
AWSBackupAsync
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.
listBackupPlansAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupSelectionsResult> listBackupSelectionsAsync(ListBackupSelectionsRequest request)
AWSBackupAsync
Returns an array containing metadata of the resources associated with the target backup plan.
listBackupSelectionsAsync
in interface AWSBackupAsync
public Future<ListBackupSelectionsResult> listBackupSelectionsAsync(ListBackupSelectionsRequest request, AsyncHandler<ListBackupSelectionsRequest,ListBackupSelectionsResult> asyncHandler)
AWSBackupAsync
Returns an array containing metadata of the resources associated with the target backup plan.
listBackupSelectionsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupVaultsResult> listBackupVaultsAsync(ListBackupVaultsRequest request)
AWSBackupAsync
Returns a list of recovery point storage containers along with information about them.
listBackupVaultsAsync
in interface AWSBackupAsync
public Future<ListBackupVaultsResult> listBackupVaultsAsync(ListBackupVaultsRequest request, AsyncHandler<ListBackupVaultsRequest,ListBackupVaultsResult> asyncHandler)
AWSBackupAsync
Returns a list of recovery point storage containers along with information about them.
listBackupVaultsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCopyJobsResult> listCopyJobsAsync(ListCopyJobsRequest request)
AWSBackupAsync
Returns metadata about your copy jobs.
listCopyJobsAsync
in interface AWSBackupAsync
public Future<ListCopyJobsResult> listCopyJobsAsync(ListCopyJobsRequest request, AsyncHandler<ListCopyJobsRequest,ListCopyJobsResult> asyncHandler)
AWSBackupAsync
Returns metadata about your copy jobs.
listCopyJobsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProtectedResourcesResult> listProtectedResourcesAsync(ListProtectedResourcesRequest request)
AWSBackupAsync
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.
listProtectedResourcesAsync
in interface AWSBackupAsync
public Future<ListProtectedResourcesResult> listProtectedResourcesAsync(ListProtectedResourcesRequest request, AsyncHandler<ListProtectedResourcesRequest,ListProtectedResourcesResult> asyncHandler)
AWSBackupAsync
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.
listProtectedResourcesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRecoveryPointsByBackupVaultResult> listRecoveryPointsByBackupVaultAsync(ListRecoveryPointsByBackupVaultRequest request)
AWSBackupAsync
Returns detailed information about the recovery points stored in a backup vault.
listRecoveryPointsByBackupVaultAsync
in interface AWSBackupAsync
public Future<ListRecoveryPointsByBackupVaultResult> listRecoveryPointsByBackupVaultAsync(ListRecoveryPointsByBackupVaultRequest request, AsyncHandler<ListRecoveryPointsByBackupVaultRequest,ListRecoveryPointsByBackupVaultResult> asyncHandler)
AWSBackupAsync
Returns detailed information about the recovery points stored in a backup vault.
listRecoveryPointsByBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRecoveryPointsByResourceResult> listRecoveryPointsByResourceAsync(ListRecoveryPointsByResourceRequest request)
AWSBackupAsync
Returns detailed information about recovery points of the type specified by a resource Amazon Resource Name (ARN).
listRecoveryPointsByResourceAsync
in interface AWSBackupAsync
public Future<ListRecoveryPointsByResourceResult> listRecoveryPointsByResourceAsync(ListRecoveryPointsByResourceRequest request, AsyncHandler<ListRecoveryPointsByResourceRequest,ListRecoveryPointsByResourceResult> asyncHandler)
AWSBackupAsync
Returns detailed information about recovery points of the type specified by a resource Amazon Resource Name (ARN).
listRecoveryPointsByResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRestoreJobsResult> listRestoreJobsAsync(ListRestoreJobsRequest request)
AWSBackupAsync
Returns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the recovery process.
listRestoreJobsAsync
in interface AWSBackupAsync
public Future<ListRestoreJobsResult> listRestoreJobsAsync(ListRestoreJobsRequest request, AsyncHandler<ListRestoreJobsRequest,ListRestoreJobsResult> asyncHandler)
AWSBackupAsync
Returns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the recovery process.
listRestoreJobsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
AWSBackupAsync
Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
listTagsAsync
in interface AWSBackupAsync
public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AWSBackupAsync
Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
listTagsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutBackupVaultAccessPolicyResult> putBackupVaultAccessPolicyAsync(PutBackupVaultAccessPolicyRequest request)
AWSBackupAsync
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.
putBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
public Future<PutBackupVaultAccessPolicyResult> putBackupVaultAccessPolicyAsync(PutBackupVaultAccessPolicyRequest request, AsyncHandler<PutBackupVaultAccessPolicyRequest,PutBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsync
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.
putBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutBackupVaultNotificationsResult> putBackupVaultNotificationsAsync(PutBackupVaultNotificationsRequest request)
AWSBackupAsync
Turns on notifications on a backup vault for the specified topic and events.
putBackupVaultNotificationsAsync
in interface AWSBackupAsync
public Future<PutBackupVaultNotificationsResult> putBackupVaultNotificationsAsync(PutBackupVaultNotificationsRequest request, AsyncHandler<PutBackupVaultNotificationsRequest,PutBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsync
Turns on notifications on a backup vault for the specified topic and events.
putBackupVaultNotificationsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartBackupJobResult> startBackupJobAsync(StartBackupJobRequest request)
AWSBackupAsync
Starts a job to create a one-time backup of the specified resource.
startBackupJobAsync
in interface AWSBackupAsync
public Future<StartBackupJobResult> startBackupJobAsync(StartBackupJobRequest request, AsyncHandler<StartBackupJobRequest,StartBackupJobResult> asyncHandler)
AWSBackupAsync
Starts a job to create a one-time backup of the specified resource.
startBackupJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartCopyJobResult> startCopyJobAsync(StartCopyJobRequest request)
AWSBackupAsync
Starts a job to create a one-time copy of the specified resource.
startCopyJobAsync
in interface AWSBackupAsync
public Future<StartCopyJobResult> startCopyJobAsync(StartCopyJobRequest request, AsyncHandler<StartCopyJobRequest,StartCopyJobResult> asyncHandler)
AWSBackupAsync
Starts a job to create a one-time copy of the specified resource.
startCopyJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartRestoreJobResult> startRestoreJobAsync(StartRestoreJobRequest request)
AWSBackupAsync
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.
startRestoreJobAsync
in interface AWSBackupAsync
public Future<StartRestoreJobResult> startRestoreJobAsync(StartRestoreJobRequest request, AsyncHandler<StartRestoreJobRequest,StartRestoreJobResult> asyncHandler)
AWSBackupAsync
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.
startRestoreJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopBackupJobResult> stopBackupJobAsync(StopBackupJobRequest request)
AWSBackupAsync
Attempts to cancel a job to create a one-time backup of a resource.
stopBackupJobAsync
in interface AWSBackupAsync
public Future<StopBackupJobResult> stopBackupJobAsync(StopBackupJobRequest request, AsyncHandler<StopBackupJobRequest,StopBackupJobResult> asyncHandler)
AWSBackupAsync
Attempts to cancel a job to create a one-time backup of a resource.
stopBackupJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBackupAsync
Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
tagResourceAsync
in interface AWSBackupAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBackupAsync
Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
tagResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBackupAsync
Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
untagResourceAsync
in interface AWSBackupAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBackupAsync
Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
untagResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBackupPlanResult> updateBackupPlanAsync(UpdateBackupPlanRequest request)
AWSBackupAsync
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
.
updateBackupPlanAsync
in interface AWSBackupAsync
public Future<UpdateBackupPlanResult> updateBackupPlanAsync(UpdateBackupPlanRequest request, AsyncHandler<UpdateBackupPlanRequest,UpdateBackupPlanResult> asyncHandler)
AWSBackupAsync
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
.
updateBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRecoveryPointLifecycleResult> updateRecoveryPointLifecycleAsync(UpdateRecoveryPointLifecycleRequest request)
AWSBackupAsync
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.
updateRecoveryPointLifecycleAsync
in interface AWSBackupAsync
public Future<UpdateRecoveryPointLifecycleResult> updateRecoveryPointLifecycleAsync(UpdateRecoveryPointLifecycleRequest request, AsyncHandler<UpdateRecoveryPointLifecycleRequest,UpdateRecoveryPointLifecycleResult> asyncHandler)
AWSBackupAsync
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.
updateRecoveryPointLifecycleAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSBackup
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.