@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_METRICENDPOINT_PREFIXbuilder, createBackupPlan, createBackupSelection, createBackupVault, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultNotifications, deleteRecoveryPoint, describeBackupJob, describeBackupVault, describeCopyJob, describeGlobalSettings, describeProtectedResource, describeRecoveryPoint, describeRegionSettings, describeRestoreJob, disassociateRecoveryPoint, 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, updateGlobalSettings, updateRecoveryPointLifecycle, updateRegionSettingsaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateBackupPlan, createBackupSelection, createBackupVault, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultNotifications, deleteRecoveryPoint, describeBackupJob, describeBackupVault, describeCopyJob, describeGlobalSettings, describeProtectedResource, describeRecoveryPoint, describeRegionSettings, describeRestoreJob, disassociateRecoveryPoint, 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, updateGlobalSettings, updateRecoveryPointLifecycle, updateRegionSettingspublic static AWSBackupAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request)
AWSBackupAsyncCreates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that AWS Backup uses to schedule tasks that create recovery points for resources.
If you call CreateBackupPlan with a plan that already exists, an AlreadyExistsException
is returned.
createBackupPlanAsync in interface AWSBackupAsyncpublic Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request, AsyncHandler<CreateBackupPlanRequest,CreateBackupPlanResult> asyncHandler)
AWSBackupAsyncCreates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that AWS Backup uses to schedule tasks that create recovery points for resources.
If you call CreateBackupPlan with a plan that already exists, an AlreadyExistsException
is returned.
createBackupPlanAsync in interface AWSBackupAsyncasyncHandler - 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 AWSBackupAsyncpublic 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 AWSBackupAsyncasyncHandler - 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 AWSBackupAsyncpublic 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 AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncDeletes 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 AWSBackupAsyncpublic Future<DeleteBackupPlanResult> deleteBackupPlanAsync(DeleteBackupPlanRequest request, AsyncHandler<DeleteBackupPlanRequest,DeleteBackupPlanResult> asyncHandler)
AWSBackupAsyncDeletes 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 AWSBackupAsyncasyncHandler - 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 AWSBackupAsyncpublic 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 AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncDeletes the backup vault identified by its name. A vault can be deleted only if it is empty.
deleteBackupVaultAsync in interface AWSBackupAsyncpublic Future<DeleteBackupVaultResult> deleteBackupVaultAsync(DeleteBackupVaultRequest request, AsyncHandler<DeleteBackupVaultRequest,DeleteBackupVaultResult> asyncHandler)
AWSBackupAsyncDeletes the backup vault identified by its name. A vault can be deleted only if it is empty.
deleteBackupVaultAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncDeletes the policy document that manages permissions on a backup vault.
deleteBackupVaultAccessPolicyAsync in interface AWSBackupAsyncpublic Future<DeleteBackupVaultAccessPolicyResult> deleteBackupVaultAccessPolicyAsync(DeleteBackupVaultAccessPolicyRequest request, AsyncHandler<DeleteBackupVaultAccessPolicyRequest,DeleteBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsyncDeletes the policy document that manages permissions on a backup vault.
deleteBackupVaultAccessPolicyAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncDeletes event notifications for the specified backup vault.
deleteBackupVaultNotificationsAsync in interface AWSBackupAsyncpublic Future<DeleteBackupVaultNotificationsResult> deleteBackupVaultNotificationsAsync(DeleteBackupVaultNotificationsRequest request, AsyncHandler<DeleteBackupVaultNotificationsRequest,DeleteBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsyncDeletes event notifications for the specified backup vault.
deleteBackupVaultNotificationsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncDeletes the recovery point specified by a recovery point ID.
If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup.
deleteRecoveryPointAsync in interface AWSBackupAsyncpublic Future<DeleteRecoveryPointResult> deleteRecoveryPointAsync(DeleteRecoveryPointRequest request, AsyncHandler<DeleteRecoveryPointRequest,DeleteRecoveryPointResult> asyncHandler)
AWSBackupAsyncDeletes the recovery point specified by a recovery point ID.
If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup.
deleteRecoveryPointAsync in interface AWSBackupAsyncasyncHandler - 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 backup job details for the specified BackupJobId.
describeBackupJobAsync in interface AWSBackupAsyncpublic Future<DescribeBackupJobResult> describeBackupJobAsync(DescribeBackupJobRequest request, AsyncHandler<DescribeBackupJobRequest,DescribeBackupJobResult> asyncHandler)
AWSBackupAsync
Returns backup job details for the specified BackupJobId.
describeBackupJobAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns metadata about a backup vault specified by its name.
describeBackupVaultAsync in interface AWSBackupAsyncpublic Future<DescribeBackupVaultResult> describeBackupVaultAsync(DescribeBackupVaultRequest request, AsyncHandler<DescribeBackupVaultRequest,DescribeBackupVaultResult> asyncHandler)
AWSBackupAsyncReturns metadata about a backup vault specified by its name.
describeBackupVaultAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns metadata associated with creating a copy of a resource.
describeCopyJobAsync in interface AWSBackupAsyncpublic Future<DescribeCopyJobResult> describeCopyJobAsync(DescribeCopyJobRequest request, AsyncHandler<DescribeCopyJobRequest,DescribeCopyJobResult> asyncHandler)
AWSBackupAsyncReturns metadata associated with creating a copy of a resource.
describeCopyJobAsync in interface AWSBackupAsyncasyncHandler - 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<DescribeGlobalSettingsResult> describeGlobalSettingsAsync(DescribeGlobalSettingsRequest request)
AWSBackupAsyncDescribes the global settings of the AWS account, including whether it is opted in to cross-account backup.
describeGlobalSettingsAsync in interface AWSBackupAsyncpublic Future<DescribeGlobalSettingsResult> describeGlobalSettingsAsync(DescribeGlobalSettingsRequest request, AsyncHandler<DescribeGlobalSettingsRequest,DescribeGlobalSettingsResult> asyncHandler)
AWSBackupAsyncDescribes the global settings of the AWS account, including whether it is opted in to cross-account backup.
describeGlobalSettingsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns 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 AWSBackupAsyncpublic Future<DescribeProtectedResourceResult> describeProtectedResourceAsync(DescribeProtectedResourceRequest request, AsyncHandler<DescribeProtectedResourceRequest,DescribeProtectedResourceResult> asyncHandler)
AWSBackupAsyncReturns 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 AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
describeRecoveryPointAsync in interface AWSBackupAsyncpublic Future<DescribeRecoveryPointResult> describeRecoveryPointAsync(DescribeRecoveryPointRequest request, AsyncHandler<DescribeRecoveryPointRequest,DescribeRecoveryPointResult> asyncHandler)
AWSBackupAsyncReturns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
describeRecoveryPointAsync in interface AWSBackupAsyncasyncHandler - 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<DescribeRegionSettingsResult> describeRegionSettingsAsync(DescribeRegionSettingsRequest request)
AWSBackupAsyncReturns the current service opt-in settings for the Region. If service-opt-in is enabled for a service, AWS Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, AWS Backup does not try to protect that service's resources in this Region, AWS Backup does not try to protect that service's resources in this Region.
describeRegionSettingsAsync in interface AWSBackupAsyncpublic Future<DescribeRegionSettingsResult> describeRegionSettingsAsync(DescribeRegionSettingsRequest request, AsyncHandler<DescribeRegionSettingsRequest,DescribeRegionSettingsResult> asyncHandler)
AWSBackupAsyncReturns the current service opt-in settings for the Region. If service-opt-in is enabled for a service, AWS Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, AWS Backup does not try to protect that service's resources in this Region, AWS Backup does not try to protect that service's resources in this Region.
describeRegionSettingsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns metadata associated with a restore job that is specified by a job ID.
describeRestoreJobAsync in interface AWSBackupAsyncpublic Future<DescribeRestoreJobResult> describeRestoreJobAsync(DescribeRestoreJobRequest request, AsyncHandler<DescribeRestoreJobRequest,DescribeRestoreJobResult> asyncHandler)
AWSBackupAsyncReturns metadata associated with a restore job that is specified by a job ID.
describeRestoreJobAsync in interface AWSBackupAsyncasyncHandler - 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<DisassociateRecoveryPointResult> disassociateRecoveryPointAsync(DisassociateRecoveryPointRequest request)
AWSBackupAsyncDeletes the specified continuous backup recovery point from AWS Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan.
Does not support snapshot backup recovery points.
disassociateRecoveryPointAsync in interface AWSBackupAsyncpublic Future<DisassociateRecoveryPointResult> disassociateRecoveryPointAsync(DisassociateRecoveryPointRequest request, AsyncHandler<DisassociateRecoveryPointRequest,DisassociateRecoveryPointResult> asyncHandler)
AWSBackupAsyncDeletes the specified continuous backup recovery point from AWS Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan.
Does not support snapshot backup recovery points.
disassociateRecoveryPointAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns the backup plan that is specified by the plan ID as a backup template.
exportBackupPlanTemplateAsync in interface AWSBackupAsyncpublic Future<ExportBackupPlanTemplateResult> exportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest request, AsyncHandler<ExportBackupPlanTemplateRequest,ExportBackupPlanTemplateResult> asyncHandler)
AWSBackupAsyncReturns the backup plan that is specified by the plan ID as a backup template.
exportBackupPlanTemplateAsync in interface AWSBackupAsyncasyncHandler - 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 BackupPlan details for the specified BackupPlanId. The details are the body of
a backup plan in JSON format, in addition to plan metadata.
getBackupPlanAsync in interface AWSBackupAsyncpublic Future<GetBackupPlanResult> getBackupPlanAsync(GetBackupPlanRequest request, AsyncHandler<GetBackupPlanRequest,GetBackupPlanResult> asyncHandler)
AWSBackupAsync
Returns BackupPlan details for the specified BackupPlanId. The details are the body of
a backup plan in JSON format, in addition to plan metadata.
getBackupPlanAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns a valid JSON document specifying a backup plan or an error.
getBackupPlanFromJSONAsync in interface AWSBackupAsyncpublic Future<GetBackupPlanFromJSONResult> getBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest request, AsyncHandler<GetBackupPlanFromJSONRequest,GetBackupPlanFromJSONResult> asyncHandler)
AWSBackupAsyncReturns a valid JSON document specifying a backup plan or an error.
getBackupPlanFromJSONAsync in interface AWSBackupAsyncasyncHandler - 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 AWSBackupAsyncpublic Future<GetBackupPlanFromTemplateResult> getBackupPlanFromTemplateAsync(GetBackupPlanFromTemplateRequest request, AsyncHandler<GetBackupPlanFromTemplateRequest,GetBackupPlanFromTemplateResult> asyncHandler)
AWSBackupAsync
Returns the template specified by its templateId as a backup plan.
getBackupPlanFromTemplateAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
getBackupSelectionAsync in interface AWSBackupAsyncpublic Future<GetBackupSelectionResult> getBackupSelectionAsync(GetBackupSelectionRequest request, AsyncHandler<GetBackupSelectionRequest,GetBackupSelectionResult> asyncHandler)
AWSBackupAsyncReturns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
getBackupSelectionAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns the access policy document that is associated with the named backup vault.
getBackupVaultAccessPolicyAsync in interface AWSBackupAsyncpublic Future<GetBackupVaultAccessPolicyResult> getBackupVaultAccessPolicyAsync(GetBackupVaultAccessPolicyRequest request, AsyncHandler<GetBackupVaultAccessPolicyRequest,GetBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsyncReturns the access policy document that is associated with the named backup vault.
getBackupVaultAccessPolicyAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns event notifications for the specified backup vault.
getBackupVaultNotificationsAsync in interface AWSBackupAsyncpublic Future<GetBackupVaultNotificationsResult> getBackupVaultNotificationsAsync(GetBackupVaultNotificationsRequest request, AsyncHandler<GetBackupVaultNotificationsRequest,GetBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsyncReturns event notifications for the specified backup vault.
getBackupVaultNotificationsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns a set of metadata key-value pairs that were used to create the backup.
getRecoveryPointRestoreMetadataAsync in interface AWSBackupAsyncpublic Future<GetRecoveryPointRestoreMetadataResult> getRecoveryPointRestoreMetadataAsync(GetRecoveryPointRestoreMetadataRequest request, AsyncHandler<GetRecoveryPointRestoreMetadataRequest,GetRecoveryPointRestoreMetadataResult> asyncHandler)
AWSBackupAsyncReturns a set of metadata key-value pairs that were used to create the backup.
getRecoveryPointRestoreMetadataAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns the AWS resource types supported by AWS Backup.
getSupportedResourceTypesAsync in interface AWSBackupAsyncpublic Future<GetSupportedResourceTypesResult> getSupportedResourceTypesAsync(GetSupportedResourceTypesRequest request, AsyncHandler<GetSupportedResourceTypesRequest,GetSupportedResourceTypesResult> asyncHandler)
AWSBackupAsyncReturns the AWS resource types supported by AWS Backup.
getSupportedResourceTypesAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns a list of existing backup jobs for an authenticated account for the last 30 days. For a longer period of time, consider using these monitoring tools.
listBackupJobsAsync in interface AWSBackupAsyncpublic Future<ListBackupJobsResult> listBackupJobsAsync(ListBackupJobsRequest request, AsyncHandler<ListBackupJobsRequest,ListBackupJobsResult> asyncHandler)
AWSBackupAsyncReturns a list of existing backup jobs for an authenticated account for the last 30 days. For a longer period of time, consider using these monitoring tools.
listBackupJobsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
listBackupPlanTemplatesAsync in interface AWSBackupAsyncpublic Future<ListBackupPlanTemplatesResult> listBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest request, AsyncHandler<ListBackupPlanTemplatesRequest,ListBackupPlanTemplatesResult> asyncHandler)
AWSBackupAsyncReturns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
listBackupPlanTemplatesAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns 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 AWSBackupAsyncpublic Future<ListBackupPlanVersionsResult> listBackupPlanVersionsAsync(ListBackupPlanVersionsRequest request, AsyncHandler<ListBackupPlanVersionsRequest,ListBackupPlanVersionsResult> asyncHandler)
AWSBackupAsyncReturns 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 AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns a list of existing backup plans for an authenticated account. The list is populated only if the advanced option is set for the backup plan. The list contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.
listBackupPlansAsync in interface AWSBackupAsyncpublic Future<ListBackupPlansResult> listBackupPlansAsync(ListBackupPlansRequest request, AsyncHandler<ListBackupPlansRequest,ListBackupPlansResult> asyncHandler)
AWSBackupAsyncReturns a list of existing backup plans for an authenticated account. The list is populated only if the advanced option is set for the backup plan. The list contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.
listBackupPlansAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns an array containing metadata of the resources associated with the target backup plan.
listBackupSelectionsAsync in interface AWSBackupAsyncpublic Future<ListBackupSelectionsResult> listBackupSelectionsAsync(ListBackupSelectionsRequest request, AsyncHandler<ListBackupSelectionsRequest,ListBackupSelectionsResult> asyncHandler)
AWSBackupAsyncReturns an array containing metadata of the resources associated with the target backup plan.
listBackupSelectionsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns a list of recovery point storage containers along with information about them.
listBackupVaultsAsync in interface AWSBackupAsyncpublic Future<ListBackupVaultsResult> listBackupVaultsAsync(ListBackupVaultsRequest request, AsyncHandler<ListBackupVaultsRequest,ListBackupVaultsResult> asyncHandler)
AWSBackupAsyncReturns a list of recovery point storage containers along with information about them.
listBackupVaultsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns metadata about your copy jobs.
listCopyJobsAsync in interface AWSBackupAsyncpublic Future<ListCopyJobsResult> listCopyJobsAsync(ListCopyJobsRequest request, AsyncHandler<ListCopyJobsRequest,ListCopyJobsResult> asyncHandler)
AWSBackupAsyncReturns metadata about your copy jobs.
listCopyJobsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns 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 AWSBackupAsyncpublic Future<ListProtectedResourcesResult> listProtectedResourcesAsync(ListProtectedResourcesRequest request, AsyncHandler<ListProtectedResourcesRequest,ListProtectedResourcesResult> asyncHandler)
AWSBackupAsyncReturns 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 AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns detailed information about the recovery points stored in a backup vault.
listRecoveryPointsByBackupVaultAsync in interface AWSBackupAsyncpublic Future<ListRecoveryPointsByBackupVaultResult> listRecoveryPointsByBackupVaultAsync(ListRecoveryPointsByBackupVaultRequest request, AsyncHandler<ListRecoveryPointsByBackupVaultRequest,ListRecoveryPointsByBackupVaultResult> asyncHandler)
AWSBackupAsyncReturns detailed information about the recovery points stored in a backup vault.
listRecoveryPointsByBackupVaultAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns detailed information about recovery points of the type specified by a resource Amazon Resource Name (ARN).
listRecoveryPointsByResourceAsync in interface AWSBackupAsyncpublic Future<ListRecoveryPointsByResourceResult> listRecoveryPointsByResourceAsync(ListRecoveryPointsByResourceRequest request, AsyncHandler<ListRecoveryPointsByResourceRequest,ListRecoveryPointsByResourceResult> asyncHandler)
AWSBackupAsyncReturns detailed information about recovery points of the type specified by a resource Amazon Resource Name (ARN).
listRecoveryPointsByResourceAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the recovery process.
listRestoreJobsAsync in interface AWSBackupAsyncpublic Future<ListRestoreJobsResult> listRestoreJobsAsync(ListRestoreJobsRequest request, AsyncHandler<ListRestoreJobsRequest,ListRestoreJobsResult> asyncHandler)
AWSBackupAsyncReturns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the recovery process.
listRestoreJobsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncReturns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
ListTags are currently only supported with Amazon EFS backups.
listTagsAsync in interface AWSBackupAsyncpublic Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AWSBackupAsyncReturns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
ListTags are currently only supported with Amazon EFS backups.
listTagsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncSets 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 AWSBackupAsyncpublic Future<PutBackupVaultAccessPolicyResult> putBackupVaultAccessPolicyAsync(PutBackupVaultAccessPolicyRequest request, AsyncHandler<PutBackupVaultAccessPolicyRequest,PutBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsyncSets 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 AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncTurns on notifications on a backup vault for the specified topic and events.
putBackupVaultNotificationsAsync in interface AWSBackupAsyncpublic Future<PutBackupVaultNotificationsResult> putBackupVaultNotificationsAsync(PutBackupVaultNotificationsRequest request, AsyncHandler<PutBackupVaultNotificationsRequest,PutBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsyncTurns on notifications on a backup vault for the specified topic and events.
putBackupVaultNotificationsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncStarts an on-demand backup job for the specified resource.
startBackupJobAsync in interface AWSBackupAsyncpublic Future<StartBackupJobResult> startBackupJobAsync(StartBackupJobRequest request, AsyncHandler<StartBackupJobRequest,StartBackupJobResult> asyncHandler)
AWSBackupAsyncStarts an on-demand backup job for the specified resource.
startBackupJobAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncStarts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
startCopyJobAsync in interface AWSBackupAsyncpublic Future<StartCopyJobResult> startCopyJobAsync(StartCopyJobRequest request, AsyncHandler<StartCopyJobRequest,StartCopyJobResult> asyncHandler)
AWSBackupAsyncStarts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
startCopyJobAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncRecovers the saved resource identified by an Amazon Resource Name (ARN).
startRestoreJobAsync in interface AWSBackupAsyncpublic Future<StartRestoreJobResult> startRestoreJobAsync(StartRestoreJobRequest request, AsyncHandler<StartRestoreJobRequest,StartRestoreJobResult> asyncHandler)
AWSBackupAsyncRecovers the saved resource identified by an Amazon Resource Name (ARN).
startRestoreJobAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncAttempts to cancel a job to create a one-time backup of a resource.
stopBackupJobAsync in interface AWSBackupAsyncpublic Future<StopBackupJobResult> stopBackupJobAsync(StopBackupJobRequest request, AsyncHandler<StopBackupJobRequest,StopBackupJobResult> asyncHandler)
AWSBackupAsyncAttempts to cancel a job to create a one-time backup of a resource.
stopBackupJobAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncAssigns 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 AWSBackupAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBackupAsyncAssigns 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 AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncRemoves 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 AWSBackupAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBackupAsyncRemoves 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 AWSBackupAsyncasyncHandler - 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
Updates an existing 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 AWSBackupAsyncpublic Future<UpdateBackupPlanResult> updateBackupPlanAsync(UpdateBackupPlanRequest request, AsyncHandler<UpdateBackupPlanRequest,UpdateBackupPlanResult> asyncHandler)
AWSBackupAsync
Updates an existing 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 AWSBackupAsyncasyncHandler - 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<UpdateGlobalSettingsResult> updateGlobalSettingsAsync(UpdateGlobalSettingsRequest request)
AWSBackupAsync
Updates the current global settings for the AWS account. Use the DescribeGlobalSettings API to
determine the current settings.
updateGlobalSettingsAsync in interface AWSBackupAsyncpublic Future<UpdateGlobalSettingsResult> updateGlobalSettingsAsync(UpdateGlobalSettingsRequest request, AsyncHandler<UpdateGlobalSettingsRequest,UpdateGlobalSettingsResult> asyncHandler)
AWSBackupAsync
Updates the current global settings for the AWS account. Use the DescribeGlobalSettings API to
determine the current settings.
updateGlobalSettingsAsync in interface AWSBackupAsyncasyncHandler - 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)
AWSBackupAsyncSets 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
Does not support continuous backups.
updateRecoveryPointLifecycleAsync in interface AWSBackupAsyncpublic Future<UpdateRecoveryPointLifecycleResult> updateRecoveryPointLifecycleAsync(UpdateRecoveryPointLifecycleRequest request, AsyncHandler<UpdateRecoveryPointLifecycleRequest,UpdateRecoveryPointLifecycleResult> asyncHandler)
AWSBackupAsyncSets 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
Does not support continuous backups.
updateRecoveryPointLifecycleAsync in interface AWSBackupAsyncasyncHandler - 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<UpdateRegionSettingsResult> updateRegionSettingsAsync(UpdateRegionSettingsRequest request)
AWSBackupAsync
Updates the current service opt-in settings for the Region. If service-opt-in is enabled for a service, AWS
Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand
backup or scheduled backup plan. Otherwise, AWS Backup does not try to protect that service's resources in this
Region. Use the DescribeRegionSettings API to determine the resource types that are supported.
updateRegionSettingsAsync in interface AWSBackupAsyncpublic Future<UpdateRegionSettingsResult> updateRegionSettingsAsync(UpdateRegionSettingsRequest request, AsyncHandler<UpdateRegionSettingsRequest,UpdateRegionSettingsResult> asyncHandler)
AWSBackupAsync
Updates the current service opt-in settings for the Region. If service-opt-in is enabled for a service, AWS
Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand
backup or scheduled backup plan. Otherwise, AWS Backup does not try to protect that service's resources in this
Region. Use the DescribeRegionSettings API to determine the resource types that are supported.
updateRegionSettingsAsync in interface AWSBackupAsyncasyncHandler - 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 AWSBackupshutdown in class AWSBackupClient