@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.
Backup is a unified backup service designed to protect Amazon Web Services services and their associated data. 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, createFramework, createReportPlan, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultLockConfiguration, deleteBackupVaultNotifications, deleteFramework, deleteRecoveryPoint, deleteReportPlan, describeBackupJob, describeBackupVault, describeCopyJob, describeFramework, describeGlobalSettings, describeProtectedResource, describeRecoveryPoint, describeRegionSettings, describeReportJob, describeReportPlan, describeRestoreJob, disassociateRecoveryPoint, exportBackupPlanTemplate, getBackupPlan, getBackupPlanFromJSON, getBackupPlanFromTemplate, getBackupSelection, getBackupVaultAccessPolicy, getBackupVaultNotifications, getCachedResponseMetadata, getRecoveryPointRestoreMetadata, getSupportedResourceTypes, listBackupJobs, listBackupPlans, listBackupPlanTemplates, listBackupPlanVersions, listBackupSelections, listBackupVaults, listCopyJobs, listFrameworks, listProtectedResources, listRecoveryPointsByBackupVault, listRecoveryPointsByResource, listReportJobs, listReportPlans, listRestoreJobs, listTags, putBackupVaultAccessPolicy, putBackupVaultLockConfiguration, putBackupVaultNotifications, startBackupJob, startCopyJob, startReportJob, startRestoreJob, stopBackupJob, tagResource, untagResource, updateBackupPlan, updateFramework, updateGlobalSettings, updateRecoveryPointLifecycle, updateRegionSettings, updateReportPlan
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, createFramework, createReportPlan, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultLockConfiguration, deleteBackupVaultNotifications, deleteFramework, deleteRecoveryPoint, deleteReportPlan, describeBackupJob, describeBackupVault, describeCopyJob, describeFramework, describeGlobalSettings, describeProtectedResource, describeRecoveryPoint, describeRegionSettings, describeReportJob, describeReportPlan, describeRestoreJob, disassociateRecoveryPoint, exportBackupPlanTemplate, getBackupPlan, getBackupPlanFromJSON, getBackupPlanFromTemplate, getBackupSelection, getBackupVaultAccessPolicy, getBackupVaultNotifications, getCachedResponseMetadata, getRecoveryPointRestoreMetadata, getSupportedResourceTypes, listBackupJobs, listBackupPlans, listBackupPlanTemplates, listBackupPlanVersions, listBackupSelections, listBackupVaults, listCopyJobs, listFrameworks, listProtectedResources, listRecoveryPointsByBackupVault, listRecoveryPointsByResource, listReportJobs, listReportPlans, listRestoreJobs, listTags, putBackupVaultAccessPolicy, putBackupVaultLockConfiguration, putBackupVaultNotifications, startBackupJob, startCopyJob, startReportJob, startRestoreJob, stopBackupJob, tagResource, untagResource, updateBackupPlan, updateFramework, updateGlobalSettings, updateRecoveryPointLifecycle, updateRegionSettings, updateReportPlan
public static AWSBackupAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request)
AWSBackupAsync
Creates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that Backup uses to schedule tasks that create recovery points for resources.
If you call CreateBackupPlan
with a plan that already exists, you receive an
AlreadyExistsException
exception.
createBackupPlanAsync
in interface AWSBackupAsync
public Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request, AsyncHandler<CreateBackupPlanRequest,CreateBackupPlanResult> asyncHandler)
AWSBackupAsync
Creates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that Backup uses to schedule tasks that create recovery points for resources.
If you call CreateBackupPlan
with a plan that already exists, you receive an
AlreadyExistsException
exception.
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. For examples, see Assigning resources programmatically.
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. For examples, see Assigning resources programmatically.
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.
Do not include sensitive data, such as passport numbers, in 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.
Do not include sensitive data, such as passport numbers, in 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<CreateFrameworkResult> createFrameworkAsync(CreateFrameworkRequest request)
AWSBackupAsync
Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
createFrameworkAsync
in interface AWSBackupAsync
public Future<CreateFrameworkResult> createFrameworkAsync(CreateFrameworkRequest request, AsyncHandler<CreateFrameworkRequest,CreateFrameworkResult> asyncHandler)
AWSBackupAsync
Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
createFrameworkAsync
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<CreateReportPlanResult> createReportPlanAsync(CreateReportPlanRequest request)
AWSBackupAsync
Creates a report plan. A report plan is a document that contains information about the contents of the report and where Backup will deliver it.
If you call CreateReportPlan
with a plan that already exists, you receive an
AlreadyExistsException
exception.
createReportPlanAsync
in interface AWSBackupAsync
public Future<CreateReportPlanResult> createReportPlanAsync(CreateReportPlanRequest request, AsyncHandler<CreateReportPlanRequest,CreateReportPlanResult> asyncHandler)
AWSBackupAsync
Creates a report plan. A report plan is a document that contains information about the contents of the report and where Backup will deliver it.
If you call CreateReportPlan
with a plan that already exists, you receive an
AlreadyExistsException
exception.
createReportPlanAsync
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<DeleteBackupVaultLockConfigurationResult> deleteBackupVaultLockConfigurationAsync(DeleteBackupVaultLockConfigurationRequest request)
AWSBackupAsync
Deletes Backup Vault Lock from a backup vault specified by a backup vault name.
If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using API operations, and you
will receive an InvalidRequestException
if you attempt to do so. For more information, see Vault Lock in the Backup
Developer Guide.
deleteBackupVaultLockConfigurationAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultLockConfigurationResult> deleteBackupVaultLockConfigurationAsync(DeleteBackupVaultLockConfigurationRequest request, AsyncHandler<DeleteBackupVaultLockConfigurationRequest,DeleteBackupVaultLockConfigurationResult> asyncHandler)
AWSBackupAsync
Deletes Backup Vault Lock from a backup vault specified by a backup vault name.
If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using API operations, and you
will receive an InvalidRequestException
if you attempt to do so. For more information, see Vault Lock in the Backup
Developer Guide.
deleteBackupVaultLockConfigurationAsync
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<DeleteFrameworkResult> deleteFrameworkAsync(DeleteFrameworkRequest request)
AWSBackupAsync
Deletes the framework specified by a framework name.
deleteFrameworkAsync
in interface AWSBackupAsync
public Future<DeleteFrameworkResult> deleteFrameworkAsync(DeleteFrameworkRequest request, AsyncHandler<DeleteFrameworkRequest,DeleteFrameworkResult> asyncHandler)
AWSBackupAsync
Deletes the framework specified by a framework name.
deleteFrameworkAsync
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.
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 AWSBackupAsync
public Future<DeleteRecoveryPointResult> deleteRecoveryPointAsync(DeleteRecoveryPointRequest request, AsyncHandler<DeleteRecoveryPointRequest,DeleteRecoveryPointResult> asyncHandler)
AWSBackupAsync
Deletes 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 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<DeleteReportPlanResult> deleteReportPlanAsync(DeleteReportPlanRequest request)
AWSBackupAsync
Deletes the report plan specified by a report plan name.
deleteReportPlanAsync
in interface AWSBackupAsync
public Future<DeleteReportPlanResult> deleteReportPlanAsync(DeleteReportPlanRequest request, AsyncHandler<DeleteReportPlanRequest,DeleteReportPlanResult> asyncHandler)
AWSBackupAsync
Deletes the report plan specified by a report plan name.
deleteReportPlanAsync
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 backup job details for the specified BackupJobId
.
describeBackupJobAsync
in interface AWSBackupAsync
public Future<DescribeBackupJobResult> describeBackupJobAsync(DescribeBackupJobRequest request, AsyncHandler<DescribeBackupJobRequest,DescribeBackupJobResult> asyncHandler)
AWSBackupAsync
Returns backup job details for the specified BackupJobId
.
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<DescribeFrameworkResult> describeFrameworkAsync(DescribeFrameworkRequest request)
AWSBackupAsync
Returns the framework details for the specified FrameworkName
.
describeFrameworkAsync
in interface AWSBackupAsync
public Future<DescribeFrameworkResult> describeFrameworkAsync(DescribeFrameworkRequest request, AsyncHandler<DescribeFrameworkRequest,DescribeFrameworkResult> asyncHandler)
AWSBackupAsync
Returns the framework details for the specified FrameworkName
.
describeFrameworkAsync
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<DescribeGlobalSettingsResult> describeGlobalSettingsAsync(DescribeGlobalSettingsRequest request)
AWSBackupAsync
Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not a member of an Organizations organization. Example:
describe-global-settings --region us-west-2
describeGlobalSettingsAsync
in interface AWSBackupAsync
public Future<DescribeGlobalSettingsResult> describeGlobalSettingsAsync(DescribeGlobalSettingsRequest request, AsyncHandler<DescribeGlobalSettingsRequest,DescribeGlobalSettingsResult> asyncHandler)
AWSBackupAsync
Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not a member of an Organizations organization. Example:
describe-global-settings --region us-west-2
describeGlobalSettingsAsync
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 Amazon Web Services 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 Amazon Web Services 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<DescribeRegionSettingsResult> describeRegionSettingsAsync(DescribeRegionSettingsRequest request)
AWSBackupAsync
Returns the current service opt-in settings for the Region. If service opt-in is enabled for a service, 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, Backup does not try to protect that service's resources in this Region.
describeRegionSettingsAsync
in interface AWSBackupAsync
public Future<DescribeRegionSettingsResult> describeRegionSettingsAsync(DescribeRegionSettingsRequest request, AsyncHandler<DescribeRegionSettingsRequest,DescribeRegionSettingsResult> asyncHandler)
AWSBackupAsync
Returns the current service opt-in settings for the Region. If service opt-in is enabled for a service, 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, Backup does not try to protect that service's resources in this Region.
describeRegionSettingsAsync
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<DescribeReportJobResult> describeReportJobAsync(DescribeReportJobRequest request)
AWSBackupAsync
Returns the details associated with creating a report as specified by its ReportJobId
.
describeReportJobAsync
in interface AWSBackupAsync
public Future<DescribeReportJobResult> describeReportJobAsync(DescribeReportJobRequest request, AsyncHandler<DescribeReportJobRequest,DescribeReportJobResult> asyncHandler)
AWSBackupAsync
Returns the details associated with creating a report as specified by its ReportJobId
.
describeReportJobAsync
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<DescribeReportPlanResult> describeReportPlanAsync(DescribeReportPlanRequest request)
AWSBackupAsync
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
describeReportPlanAsync
in interface AWSBackupAsync
public Future<DescribeReportPlanResult> describeReportPlanAsync(DescribeReportPlanRequest request, AsyncHandler<DescribeReportPlanRequest,DescribeReportPlanResult> asyncHandler)
AWSBackupAsync
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
describeReportPlanAsync
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<DisassociateRecoveryPointResult> disassociateRecoveryPointAsync(DisassociateRecoveryPointRequest request)
AWSBackupAsync
Deletes the specified continuous backup recovery point from 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 AWSBackupAsync
public Future<DisassociateRecoveryPointResult> disassociateRecoveryPointAsync(DisassociateRecoveryPointRequest request, AsyncHandler<DisassociateRecoveryPointRequest,DisassociateRecoveryPointResult> asyncHandler)
AWSBackupAsync
Deletes the specified continuous backup recovery point from 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 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 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 AWSBackupAsync
public 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 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 Amazon Web Services resource types supported by Backup.
getSupportedResourceTypesAsync
in interface AWSBackupAsync
public Future<GetSupportedResourceTypesResult> getSupportedResourceTypesAsync(GetSupportedResourceTypesRequest request, AsyncHandler<GetSupportedResourceTypesRequest,GetSupportedResourceTypesResult> asyncHandler)
AWSBackupAsync
Returns the Amazon Web Services resource types supported by 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 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 AWSBackupAsync
public Future<ListBackupJobsResult> listBackupJobsAsync(ListBackupJobsRequest request, AsyncHandler<ListBackupJobsRequest,ListBackupJobsResult> asyncHandler)
AWSBackupAsync
Returns 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 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 a list of all active backup plans for an authenticated account. 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 AWSBackupAsync
public Future<ListBackupPlansResult> listBackupPlansAsync(ListBackupPlansRequest request, AsyncHandler<ListBackupPlansRequest,ListBackupPlansResult> asyncHandler)
AWSBackupAsync
Returns a list of all active backup plans for an authenticated account. 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 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<ListFrameworksResult> listFrameworksAsync(ListFrameworksRequest request)
AWSBackupAsync
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
listFrameworksAsync
in interface AWSBackupAsync
public Future<ListFrameworksResult> listFrameworksAsync(ListFrameworksRequest request, AsyncHandler<ListFrameworksRequest,ListFrameworksResult> asyncHandler)
AWSBackupAsync
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
listFrameworksAsync
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 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 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 all the recovery points of the type specified by a resource Amazon Resource Name (ARN).
For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup.
listRecoveryPointsByResourceAsync
in interface AWSBackupAsync
public Future<ListRecoveryPointsByResourceResult> listRecoveryPointsByResourceAsync(ListRecoveryPointsByResourceRequest request, AsyncHandler<ListRecoveryPointsByResourceRequest,ListRecoveryPointsByResourceResult> asyncHandler)
AWSBackupAsync
Returns detailed information about all the recovery points of the type specified by a resource Amazon Resource Name (ARN).
For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup.
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<ListReportJobsResult> listReportJobsAsync(ListReportJobsRequest request)
AWSBackupAsync
Returns details about your report jobs.
listReportJobsAsync
in interface AWSBackupAsync
public Future<ListReportJobsResult> listReportJobsAsync(ListReportJobsRequest request, AsyncHandler<ListReportJobsRequest,ListReportJobsResult> asyncHandler)
AWSBackupAsync
Returns details about your report jobs.
listReportJobsAsync
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<ListReportPlansResult> listReportPlansAsync(ListReportPlansRequest request)
AWSBackupAsync
Returns a list of your report plans. For detailed information about a single report plan, use
DescribeReportPlan
.
listReportPlansAsync
in interface AWSBackupAsync
public Future<ListReportPlansResult> listReportPlansAsync(ListReportPlansRequest request, AsyncHandler<ListReportPlansRequest,ListReportPlansResult> asyncHandler)
AWSBackupAsync
Returns a list of your report plans. For detailed information about a single report plan, use
DescribeReportPlan
.
listReportPlansAsync
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 Backup initiated to restore a saved resource, including details 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 Backup initiated to restore a saved resource, including details 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.
ListTags
are currently only supported with Amazon EFS backups.
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.
ListTags
are currently only supported with Amazon EFS backups.
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<PutBackupVaultLockConfigurationResult> putBackupVaultLockConfigurationAsync(PutBackupVaultLockConfigurationRequest request)
AWSBackupAsync
Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault. Vault Lock also prevents attempts to update the lifecycle policy that controls the retention period of any recovery point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and maximum retention period for future backup and copy jobs that target a backup vault.
Backup Vault Lock has yet to receive a third-party assessment for SEC 17a-4(f) and CFTC.
putBackupVaultLockConfigurationAsync
in interface AWSBackupAsync
public Future<PutBackupVaultLockConfigurationResult> putBackupVaultLockConfigurationAsync(PutBackupVaultLockConfigurationRequest request, AsyncHandler<PutBackupVaultLockConfigurationRequest,PutBackupVaultLockConfigurationResult> asyncHandler)
AWSBackupAsync
Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault. Vault Lock also prevents attempts to update the lifecycle policy that controls the retention period of any recovery point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and maximum retention period for future backup and copy jobs that target a backup vault.
Backup Vault Lock has yet to receive a third-party assessment for SEC 17a-4(f) and CFTC.
putBackupVaultLockConfigurationAsync
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 an on-demand backup job for the specified resource.
startBackupJobAsync
in interface AWSBackupAsync
public Future<StartBackupJobResult> startBackupJobAsync(StartBackupJobRequest request, AsyncHandler<StartBackupJobRequest,StartBackupJobResult> asyncHandler)
AWSBackupAsync
Starts an on-demand backup job for 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.
Does not support continuous backups.
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.
Does not support continuous backups.
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<StartReportJobResult> startReportJobAsync(StartReportJobRequest request)
AWSBackupAsync
Starts an on-demand report job for the specified report plan.
startReportJobAsync
in interface AWSBackupAsync
public Future<StartReportJobResult> startReportJobAsync(StartReportJobRequest request, AsyncHandler<StartReportJobRequest,StartReportJobResult> asyncHandler)
AWSBackupAsync
Starts an on-demand report job for the specified report plan.
startReportJobAsync
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).
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).
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
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 AWSBackupAsync
public 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 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<UpdateFrameworkResult> updateFrameworkAsync(UpdateFrameworkRequest request)
AWSBackupAsync
Updates an existing framework identified by its FrameworkName
with the input document in JSON
format.
updateFrameworkAsync
in interface AWSBackupAsync
public Future<UpdateFrameworkResult> updateFrameworkAsync(UpdateFrameworkRequest request, AsyncHandler<UpdateFrameworkRequest,UpdateFrameworkResult> asyncHandler)
AWSBackupAsync
Updates an existing framework identified by its FrameworkName
with the input document in JSON
format.
updateFrameworkAsync
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<UpdateGlobalSettingsResult> updateGlobalSettingsAsync(UpdateGlobalSettingsRequest request)
AWSBackupAsync
Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not an Organizations management account. Use the DescribeGlobalSettings
API to determine
the current settings.
updateGlobalSettingsAsync
in interface AWSBackupAsync
public Future<UpdateGlobalSettingsResult> updateGlobalSettingsAsync(UpdateGlobalSettingsRequest request, AsyncHandler<UpdateGlobalSettingsRequest,UpdateGlobalSettingsResult> asyncHandler)
AWSBackupAsync
Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not an Organizations management account. Use the DescribeGlobalSettings
API to determine
the current settings.
updateGlobalSettingsAsync
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. 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 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. 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 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<UpdateRegionSettingsResult> updateRegionSettingsAsync(UpdateRegionSettingsRequest request)
AWSBackupAsync
Updates the current service opt-in settings for the Region. If service-opt-in is enabled for a service, 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, 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 AWSBackupAsync
public 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, 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, 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 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<UpdateReportPlanResult> updateReportPlanAsync(UpdateReportPlanRequest request)
AWSBackupAsync
Updates an existing report plan identified by its ReportPlanName
with the input document in JSON
format.
updateReportPlanAsync
in interface AWSBackupAsync
public Future<UpdateReportPlanResult> updateReportPlanAsync(UpdateReportPlanRequest request, AsyncHandler<UpdateReportPlanRequest,UpdateReportPlanResult> asyncHandler)
AWSBackupAsync
Updates an existing report plan identified by its ReportPlanName
with the input document in JSON
format.
updateReportPlanAsync
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 AWSBackupClient