Interface BackupAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateBackupVaultMpaApprovalTeam(Consumer<AssociateBackupVaultMpaApprovalTeamRequest.Builder> associateBackupVaultMpaApprovalTeamRequest) Associates an MPA approval team with a backup vault.associateBackupVaultMpaApprovalTeam(AssociateBackupVaultMpaApprovalTeamRequest associateBackupVaultMpaApprovalTeamRequest) Associates an MPA approval team with a backup vault.static BackupAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aBackupAsyncClient.default CompletableFuture<CancelLegalHoldResponse> cancelLegalHold(Consumer<CancelLegalHoldRequest.Builder> cancelLegalHoldRequest) Removes the specified legal hold on a recovery point.default CompletableFuture<CancelLegalHoldResponse> cancelLegalHold(CancelLegalHoldRequest cancelLegalHoldRequest) Removes the specified legal hold on a recovery point.static BackupAsyncClientcreate()Create aBackupAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createBackupPlan(Consumer<CreateBackupPlanRequest.Builder> createBackupPlanRequest) Creates a backup plan using a backup plan name and backup rules.createBackupPlan(CreateBackupPlanRequest createBackupPlanRequest) Creates a backup plan using a backup plan name and backup rules.createBackupSelection(Consumer<CreateBackupSelectionRequest.Builder> createBackupSelectionRequest) Creates a JSON document that specifies a set of resources to assign to a backup plan.createBackupSelection(CreateBackupSelectionRequest createBackupSelectionRequest) Creates a JSON document that specifies a set of resources to assign to a backup plan.createBackupVault(Consumer<CreateBackupVaultRequest.Builder> createBackupVaultRequest) Creates a logical container where backups are stored.createBackupVault(CreateBackupVaultRequest createBackupVaultRequest) Creates a logical container where backups are stored.default CompletableFuture<CreateFrameworkResponse> createFramework(Consumer<CreateFrameworkRequest.Builder> createFrameworkRequest) Creates a framework with one or more controls.default CompletableFuture<CreateFrameworkResponse> createFramework(CreateFrameworkRequest createFrameworkRequest) Creates a framework with one or more controls.default CompletableFuture<CreateLegalHoldResponse> createLegalHold(Consumer<CreateLegalHoldRequest.Builder> createLegalHoldRequest) Creates a legal hold on a recovery point (backup).default CompletableFuture<CreateLegalHoldResponse> createLegalHold(CreateLegalHoldRequest createLegalHoldRequest) Creates a legal hold on a recovery point (backup).createLogicallyAirGappedBackupVault(Consumer<CreateLogicallyAirGappedBackupVaultRequest.Builder> createLogicallyAirGappedBackupVaultRequest) Creates a logical container to where backups may be copied.createLogicallyAirGappedBackupVault(CreateLogicallyAirGappedBackupVaultRequest createLogicallyAirGappedBackupVaultRequest) Creates a logical container to where backups may be copied.createReportPlan(Consumer<CreateReportPlanRequest.Builder> createReportPlanRequest) Creates a report plan.createReportPlan(CreateReportPlanRequest createReportPlanRequest) Creates a report plan.createRestoreAccessBackupVault(Consumer<CreateRestoreAccessBackupVaultRequest.Builder> createRestoreAccessBackupVaultRequest) Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.createRestoreAccessBackupVault(CreateRestoreAccessBackupVaultRequest createRestoreAccessBackupVaultRequest) Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.createRestoreTestingPlan(Consumer<CreateRestoreTestingPlanRequest.Builder> createRestoreTestingPlanRequest) Creates a restore testing plan.createRestoreTestingPlan(CreateRestoreTestingPlanRequest createRestoreTestingPlanRequest) Creates a restore testing plan.createRestoreTestingSelection(Consumer<CreateRestoreTestingSelectionRequest.Builder> createRestoreTestingSelectionRequest) This request can be sent after CreateRestoreTestingPlan request returns successfully.createRestoreTestingSelection(CreateRestoreTestingSelectionRequest createRestoreTestingSelectionRequest) This request can be sent after CreateRestoreTestingPlan request returns successfully.deleteBackupPlan(Consumer<DeleteBackupPlanRequest.Builder> deleteBackupPlanRequest) Deletes a backup plan.deleteBackupPlan(DeleteBackupPlanRequest deleteBackupPlanRequest) Deletes a backup plan.deleteBackupSelection(Consumer<DeleteBackupSelectionRequest.Builder> deleteBackupSelectionRequest) Deletes the resource selection associated with a backup plan that is specified by theSelectionId.deleteBackupSelection(DeleteBackupSelectionRequest deleteBackupSelectionRequest) Deletes the resource selection associated with a backup plan that is specified by theSelectionId.deleteBackupVault(Consumer<DeleteBackupVaultRequest.Builder> deleteBackupVaultRequest) Deletes the backup vault identified by its name.deleteBackupVault(DeleteBackupVaultRequest deleteBackupVaultRequest) Deletes the backup vault identified by its name.deleteBackupVaultAccessPolicy(Consumer<DeleteBackupVaultAccessPolicyRequest.Builder> deleteBackupVaultAccessPolicyRequest) Deletes the policy document that manages permissions on a backup vault.deleteBackupVaultAccessPolicy(DeleteBackupVaultAccessPolicyRequest deleteBackupVaultAccessPolicyRequest) Deletes the policy document that manages permissions on a backup vault.deleteBackupVaultLockConfiguration(Consumer<DeleteBackupVaultLockConfigurationRequest.Builder> deleteBackupVaultLockConfigurationRequest) Deletes Backup Vault Lock from a backup vault specified by a backup vault name.deleteBackupVaultLockConfiguration(DeleteBackupVaultLockConfigurationRequest deleteBackupVaultLockConfigurationRequest) Deletes Backup Vault Lock from a backup vault specified by a backup vault name.deleteBackupVaultNotifications(Consumer<DeleteBackupVaultNotificationsRequest.Builder> deleteBackupVaultNotificationsRequest) Deletes event notifications for the specified backup vault.deleteBackupVaultNotifications(DeleteBackupVaultNotificationsRequest deleteBackupVaultNotificationsRequest) Deletes event notifications for the specified backup vault.default CompletableFuture<DeleteFrameworkResponse> deleteFramework(Consumer<DeleteFrameworkRequest.Builder> deleteFrameworkRequest) Deletes the framework specified by a framework name.default CompletableFuture<DeleteFrameworkResponse> deleteFramework(DeleteFrameworkRequest deleteFrameworkRequest) Deletes the framework specified by a framework name.deleteRecoveryPoint(Consumer<DeleteRecoveryPointRequest.Builder> deleteRecoveryPointRequest) Deletes the recovery point specified by a recovery point ID.deleteRecoveryPoint(DeleteRecoveryPointRequest deleteRecoveryPointRequest) Deletes the recovery point specified by a recovery point ID.deleteReportPlan(Consumer<DeleteReportPlanRequest.Builder> deleteReportPlanRequest) Deletes the report plan specified by a report plan name.deleteReportPlan(DeleteReportPlanRequest deleteReportPlanRequest) Deletes the report plan specified by a report plan name.deleteRestoreTestingPlan(Consumer<DeleteRestoreTestingPlanRequest.Builder> deleteRestoreTestingPlanRequest) This request deletes the specified restore testing plan.deleteRestoreTestingPlan(DeleteRestoreTestingPlanRequest deleteRestoreTestingPlanRequest) This request deletes the specified restore testing plan.deleteRestoreTestingSelection(Consumer<DeleteRestoreTestingSelectionRequest.Builder> deleteRestoreTestingSelectionRequest) Input the Restore Testing Plan name and Restore Testing Selection name.deleteRestoreTestingSelection(DeleteRestoreTestingSelectionRequest deleteRestoreTestingSelectionRequest) Input the Restore Testing Plan name and Restore Testing Selection name.describeBackupJob(Consumer<DescribeBackupJobRequest.Builder> describeBackupJobRequest) Returns backup job details for the specifiedBackupJobId.describeBackupJob(DescribeBackupJobRequest describeBackupJobRequest) Returns backup job details for the specifiedBackupJobId.describeBackupVault(Consumer<DescribeBackupVaultRequest.Builder> describeBackupVaultRequest) Returns metadata about a backup vault specified by its name.describeBackupVault(DescribeBackupVaultRequest describeBackupVaultRequest) Returns metadata about a backup vault specified by its name.default CompletableFuture<DescribeCopyJobResponse> describeCopyJob(Consumer<DescribeCopyJobRequest.Builder> describeCopyJobRequest) Returns metadata associated with creating a copy of a resource.default CompletableFuture<DescribeCopyJobResponse> describeCopyJob(DescribeCopyJobRequest describeCopyJobRequest) Returns metadata associated with creating a copy of a resource.describeFramework(Consumer<DescribeFrameworkRequest.Builder> describeFrameworkRequest) Returns the framework details for the specifiedFrameworkName.describeFramework(DescribeFrameworkRequest describeFrameworkRequest) Returns the framework details for the specifiedFrameworkName.describeGlobalSettings(Consumer<DescribeGlobalSettingsRequest.Builder> describeGlobalSettingsRequest) Describes whether the Amazon Web Services account is opted in to cross-account backup.describeGlobalSettings(DescribeGlobalSettingsRequest describeGlobalSettingsRequest) Describes whether the Amazon Web Services account is opted in to cross-account backup.describeProtectedResource(Consumer<DescribeProtectedResourceRequest.Builder> describeProtectedResourceRequest) 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.describeProtectedResource(DescribeProtectedResourceRequest describeProtectedResourceRequest) 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.describeRecoveryPoint(Consumer<DescribeRecoveryPointRequest.Builder> describeRecoveryPointRequest) Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.describeRecoveryPoint(DescribeRecoveryPointRequest describeRecoveryPointRequest) Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.describeRegionSettings(Consumer<DescribeRegionSettingsRequest.Builder> describeRegionSettingsRequest) Returns the current service opt-in settings for the Region.describeRegionSettings(DescribeRegionSettingsRequest describeRegionSettingsRequest) Returns the current service opt-in settings for the Region.describeReportJob(Consumer<DescribeReportJobRequest.Builder> describeReportJobRequest) Returns the details associated with creating a report as specified by itsReportJobId.describeReportJob(DescribeReportJobRequest describeReportJobRequest) Returns the details associated with creating a report as specified by itsReportJobId.describeReportPlan(Consumer<DescribeReportPlanRequest.Builder> describeReportPlanRequest) Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.describeReportPlan(DescribeReportPlanRequest describeReportPlanRequest) Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.describeRestoreJob(Consumer<DescribeRestoreJobRequest.Builder> describeRestoreJobRequest) Returns metadata associated with a restore job that is specified by a job ID.describeRestoreJob(DescribeRestoreJobRequest describeRestoreJobRequest) Returns metadata associated with a restore job that is specified by a job ID.disassociateBackupVaultMpaApprovalTeam(Consumer<DisassociateBackupVaultMpaApprovalTeamRequest.Builder> disassociateBackupVaultMpaApprovalTeamRequest) Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.disassociateBackupVaultMpaApprovalTeam(DisassociateBackupVaultMpaApprovalTeamRequest disassociateBackupVaultMpaApprovalTeamRequest) Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.disassociateRecoveryPoint(Consumer<DisassociateRecoveryPointRequest.Builder> disassociateRecoveryPointRequest) Deletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS.disassociateRecoveryPoint(DisassociateRecoveryPointRequest disassociateRecoveryPointRequest) Deletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS.disassociateRecoveryPointFromParent(Consumer<DisassociateRecoveryPointFromParentRequest.Builder> disassociateRecoveryPointFromParentRequest) This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.disassociateRecoveryPointFromParent(DisassociateRecoveryPointFromParentRequest disassociateRecoveryPointFromParentRequest) This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.exportBackupPlanTemplate(Consumer<ExportBackupPlanTemplateRequest.Builder> exportBackupPlanTemplateRequest) Returns the backup plan that is specified by the plan ID as a backup template.exportBackupPlanTemplate(ExportBackupPlanTemplateRequest exportBackupPlanTemplateRequest) Returns the backup plan that is specified by the plan ID as a backup template.default CompletableFuture<GetBackupPlanResponse> getBackupPlan(Consumer<GetBackupPlanRequest.Builder> getBackupPlanRequest) ReturnsBackupPlandetails for the specifiedBackupPlanId.default CompletableFuture<GetBackupPlanResponse> getBackupPlan(GetBackupPlanRequest getBackupPlanRequest) ReturnsBackupPlandetails for the specifiedBackupPlanId.getBackupPlanFromJSON(Consumer<GetBackupPlanFromJsonRequest.Builder> getBackupPlanFromJsonRequest) Returns a valid JSON document specifying a backup plan or an error.getBackupPlanFromJSON(GetBackupPlanFromJsonRequest getBackupPlanFromJsonRequest) Returns a valid JSON document specifying a backup plan or an error.getBackupPlanFromTemplate(Consumer<GetBackupPlanFromTemplateRequest.Builder> getBackupPlanFromTemplateRequest) Returns the template specified by itstemplateIdas a backup plan.getBackupPlanFromTemplate(GetBackupPlanFromTemplateRequest getBackupPlanFromTemplateRequest) Returns the template specified by itstemplateIdas a backup plan.getBackupSelection(Consumer<GetBackupSelectionRequest.Builder> getBackupSelectionRequest) Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.getBackupSelection(GetBackupSelectionRequest getBackupSelectionRequest) Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.getBackupVaultAccessPolicy(Consumer<GetBackupVaultAccessPolicyRequest.Builder> getBackupVaultAccessPolicyRequest) Returns the access policy document that is associated with the named backup vault.getBackupVaultAccessPolicy(GetBackupVaultAccessPolicyRequest getBackupVaultAccessPolicyRequest) Returns the access policy document that is associated with the named backup vault.getBackupVaultNotifications(Consumer<GetBackupVaultNotificationsRequest.Builder> getBackupVaultNotificationsRequest) Returns event notifications for the specified backup vault.getBackupVaultNotifications(GetBackupVaultNotificationsRequest getBackupVaultNotificationsRequest) Returns event notifications for the specified backup vault.default CompletableFuture<GetLegalHoldResponse> getLegalHold(Consumer<GetLegalHoldRequest.Builder> getLegalHoldRequest) This action returns details for a specified legal hold.default CompletableFuture<GetLegalHoldResponse> getLegalHold(GetLegalHoldRequest getLegalHoldRequest) This action returns details for a specified legal hold.getRecoveryPointIndexDetails(Consumer<GetRecoveryPointIndexDetailsRequest.Builder> getRecoveryPointIndexDetailsRequest) This operation returns the metadata and details specific to the backup index associated with the specified recovery point.getRecoveryPointIndexDetails(GetRecoveryPointIndexDetailsRequest getRecoveryPointIndexDetailsRequest) This operation returns the metadata and details specific to the backup index associated with the specified recovery point.getRecoveryPointRestoreMetadata(Consumer<GetRecoveryPointRestoreMetadataRequest.Builder> getRecoveryPointRestoreMetadataRequest) Returns a set of metadata key-value pairs that were used to create the backup.getRecoveryPointRestoreMetadata(GetRecoveryPointRestoreMetadataRequest getRecoveryPointRestoreMetadataRequest) Returns a set of metadata key-value pairs that were used to create the backup.getRestoreJobMetadata(Consumer<GetRestoreJobMetadataRequest.Builder> getRestoreJobMetadataRequest) This request returns the metadata for the specified restore job.getRestoreJobMetadata(GetRestoreJobMetadataRequest getRestoreJobMetadataRequest) This request returns the metadata for the specified restore job.getRestoreTestingInferredMetadata(Consumer<GetRestoreTestingInferredMetadataRequest.Builder> getRestoreTestingInferredMetadataRequest) This request returns the minimal required set of metadata needed to start a restore job with secure default settings.getRestoreTestingInferredMetadata(GetRestoreTestingInferredMetadataRequest getRestoreTestingInferredMetadataRequest) This request returns the minimal required set of metadata needed to start a restore job with secure default settings.getRestoreTestingPlan(Consumer<GetRestoreTestingPlanRequest.Builder> getRestoreTestingPlanRequest) ReturnsRestoreTestingPlandetails for the specifiedRestoreTestingPlanName.getRestoreTestingPlan(GetRestoreTestingPlanRequest getRestoreTestingPlanRequest) ReturnsRestoreTestingPlandetails for the specifiedRestoreTestingPlanName.getRestoreTestingSelection(Consumer<GetRestoreTestingSelectionRequest.Builder> getRestoreTestingSelectionRequest) Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.getRestoreTestingSelection(GetRestoreTestingSelectionRequest getRestoreTestingSelectionRequest) Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.getSupportedResourceTypes(Consumer<GetSupportedResourceTypesRequest.Builder> getSupportedResourceTypesRequest) Returns the Amazon Web Services resource types supported by Backup.getSupportedResourceTypes(GetSupportedResourceTypesRequest getSupportedResourceTypesRequest) Returns the Amazon Web Services resource types supported by Backup.default CompletableFuture<ListBackupJobsResponse> Returns a list of existing backup jobs for an authenticated account for the last 30 days.default CompletableFuture<ListBackupJobsResponse> listBackupJobs(Consumer<ListBackupJobsRequest.Builder> listBackupJobsRequest) Returns a list of existing backup jobs for an authenticated account for the last 30 days.default CompletableFuture<ListBackupJobsResponse> listBackupJobs(ListBackupJobsRequest listBackupJobsRequest) Returns a list of existing backup jobs for an authenticated account for the last 30 days.default ListBackupJobsPublisherThis is a variant oflistBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation.default ListBackupJobsPublisherlistBackupJobsPaginator(Consumer<ListBackupJobsRequest.Builder> listBackupJobsRequest) This is a variant oflistBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation.default ListBackupJobsPublisherlistBackupJobsPaginator(ListBackupJobsRequest listBackupJobsRequest) This is a variant oflistBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation.listBackupJobSummaries(Consumer<ListBackupJobSummariesRequest.Builder> listBackupJobSummariesRequest) This is a request for a summary of backup jobs created or running within the most recent 30 days.listBackupJobSummaries(ListBackupJobSummariesRequest listBackupJobSummariesRequest) This is a request for a summary of backup jobs created or running within the most recent 30 days.default ListBackupJobSummariesPublisherlistBackupJobSummariesPaginator(Consumer<ListBackupJobSummariesRequest.Builder> listBackupJobSummariesRequest) This is a variant oflistBackupJobSummaries(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesRequest)operation.default ListBackupJobSummariesPublisherlistBackupJobSummariesPaginator(ListBackupJobSummariesRequest listBackupJobSummariesRequest) This is a variant oflistBackupJobSummaries(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesRequest)operation.default CompletableFuture<ListBackupPlansResponse> Lists the active backup plans for the account.default CompletableFuture<ListBackupPlansResponse> listBackupPlans(Consumer<ListBackupPlansRequest.Builder> listBackupPlansRequest) Lists the active backup plans for the account.default CompletableFuture<ListBackupPlansResponse> listBackupPlans(ListBackupPlansRequest listBackupPlansRequest) Lists the active backup plans for the account.default ListBackupPlansPublisherThis is a variant oflistBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation.default ListBackupPlansPublisherlistBackupPlansPaginator(Consumer<ListBackupPlansRequest.Builder> listBackupPlansRequest) This is a variant oflistBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation.default ListBackupPlansPublisherlistBackupPlansPaginator(ListBackupPlansRequest listBackupPlansRequest) This is a variant oflistBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation.Lists the backup plan templates.listBackupPlanTemplates(Consumer<ListBackupPlanTemplatesRequest.Builder> listBackupPlanTemplatesRequest) Lists the backup plan templates.listBackupPlanTemplates(ListBackupPlanTemplatesRequest listBackupPlanTemplatesRequest) Lists the backup plan templates.default ListBackupPlanTemplatesPublisherThis is a variant oflistBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation.default ListBackupPlanTemplatesPublisherlistBackupPlanTemplatesPaginator(Consumer<ListBackupPlanTemplatesRequest.Builder> listBackupPlanTemplatesRequest) This is a variant oflistBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation.default ListBackupPlanTemplatesPublisherlistBackupPlanTemplatesPaginator(ListBackupPlanTemplatesRequest listBackupPlanTemplatesRequest) This is a variant oflistBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation.listBackupPlanVersions(Consumer<ListBackupPlanVersionsRequest.Builder> listBackupPlanVersionsRequest) Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.listBackupPlanVersions(ListBackupPlanVersionsRequest listBackupPlanVersionsRequest) Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.default ListBackupPlanVersionsPublisherlistBackupPlanVersionsPaginator(Consumer<ListBackupPlanVersionsRequest.Builder> listBackupPlanVersionsRequest) This is a variant oflistBackupPlanVersions(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsRequest)operation.default ListBackupPlanVersionsPublisherlistBackupPlanVersionsPaginator(ListBackupPlanVersionsRequest listBackupPlanVersionsRequest) This is a variant oflistBackupPlanVersions(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsRequest)operation.listBackupSelections(Consumer<ListBackupSelectionsRequest.Builder> listBackupSelectionsRequest) Returns an array containing metadata of the resources associated with the target backup plan.listBackupSelections(ListBackupSelectionsRequest listBackupSelectionsRequest) Returns an array containing metadata of the resources associated with the target backup plan.default ListBackupSelectionsPublisherlistBackupSelectionsPaginator(Consumer<ListBackupSelectionsRequest.Builder> listBackupSelectionsRequest) This is a variant oflistBackupSelections(software.amazon.awssdk.services.backup.model.ListBackupSelectionsRequest)operation.default ListBackupSelectionsPublisherlistBackupSelectionsPaginator(ListBackupSelectionsRequest listBackupSelectionsRequest) This is a variant oflistBackupSelections(software.amazon.awssdk.services.backup.model.ListBackupSelectionsRequest)operation.Returns a list of recovery point storage containers along with information about them.listBackupVaults(Consumer<ListBackupVaultsRequest.Builder> listBackupVaultsRequest) Returns a list of recovery point storage containers along with information about them.listBackupVaults(ListBackupVaultsRequest listBackupVaultsRequest) Returns a list of recovery point storage containers along with information about them.default ListBackupVaultsPublisherThis is a variant oflistBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation.default ListBackupVaultsPublisherlistBackupVaultsPaginator(Consumer<ListBackupVaultsRequest.Builder> listBackupVaultsRequest) This is a variant oflistBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation.default ListBackupVaultsPublisherlistBackupVaultsPaginator(ListBackupVaultsRequest listBackupVaultsRequest) This is a variant oflistBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation.default CompletableFuture<ListCopyJobsResponse> listCopyJobs(Consumer<ListCopyJobsRequest.Builder> listCopyJobsRequest) Returns metadata about your copy jobs.default CompletableFuture<ListCopyJobsResponse> listCopyJobs(ListCopyJobsRequest listCopyJobsRequest) Returns metadata about your copy jobs.default ListCopyJobsPublisherlistCopyJobsPaginator(Consumer<ListCopyJobsRequest.Builder> listCopyJobsRequest) This is a variant oflistCopyJobs(software.amazon.awssdk.services.backup.model.ListCopyJobsRequest)operation.default ListCopyJobsPublisherlistCopyJobsPaginator(ListCopyJobsRequest listCopyJobsRequest) This is a variant oflistCopyJobs(software.amazon.awssdk.services.backup.model.ListCopyJobsRequest)operation.listCopyJobSummaries(Consumer<ListCopyJobSummariesRequest.Builder> listCopyJobSummariesRequest) This request obtains a list of copy jobs created or running within the the most recent 30 days.listCopyJobSummaries(ListCopyJobSummariesRequest listCopyJobSummariesRequest) This request obtains a list of copy jobs created or running within the the most recent 30 days.default ListCopyJobSummariesPublisherlistCopyJobSummariesPaginator(Consumer<ListCopyJobSummariesRequest.Builder> listCopyJobSummariesRequest) This is a variant oflistCopyJobSummaries(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesRequest)operation.default ListCopyJobSummariesPublisherlistCopyJobSummariesPaginator(ListCopyJobSummariesRequest listCopyJobSummariesRequest) This is a variant oflistCopyJobSummaries(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesRequest)operation.default CompletableFuture<ListFrameworksResponse> listFrameworks(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.default CompletableFuture<ListFrameworksResponse> listFrameworks(ListFrameworksRequest listFrameworksRequest) Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.default ListFrameworksPublisherlistFrameworksPaginator(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) This is a variant oflistFrameworks(software.amazon.awssdk.services.backup.model.ListFrameworksRequest)operation.default ListFrameworksPublisherlistFrameworksPaginator(ListFrameworksRequest listFrameworksRequest) This is a variant oflistFrameworks(software.amazon.awssdk.services.backup.model.ListFrameworksRequest)operation.listIndexedRecoveryPoints(Consumer<ListIndexedRecoveryPointsRequest.Builder> listIndexedRecoveryPointsRequest) This operation returns a list of recovery points that have an associated index, belonging to the specified account.listIndexedRecoveryPoints(ListIndexedRecoveryPointsRequest listIndexedRecoveryPointsRequest) This operation returns a list of recovery points that have an associated index, belonging to the specified account.listIndexedRecoveryPointsPaginator(Consumer<ListIndexedRecoveryPointsRequest.Builder> listIndexedRecoveryPointsRequest) This is a variant oflistIndexedRecoveryPoints(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsRequest)operation.listIndexedRecoveryPointsPaginator(ListIndexedRecoveryPointsRequest listIndexedRecoveryPointsRequest) This is a variant oflistIndexedRecoveryPoints(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsRequest)operation.default CompletableFuture<ListLegalHoldsResponse> listLegalHolds(Consumer<ListLegalHoldsRequest.Builder> listLegalHoldsRequest) This action returns metadata about active and previous legal holds.default CompletableFuture<ListLegalHoldsResponse> listLegalHolds(ListLegalHoldsRequest listLegalHoldsRequest) This action returns metadata about active and previous legal holds.default ListLegalHoldsPublisherlistLegalHoldsPaginator(Consumer<ListLegalHoldsRequest.Builder> listLegalHoldsRequest) This is a variant oflistLegalHolds(software.amazon.awssdk.services.backup.model.ListLegalHoldsRequest)operation.default ListLegalHoldsPublisherlistLegalHoldsPaginator(ListLegalHoldsRequest listLegalHoldsRequest) This is a variant oflistLegalHolds(software.amazon.awssdk.services.backup.model.ListLegalHoldsRequest)operation.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.listProtectedResources(Consumer<ListProtectedResourcesRequest.Builder> listProtectedResourcesRequest) 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.listProtectedResources(ListProtectedResourcesRequest listProtectedResourcesRequest) 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.listProtectedResourcesByBackupVault(Consumer<ListProtectedResourcesByBackupVaultRequest.Builder> listProtectedResourcesByBackupVaultRequest) This request lists the protected resources corresponding to each backup vault.listProtectedResourcesByBackupVault(ListProtectedResourcesByBackupVaultRequest listProtectedResourcesByBackupVaultRequest) This request lists the protected resources corresponding to each backup vault.listProtectedResourcesByBackupVaultPaginator(Consumer<ListProtectedResourcesByBackupVaultRequest.Builder> listProtectedResourcesByBackupVaultRequest) This is a variant oflistProtectedResourcesByBackupVault(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultRequest)operation.listProtectedResourcesByBackupVaultPaginator(ListProtectedResourcesByBackupVaultRequest listProtectedResourcesByBackupVaultRequest) This is a variant oflistProtectedResourcesByBackupVault(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultRequest)operation.default ListProtectedResourcesPublisherThis is a variant oflistProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation.default ListProtectedResourcesPublisherlistProtectedResourcesPaginator(Consumer<ListProtectedResourcesRequest.Builder> listProtectedResourcesRequest) This is a variant oflistProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation.default ListProtectedResourcesPublisherlistProtectedResourcesPaginator(ListProtectedResourcesRequest listProtectedResourcesRequest) This is a variant oflistProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation.listRecoveryPointsByBackupVault(Consumer<ListRecoveryPointsByBackupVaultRequest.Builder> listRecoveryPointsByBackupVaultRequest) Returns detailed information about the recovery points stored in a backup vault.listRecoveryPointsByBackupVault(ListRecoveryPointsByBackupVaultRequest listRecoveryPointsByBackupVaultRequest) Returns detailed information about the recovery points stored in a backup vault.listRecoveryPointsByBackupVaultPaginator(Consumer<ListRecoveryPointsByBackupVaultRequest.Builder> listRecoveryPointsByBackupVaultRequest) This is a variant oflistRecoveryPointsByBackupVault(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultRequest)operation.listRecoveryPointsByBackupVaultPaginator(ListRecoveryPointsByBackupVaultRequest listRecoveryPointsByBackupVaultRequest) This is a variant oflistRecoveryPointsByBackupVault(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultRequest)operation.listRecoveryPointsByLegalHold(Consumer<ListRecoveryPointsByLegalHoldRequest.Builder> listRecoveryPointsByLegalHoldRequest) This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.listRecoveryPointsByLegalHold(ListRecoveryPointsByLegalHoldRequest listRecoveryPointsByLegalHoldRequest) This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.listRecoveryPointsByLegalHoldPaginator(Consumer<ListRecoveryPointsByLegalHoldRequest.Builder> listRecoveryPointsByLegalHoldRequest) This is a variant oflistRecoveryPointsByLegalHold(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldRequest)operation.listRecoveryPointsByLegalHoldPaginator(ListRecoveryPointsByLegalHoldRequest listRecoveryPointsByLegalHoldRequest) This is a variant oflistRecoveryPointsByLegalHold(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldRequest)operation.listRecoveryPointsByResource(Consumer<ListRecoveryPointsByResourceRequest.Builder> listRecoveryPointsByResourceRequest) The information about the recovery points of the type specified by a resource Amazon Resource Name (ARN).listRecoveryPointsByResource(ListRecoveryPointsByResourceRequest listRecoveryPointsByResourceRequest) The information about the recovery points of the type specified by a resource Amazon Resource Name (ARN).listRecoveryPointsByResourcePaginator(Consumer<ListRecoveryPointsByResourceRequest.Builder> listRecoveryPointsByResourceRequest) This is a variant oflistRecoveryPointsByResource(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceRequest)operation.listRecoveryPointsByResourcePaginator(ListRecoveryPointsByResourceRequest listRecoveryPointsByResourceRequest) This is a variant oflistRecoveryPointsByResource(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceRequest)operation.default CompletableFuture<ListReportJobsResponse> listReportJobs(Consumer<ListReportJobsRequest.Builder> listReportJobsRequest) Returns details about your report jobs.default CompletableFuture<ListReportJobsResponse> listReportJobs(ListReportJobsRequest listReportJobsRequest) Returns details about your report jobs.default ListReportJobsPublisherlistReportJobsPaginator(Consumer<ListReportJobsRequest.Builder> listReportJobsRequest) This is a variant oflistReportJobs(software.amazon.awssdk.services.backup.model.ListReportJobsRequest)operation.default ListReportJobsPublisherlistReportJobsPaginator(ListReportJobsRequest listReportJobsRequest) This is a variant oflistReportJobs(software.amazon.awssdk.services.backup.model.ListReportJobsRequest)operation.default CompletableFuture<ListReportPlansResponse> listReportPlans(Consumer<ListReportPlansRequest.Builder> listReportPlansRequest) Returns a list of your report plans.default CompletableFuture<ListReportPlansResponse> listReportPlans(ListReportPlansRequest listReportPlansRequest) Returns a list of your report plans.default ListReportPlansPublisherlistReportPlansPaginator(Consumer<ListReportPlansRequest.Builder> listReportPlansRequest) This is a variant oflistReportPlans(software.amazon.awssdk.services.backup.model.ListReportPlansRequest)operation.default ListReportPlansPublisherlistReportPlansPaginator(ListReportPlansRequest listReportPlansRequest) This is a variant oflistReportPlans(software.amazon.awssdk.services.backup.model.ListReportPlansRequest)operation.listRestoreAccessBackupVaults(Consumer<ListRestoreAccessBackupVaultsRequest.Builder> listRestoreAccessBackupVaultsRequest) Returns a list of restore access backup vaults associated with a specified backup vault.listRestoreAccessBackupVaults(ListRestoreAccessBackupVaultsRequest listRestoreAccessBackupVaultsRequest) Returns a list of restore access backup vaults associated with a specified backup vault.listRestoreAccessBackupVaultsPaginator(Consumer<ListRestoreAccessBackupVaultsRequest.Builder> listRestoreAccessBackupVaultsRequest) This is a variant oflistRestoreAccessBackupVaults(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsRequest)operation.listRestoreAccessBackupVaultsPaginator(ListRestoreAccessBackupVaultsRequest listRestoreAccessBackupVaultsRequest) This is a variant oflistRestoreAccessBackupVaults(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsRequest)operation.default CompletableFuture<ListRestoreJobsResponse> Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.default CompletableFuture<ListRestoreJobsResponse> listRestoreJobs(Consumer<ListRestoreJobsRequest.Builder> listRestoreJobsRequest) Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.default CompletableFuture<ListRestoreJobsResponse> listRestoreJobs(ListRestoreJobsRequest listRestoreJobsRequest) Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.listRestoreJobsByProtectedResource(Consumer<ListRestoreJobsByProtectedResourceRequest.Builder> listRestoreJobsByProtectedResourceRequest) This returns restore jobs that contain the specified protected resource.listRestoreJobsByProtectedResource(ListRestoreJobsByProtectedResourceRequest listRestoreJobsByProtectedResourceRequest) This returns restore jobs that contain the specified protected resource.listRestoreJobsByProtectedResourcePaginator(Consumer<ListRestoreJobsByProtectedResourceRequest.Builder> listRestoreJobsByProtectedResourceRequest) This is a variant oflistRestoreJobsByProtectedResource(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceRequest)operation.listRestoreJobsByProtectedResourcePaginator(ListRestoreJobsByProtectedResourceRequest listRestoreJobsByProtectedResourceRequest) This is a variant oflistRestoreJobsByProtectedResource(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceRequest)operation.default ListRestoreJobsPublisherThis is a variant oflistRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation.default ListRestoreJobsPublisherlistRestoreJobsPaginator(Consumer<ListRestoreJobsRequest.Builder> listRestoreJobsRequest) This is a variant oflistRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation.default ListRestoreJobsPublisherlistRestoreJobsPaginator(ListRestoreJobsRequest listRestoreJobsRequest) This is a variant oflistRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation.listRestoreJobSummaries(Consumer<ListRestoreJobSummariesRequest.Builder> listRestoreJobSummariesRequest) This request obtains a summary of restore jobs created or running within the the most recent 30 days.listRestoreJobSummaries(ListRestoreJobSummariesRequest listRestoreJobSummariesRequest) This request obtains a summary of restore jobs created or running within the the most recent 30 days.default ListRestoreJobSummariesPublisherlistRestoreJobSummariesPaginator(Consumer<ListRestoreJobSummariesRequest.Builder> listRestoreJobSummariesRequest) This is a variant oflistRestoreJobSummaries(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesRequest)operation.default ListRestoreJobSummariesPublisherlistRestoreJobSummariesPaginator(ListRestoreJobSummariesRequest listRestoreJobSummariesRequest) This is a variant oflistRestoreJobSummaries(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesRequest)operation.listRestoreTestingPlans(Consumer<ListRestoreTestingPlansRequest.Builder> listRestoreTestingPlansRequest) Returns a list of restore testing plans.listRestoreTestingPlans(ListRestoreTestingPlansRequest listRestoreTestingPlansRequest) Returns a list of restore testing plans.default ListRestoreTestingPlansPublisherlistRestoreTestingPlansPaginator(Consumer<ListRestoreTestingPlansRequest.Builder> listRestoreTestingPlansRequest) This is a variant oflistRestoreTestingPlans(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansRequest)operation.default ListRestoreTestingPlansPublisherlistRestoreTestingPlansPaginator(ListRestoreTestingPlansRequest listRestoreTestingPlansRequest) This is a variant oflistRestoreTestingPlans(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansRequest)operation.listRestoreTestingSelections(Consumer<ListRestoreTestingSelectionsRequest.Builder> listRestoreTestingSelectionsRequest) Returns a list of restore testing selections.listRestoreTestingSelections(ListRestoreTestingSelectionsRequest listRestoreTestingSelectionsRequest) Returns a list of restore testing selections.listRestoreTestingSelectionsPaginator(Consumer<ListRestoreTestingSelectionsRequest.Builder> listRestoreTestingSelectionsRequest) This is a variant oflistRestoreTestingSelections(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsRequest)operation.listRestoreTestingSelectionsPaginator(ListRestoreTestingSelectionsRequest listRestoreTestingSelectionsRequest) This is a variant oflistRestoreTestingSelections(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsRequest)operation.default CompletableFuture<ListTagsResponse> listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.default CompletableFuture<ListTagsResponse> listTags(ListTagsRequest listTagsRequest) Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.default ListTagsPublisherlistTagsPaginator(Consumer<ListTagsRequest.Builder> listTagsRequest) This is a variant oflistTags(software.amazon.awssdk.services.backup.model.ListTagsRequest)operation.default ListTagsPublisherlistTagsPaginator(ListTagsRequest listTagsRequest) This is a variant oflistTags(software.amazon.awssdk.services.backup.model.ListTagsRequest)operation.putBackupVaultAccessPolicy(Consumer<PutBackupVaultAccessPolicyRequest.Builder> putBackupVaultAccessPolicyRequest) Sets a resource-based policy that is used to manage access permissions on the target backup vault.putBackupVaultAccessPolicy(PutBackupVaultAccessPolicyRequest putBackupVaultAccessPolicyRequest) Sets a resource-based policy that is used to manage access permissions on the target backup vault.putBackupVaultLockConfiguration(Consumer<PutBackupVaultLockConfigurationRequest.Builder> putBackupVaultLockConfigurationRequest) Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault.putBackupVaultLockConfiguration(PutBackupVaultLockConfigurationRequest putBackupVaultLockConfigurationRequest) Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault.putBackupVaultNotifications(Consumer<PutBackupVaultNotificationsRequest.Builder> putBackupVaultNotificationsRequest) Turns on notifications on a backup vault for the specified topic and events.putBackupVaultNotifications(PutBackupVaultNotificationsRequest putBackupVaultNotificationsRequest) Turns on notifications on a backup vault for the specified topic and events.putRestoreValidationResult(Consumer<PutRestoreValidationResultRequest.Builder> putRestoreValidationResultRequest) This request allows you to send your independent self-run restore test validation results.putRestoreValidationResult(PutRestoreValidationResultRequest putRestoreValidationResultRequest) This request allows you to send your independent self-run restore test validation results.revokeRestoreAccessBackupVault(Consumer<RevokeRestoreAccessBackupVaultRequest.Builder> revokeRestoreAccessBackupVaultRequest) Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.revokeRestoreAccessBackupVault(RevokeRestoreAccessBackupVaultRequest revokeRestoreAccessBackupVaultRequest) Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.default BackupServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartBackupJobResponse> startBackupJob(Consumer<StartBackupJobRequest.Builder> startBackupJobRequest) Starts an on-demand backup job for the specified resource.default CompletableFuture<StartBackupJobResponse> startBackupJob(StartBackupJobRequest startBackupJobRequest) Starts an on-demand backup job for the specified resource.default CompletableFuture<StartCopyJobResponse> startCopyJob(Consumer<StartCopyJobRequest.Builder> startCopyJobRequest) Starts a job to create a one-time copy of the specified resource.default CompletableFuture<StartCopyJobResponse> startCopyJob(StartCopyJobRequest startCopyJobRequest) Starts a job to create a one-time copy of the specified resource.default CompletableFuture<StartReportJobResponse> startReportJob(Consumer<StartReportJobRequest.Builder> startReportJobRequest) Starts an on-demand report job for the specified report plan.default CompletableFuture<StartReportJobResponse> startReportJob(StartReportJobRequest startReportJobRequest) Starts an on-demand report job for the specified report plan.default CompletableFuture<StartRestoreJobResponse> startRestoreJob(Consumer<StartRestoreJobRequest.Builder> startRestoreJobRequest) Recovers the saved resource identified by an Amazon Resource Name (ARN).default CompletableFuture<StartRestoreJobResponse> startRestoreJob(StartRestoreJobRequest startRestoreJobRequest) Recovers the saved resource identified by an Amazon Resource Name (ARN).default CompletableFuture<StopBackupJobResponse> stopBackupJob(Consumer<StopBackupJobRequest.Builder> stopBackupJobRequest) Attempts to cancel a job to create a one-time backup of a resource.default CompletableFuture<StopBackupJobResponse> stopBackupJob(StopBackupJobRequest stopBackupJobRequest) Attempts to cancel a job to create a one-time backup of a resource.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns a set of key-value pairs to a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Assigns a set of key-value pairs to a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)updateBackupPlan(Consumer<UpdateBackupPlanRequest.Builder> updateBackupPlanRequest) Updates the specified backup plan.updateBackupPlan(UpdateBackupPlanRequest updateBackupPlanRequest) Updates the specified backup plan.default CompletableFuture<UpdateFrameworkResponse> updateFramework(Consumer<UpdateFrameworkRequest.Builder> updateFrameworkRequest) Updates the specified framework.default CompletableFuture<UpdateFrameworkResponse> updateFramework(UpdateFrameworkRequest updateFrameworkRequest) Updates the specified framework.updateGlobalSettings(Consumer<UpdateGlobalSettingsRequest.Builder> updateGlobalSettingsRequest) Updates whether the Amazon Web Services account is opted in to cross-account backup.updateGlobalSettings(UpdateGlobalSettingsRequest updateGlobalSettingsRequest) Updates whether the Amazon Web Services account is opted in to cross-account backup.updateRecoveryPointIndexSettings(Consumer<UpdateRecoveryPointIndexSettingsRequest.Builder> updateRecoveryPointIndexSettingsRequest) This operation updates the settings of a recovery point index.updateRecoveryPointIndexSettings(UpdateRecoveryPointIndexSettingsRequest updateRecoveryPointIndexSettingsRequest) This operation updates the settings of a recovery point index.updateRecoveryPointLifecycle(Consumer<UpdateRecoveryPointLifecycleRequest.Builder> updateRecoveryPointLifecycleRequest) Sets the transition lifecycle of a recovery point.updateRecoveryPointLifecycle(UpdateRecoveryPointLifecycleRequest updateRecoveryPointLifecycleRequest) Sets the transition lifecycle of a recovery point.updateRegionSettings(Consumer<UpdateRegionSettingsRequest.Builder> updateRegionSettingsRequest) Updates the current service opt-in settings for the Region.updateRegionSettings(UpdateRegionSettingsRequest updateRegionSettingsRequest) Updates the current service opt-in settings for the Region.updateReportPlan(Consumer<UpdateReportPlanRequest.Builder> updateReportPlanRequest) Updates the specified report plan.updateReportPlan(UpdateReportPlanRequest updateReportPlanRequest) Updates the specified report plan.updateRestoreTestingPlan(Consumer<UpdateRestoreTestingPlanRequest.Builder> updateRestoreTestingPlanRequest) This request will send changes to your specified restore testing plan.updateRestoreTestingPlan(UpdateRestoreTestingPlanRequest updateRestoreTestingPlanRequest) This request will send changes to your specified restore testing plan.updateRestoreTestingSelection(Consumer<UpdateRestoreTestingSelectionRequest.Builder> updateRestoreTestingSelectionRequest) Updates the specified restore testing selection.updateRestoreTestingSelection(UpdateRestoreTestingSelectionRequest updateRestoreTestingSelectionRequest) Updates the specified restore testing selection.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateBackupVaultMpaApprovalTeam
default CompletableFuture<AssociateBackupVaultMpaApprovalTeamResponse> associateBackupVaultMpaApprovalTeam(AssociateBackupVaultMpaApprovalTeamRequest associateBackupVaultMpaApprovalTeamRequest) Associates an MPA approval team with a backup vault.
- Parameters:
associateBackupVaultMpaApprovalTeamRequest-- Returns:
- A Java Future containing the result of the AssociateBackupVaultMpaApprovalTeam operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateBackupVaultMpaApprovalTeam
default CompletableFuture<AssociateBackupVaultMpaApprovalTeamResponse> associateBackupVaultMpaApprovalTeam(Consumer<AssociateBackupVaultMpaApprovalTeamRequest.Builder> associateBackupVaultMpaApprovalTeamRequest) Associates an MPA approval team with a backup vault.
This is a convenience which creates an instance of the
AssociateBackupVaultMpaApprovalTeamRequest.Builderavoiding the need to create one manually viaAssociateBackupVaultMpaApprovalTeamRequest.builder()- Parameters:
associateBackupVaultMpaApprovalTeamRequest- AConsumerthat will call methods onAssociateBackupVaultMpaApprovalTeamRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateBackupVaultMpaApprovalTeam operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelLegalHold
default CompletableFuture<CancelLegalHoldResponse> cancelLegalHold(CancelLegalHoldRequest cancelLegalHoldRequest) Removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
- Parameters:
cancelLegalHoldRequest-- Returns:
- A Java Future containing the result of the CancelLegalHold operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelLegalHold
default CompletableFuture<CancelLegalHoldResponse> cancelLegalHold(Consumer<CancelLegalHoldRequest.Builder> cancelLegalHoldRequest) Removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
This is a convenience which creates an instance of the
CancelLegalHoldRequest.Builderavoiding the need to create one manually viaCancelLegalHoldRequest.builder()- Parameters:
cancelLegalHoldRequest- AConsumerthat will call methods onCancelLegalHoldRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelLegalHold operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBackupPlan
default CompletableFuture<CreateBackupPlanResponse> createBackupPlan(CreateBackupPlanRequest createBackupPlanRequest) 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
CreateBackupPlanwith a plan that already exists, you receive anAlreadyExistsExceptionexception.- Parameters:
createBackupPlanRequest-- Returns:
- A Java Future containing the result of the CreateBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBackupPlan
default CompletableFuture<CreateBackupPlanResponse> createBackupPlan(Consumer<CreateBackupPlanRequest.Builder> createBackupPlanRequest) 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
CreateBackupPlanwith a plan that already exists, you receive anAlreadyExistsExceptionexception.
This is a convenience which creates an instance of the
CreateBackupPlanRequest.Builderavoiding the need to create one manually viaCreateBackupPlanRequest.builder()- Parameters:
createBackupPlanRequest- AConsumerthat will call methods onCreateBackupPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBackupSelection
default CompletableFuture<CreateBackupSelectionResponse> createBackupSelection(CreateBackupSelectionRequest createBackupSelectionRequest) Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.
- Parameters:
createBackupSelectionRequest-- Returns:
- A Java Future containing the result of the CreateBackupSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBackupSelection
default CompletableFuture<CreateBackupSelectionResponse> createBackupSelection(Consumer<CreateBackupSelectionRequest.Builder> createBackupSelectionRequest) Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.
This is a convenience which creates an instance of the
CreateBackupSelectionRequest.Builderavoiding the need to create one manually viaCreateBackupSelectionRequest.builder()- Parameters:
createBackupSelectionRequest- AConsumerthat will call methods onCreateBackupSelectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateBackupSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBackupVault
default CompletableFuture<CreateBackupVaultResponse> createBackupVault(CreateBackupVaultRequest createBackupVaultRequest) Creates a logical container where backups are stored. A
CreateBackupVaultrequest 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.
- Parameters:
createBackupVaultRequest-- Returns:
- A Java Future containing the result of the CreateBackupVault operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- AlreadyExistsException The required resource already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBackupVault
default CompletableFuture<CreateBackupVaultResponse> createBackupVault(Consumer<CreateBackupVaultRequest.Builder> createBackupVaultRequest) Creates a logical container where backups are stored. A
CreateBackupVaultrequest 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.
This is a convenience which creates an instance of the
CreateBackupVaultRequest.Builderavoiding the need to create one manually viaCreateBackupVaultRequest.builder()- Parameters:
createBackupVaultRequest- AConsumerthat will call methods onCreateBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateBackupVault operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- AlreadyExistsException The required resource already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFramework
default CompletableFuture<CreateFrameworkResponse> createFramework(CreateFrameworkRequest createFrameworkRequest) 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.
- Parameters:
createFrameworkRequest-- Returns:
- A Java Future containing the result of the CreateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFramework
default CompletableFuture<CreateFrameworkResponse> createFramework(Consumer<CreateFrameworkRequest.Builder> createFrameworkRequest) 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.
This is a convenience which creates an instance of the
CreateFrameworkRequest.Builderavoiding the need to create one manually viaCreateFrameworkRequest.builder()- Parameters:
createFrameworkRequest- AConsumerthat will call methods onCreateFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLegalHold
default CompletableFuture<CreateLegalHoldResponse> createLegalHold(CreateLegalHoldRequest createLegalHoldRequest) Creates a legal hold on a recovery point (backup). A legal hold is a restraint on altering or deleting a backup until an authorized user cancels the legal hold. Any actions to delete or disassociate a recovery point will fail with an error if one or more active legal holds are on the recovery point.
- Parameters:
createLegalHoldRequest-- Returns:
- A Java Future containing the result of the CreateLegalHold operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLegalHold
default CompletableFuture<CreateLegalHoldResponse> createLegalHold(Consumer<CreateLegalHoldRequest.Builder> createLegalHoldRequest) Creates a legal hold on a recovery point (backup). A legal hold is a restraint on altering or deleting a backup until an authorized user cancels the legal hold. Any actions to delete or disassociate a recovery point will fail with an error if one or more active legal holds are on the recovery point.
This is a convenience which creates an instance of the
CreateLegalHoldRequest.Builderavoiding the need to create one manually viaCreateLegalHoldRequest.builder()- Parameters:
createLegalHoldRequest- AConsumerthat will call methods onCreateLegalHoldRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateLegalHold operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLogicallyAirGappedBackupVault
default CompletableFuture<CreateLogicallyAirGappedBackupVaultResponse> createLogicallyAirGappedBackupVault(CreateLogicallyAirGappedBackupVaultRequest createLogicallyAirGappedBackupVaultRequest) Creates a logical container to where backups may be copied.
This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator request ID.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
- Parameters:
createLogicallyAirGappedBackupVaultRequest-- Returns:
- A Java Future containing the result of the CreateLogicallyAirGappedBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLogicallyAirGappedBackupVault
default CompletableFuture<CreateLogicallyAirGappedBackupVaultResponse> createLogicallyAirGappedBackupVault(Consumer<CreateLogicallyAirGappedBackupVaultRequest.Builder> createLogicallyAirGappedBackupVaultRequest) Creates a logical container to where backups may be copied.
This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator request ID.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
This is a convenience which creates an instance of the
CreateLogicallyAirGappedBackupVaultRequest.Builderavoiding the need to create one manually viaCreateLogicallyAirGappedBackupVaultRequest.builder()- Parameters:
createLogicallyAirGappedBackupVaultRequest- AConsumerthat will call methods onCreateLogicallyAirGappedBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateLogicallyAirGappedBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReportPlan
default CompletableFuture<CreateReportPlanResponse> createReportPlan(CreateReportPlanRequest createReportPlanRequest) 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
CreateReportPlanwith a plan that already exists, you receive anAlreadyExistsExceptionexception.- Parameters:
createReportPlanRequest-- Returns:
- A Java Future containing the result of the CreateReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReportPlan
default CompletableFuture<CreateReportPlanResponse> createReportPlan(Consumer<CreateReportPlanRequest.Builder> createReportPlanRequest) 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
CreateReportPlanwith a plan that already exists, you receive anAlreadyExistsExceptionexception.
This is a convenience which creates an instance of the
CreateReportPlanRequest.Builderavoiding the need to create one manually viaCreateReportPlanRequest.builder()- Parameters:
createReportPlanRequest- AConsumerthat will call methods onCreateReportPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRestoreAccessBackupVault
default CompletableFuture<CreateRestoreAccessBackupVaultResponse> createRestoreAccessBackupVault(CreateRestoreAccessBackupVaultRequest createRestoreAccessBackupVaultRequest) Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.
- Parameters:
createRestoreAccessBackupVaultRequest-- Returns:
- A Java Future containing the result of the CreateRestoreAccessBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRestoreAccessBackupVault
default CompletableFuture<CreateRestoreAccessBackupVaultResponse> createRestoreAccessBackupVault(Consumer<CreateRestoreAccessBackupVaultRequest.Builder> createRestoreAccessBackupVaultRequest) Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.
This is a convenience which creates an instance of the
CreateRestoreAccessBackupVaultRequest.Builderavoiding the need to create one manually viaCreateRestoreAccessBackupVaultRequest.builder()- Parameters:
createRestoreAccessBackupVaultRequest- AConsumerthat will call methods onCreateRestoreAccessBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRestoreAccessBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRestoreTestingPlan
default CompletableFuture<CreateRestoreTestingPlanResponse> createRestoreTestingPlan(CreateRestoreTestingPlanRequest createRestoreTestingPlanRequest) Creates a restore testing plan.
The first of two steps to create a restore testing plan. After this request is successful, finish the procedure using CreateRestoreTestingSelection.
- Parameters:
createRestoreTestingPlanRequest-- Returns:
- A Java Future containing the result of the CreateRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRestoreTestingPlan
default CompletableFuture<CreateRestoreTestingPlanResponse> createRestoreTestingPlan(Consumer<CreateRestoreTestingPlanRequest.Builder> createRestoreTestingPlanRequest) Creates a restore testing plan.
The first of two steps to create a restore testing plan. After this request is successful, finish the procedure using CreateRestoreTestingSelection.
This is a convenience which creates an instance of the
CreateRestoreTestingPlanRequest.Builderavoiding the need to create one manually viaCreateRestoreTestingPlanRequest.builder()- Parameters:
createRestoreTestingPlanRequest- AConsumerthat will call methods onCreateRestoreTestingPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRestoreTestingSelection
default CompletableFuture<CreateRestoreTestingSelectionResponse> createRestoreTestingSelection(CreateRestoreTestingSelectionRequest createRestoreTestingSelectionRequest) This request can be sent after CreateRestoreTestingPlan request returns successfully. This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of
RestoreTestingSelectionName,ProtectedResourceType, and one of the following:-
ProtectedResourceArns -
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for
ProtectedResourceArnsalong withProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns.Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
- Parameters:
createRestoreTestingSelectionRequest-- Returns:
- A Java Future containing the result of the CreateRestoreTestingSelection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createRestoreTestingSelection
default CompletableFuture<CreateRestoreTestingSelectionResponse> createRestoreTestingSelection(Consumer<CreateRestoreTestingSelectionRequest.Builder> createRestoreTestingSelectionRequest) This request can be sent after CreateRestoreTestingPlan request returns successfully. This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of
RestoreTestingSelectionName,ProtectedResourceType, and one of the following:-
ProtectedResourceArns -
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for
ProtectedResourceArnsalong withProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns.Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
This is a convenience which creates an instance of the
CreateRestoreTestingSelectionRequest.Builderavoiding the need to create one manually viaCreateRestoreTestingSelectionRequest.builder()- Parameters:
createRestoreTestingSelectionRequest- AConsumerthat will call methods onCreateRestoreTestingSelectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRestoreTestingSelection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteBackupPlan
default CompletableFuture<DeleteBackupPlanResponse> deleteBackupPlan(DeleteBackupPlanRequest deleteBackupPlanRequest) Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.
- Parameters:
deleteBackupPlanRequest-- Returns:
- A Java Future containing the result of the DeleteBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupPlan
default CompletableFuture<DeleteBackupPlanResponse> deleteBackupPlan(Consumer<DeleteBackupPlanRequest.Builder> deleteBackupPlanRequest) Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.
This is a convenience which creates an instance of the
DeleteBackupPlanRequest.Builderavoiding the need to create one manually viaDeleteBackupPlanRequest.builder()- Parameters:
deleteBackupPlanRequest- AConsumerthat will call methods onDeleteBackupPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupSelection
default CompletableFuture<DeleteBackupSelectionResponse> deleteBackupSelection(DeleteBackupSelectionRequest deleteBackupSelectionRequest) Deletes the resource selection associated with a backup plan that is specified by the
SelectionId.- Parameters:
deleteBackupSelectionRequest-- Returns:
- A Java Future containing the result of the DeleteBackupSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupSelection
default CompletableFuture<DeleteBackupSelectionResponse> deleteBackupSelection(Consumer<DeleteBackupSelectionRequest.Builder> deleteBackupSelectionRequest) Deletes the resource selection associated with a backup plan that is specified by the
SelectionId.
This is a convenience which creates an instance of the
DeleteBackupSelectionRequest.Builderavoiding the need to create one manually viaDeleteBackupSelectionRequest.builder()- Parameters:
deleteBackupSelectionRequest- AConsumerthat will call methods onDeleteBackupSelectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBackupSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVault
default CompletableFuture<DeleteBackupVaultResponse> deleteBackupVault(DeleteBackupVaultRequest deleteBackupVaultRequest) Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
- Parameters:
deleteBackupVaultRequest-- Returns:
- A Java Future containing the result of the DeleteBackupVault operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVault
default CompletableFuture<DeleteBackupVaultResponse> deleteBackupVault(Consumer<DeleteBackupVaultRequest.Builder> deleteBackupVaultRequest) Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
This is a convenience which creates an instance of the
DeleteBackupVaultRequest.Builderavoiding the need to create one manually viaDeleteBackupVaultRequest.builder()- Parameters:
deleteBackupVaultRequest- AConsumerthat will call methods onDeleteBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBackupVault operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVaultAccessPolicy
default CompletableFuture<DeleteBackupVaultAccessPolicyResponse> deleteBackupVaultAccessPolicy(DeleteBackupVaultAccessPolicyRequest deleteBackupVaultAccessPolicyRequest) Deletes the policy document that manages permissions on a backup vault.
- Parameters:
deleteBackupVaultAccessPolicyRequest-- Returns:
- A Java Future containing the result of the DeleteBackupVaultAccessPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVaultAccessPolicy
default CompletableFuture<DeleteBackupVaultAccessPolicyResponse> deleteBackupVaultAccessPolicy(Consumer<DeleteBackupVaultAccessPolicyRequest.Builder> deleteBackupVaultAccessPolicyRequest) Deletes the policy document that manages permissions on a backup vault.
This is a convenience which creates an instance of the
DeleteBackupVaultAccessPolicyRequest.Builderavoiding the need to create one manually viaDeleteBackupVaultAccessPolicyRequest.builder()- Parameters:
deleteBackupVaultAccessPolicyRequest- AConsumerthat will call methods onDeleteBackupVaultAccessPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBackupVaultAccessPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVaultLockConfiguration
default CompletableFuture<DeleteBackupVaultLockConfigurationResponse> deleteBackupVaultLockConfiguration(DeleteBackupVaultLockConfigurationRequest deleteBackupVaultLockConfigurationRequest) 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
InvalidRequestExceptionif you attempt to do so. For more information, see Vault Lock in the Backup Developer Guide.- Parameters:
deleteBackupVaultLockConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteBackupVaultLockConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVaultLockConfiguration
default CompletableFuture<DeleteBackupVaultLockConfigurationResponse> deleteBackupVaultLockConfiguration(Consumer<DeleteBackupVaultLockConfigurationRequest.Builder> deleteBackupVaultLockConfigurationRequest) 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
InvalidRequestExceptionif you attempt to do so. For more information, see Vault Lock in the Backup Developer Guide.
This is a convenience which creates an instance of the
DeleteBackupVaultLockConfigurationRequest.Builderavoiding the need to create one manually viaDeleteBackupVaultLockConfigurationRequest.builder()- Parameters:
deleteBackupVaultLockConfigurationRequest- AConsumerthat will call methods onDeleteBackupVaultLockConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBackupVaultLockConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVaultNotifications
default CompletableFuture<DeleteBackupVaultNotificationsResponse> deleteBackupVaultNotifications(DeleteBackupVaultNotificationsRequest deleteBackupVaultNotificationsRequest) Deletes event notifications for the specified backup vault.
- Parameters:
deleteBackupVaultNotificationsRequest-- Returns:
- A Java Future containing the result of the DeleteBackupVaultNotifications operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackupVaultNotifications
default CompletableFuture<DeleteBackupVaultNotificationsResponse> deleteBackupVaultNotifications(Consumer<DeleteBackupVaultNotificationsRequest.Builder> deleteBackupVaultNotificationsRequest) Deletes event notifications for the specified backup vault.
This is a convenience which creates an instance of the
DeleteBackupVaultNotificationsRequest.Builderavoiding the need to create one manually viaDeleteBackupVaultNotificationsRequest.builder()- Parameters:
deleteBackupVaultNotificationsRequest- AConsumerthat will call methods onDeleteBackupVaultNotificationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBackupVaultNotifications operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFramework
default CompletableFuture<DeleteFrameworkResponse> deleteFramework(DeleteFrameworkRequest deleteFrameworkRequest) Deletes the framework specified by a framework name.
- Parameters:
deleteFrameworkRequest-- Returns:
- A Java Future containing the result of the DeleteFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFramework
default CompletableFuture<DeleteFrameworkResponse> deleteFramework(Consumer<DeleteFrameworkRequest.Builder> deleteFrameworkRequest) Deletes the framework specified by a framework name.
This is a convenience which creates an instance of the
DeleteFrameworkRequest.Builderavoiding the need to create one manually viaDeleteFrameworkRequest.builder()- Parameters:
deleteFrameworkRequest- AConsumerthat will call methods onDeleteFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecoveryPoint
default CompletableFuture<DeleteRecoveryPointResponse> deleteRecoveryPoint(DeleteRecoveryPointRequest deleteRecoveryPointRequest) 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.
When an IAM role's permissions are insufficient to call this API, the service sends back an HTTP 200 response with an empty HTTP body, but the recovery point is not deleted. Instead, it enters an
EXPIREDstate.EXPIREDrecovery points can be deleted with this API once the IAM role has theiam:CreateServiceLinkedRoleaction. To learn more about adding this role, see Troubleshooting manual deletions.If the user or role is deleted or the permission within the role is removed, the deletion will not be successful and will enter an
EXPIREDstate.- Parameters:
deleteRecoveryPointRequest-- Returns:
- A Java Future containing the result of the DeleteRecoveryPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecoveryPoint
default CompletableFuture<DeleteRecoveryPointResponse> deleteRecoveryPoint(Consumer<DeleteRecoveryPointRequest.Builder> deleteRecoveryPointRequest) 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.
When an IAM role's permissions are insufficient to call this API, the service sends back an HTTP 200 response with an empty HTTP body, but the recovery point is not deleted. Instead, it enters an
EXPIREDstate.EXPIREDrecovery points can be deleted with this API once the IAM role has theiam:CreateServiceLinkedRoleaction. To learn more about adding this role, see Troubleshooting manual deletions.If the user or role is deleted or the permission within the role is removed, the deletion will not be successful and will enter an
EXPIREDstate.
This is a convenience which creates an instance of the
DeleteRecoveryPointRequest.Builderavoiding the need to create one manually viaDeleteRecoveryPointRequest.builder()- Parameters:
deleteRecoveryPointRequest- AConsumerthat will call methods onDeleteRecoveryPointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRecoveryPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReportPlan
default CompletableFuture<DeleteReportPlanResponse> deleteReportPlan(DeleteReportPlanRequest deleteReportPlanRequest) Deletes the report plan specified by a report plan name.
- Parameters:
deleteReportPlanRequest-- Returns:
- A Java Future containing the result of the DeleteReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReportPlan
default CompletableFuture<DeleteReportPlanResponse> deleteReportPlan(Consumer<DeleteReportPlanRequest.Builder> deleteReportPlanRequest) Deletes the report plan specified by a report plan name.
This is a convenience which creates an instance of the
DeleteReportPlanRequest.Builderavoiding the need to create one manually viaDeleteReportPlanRequest.builder()- Parameters:
deleteReportPlanRequest- AConsumerthat will call methods onDeleteReportPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRestoreTestingPlan
default CompletableFuture<DeleteRestoreTestingPlanResponse> deleteRestoreTestingPlan(DeleteRestoreTestingPlanRequest deleteRestoreTestingPlanRequest) This request deletes the specified restore testing plan.
Deletion can only successfully occur if all associated restore testing selections are deleted first.
- Parameters:
deleteRestoreTestingPlanRequest-- Returns:
- A Java Future containing the result of the DeleteRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRestoreTestingPlan
default CompletableFuture<DeleteRestoreTestingPlanResponse> deleteRestoreTestingPlan(Consumer<DeleteRestoreTestingPlanRequest.Builder> deleteRestoreTestingPlanRequest) This request deletes the specified restore testing plan.
Deletion can only successfully occur if all associated restore testing selections are deleted first.
This is a convenience which creates an instance of the
DeleteRestoreTestingPlanRequest.Builderavoiding the need to create one manually viaDeleteRestoreTestingPlanRequest.builder()- Parameters:
deleteRestoreTestingPlanRequest- AConsumerthat will call methods onDeleteRestoreTestingPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRestoreTestingSelection
default CompletableFuture<DeleteRestoreTestingSelectionResponse> deleteRestoreTestingSelection(DeleteRestoreTestingSelectionRequest deleteRestoreTestingSelectionRequest) Input the Restore Testing Plan name and Restore Testing Selection name.
All testing selections associated with a restore testing plan must be deleted before the restore testing plan can be deleted.
- Parameters:
deleteRestoreTestingSelectionRequest-- Returns:
- A Java Future containing the result of the DeleteRestoreTestingSelection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRestoreTestingSelection
default CompletableFuture<DeleteRestoreTestingSelectionResponse> deleteRestoreTestingSelection(Consumer<DeleteRestoreTestingSelectionRequest.Builder> deleteRestoreTestingSelectionRequest) Input the Restore Testing Plan name and Restore Testing Selection name.
All testing selections associated with a restore testing plan must be deleted before the restore testing plan can be deleted.
This is a convenience which creates an instance of the
DeleteRestoreTestingSelectionRequest.Builderavoiding the need to create one manually viaDeleteRestoreTestingSelectionRequest.builder()- Parameters:
deleteRestoreTestingSelectionRequest- AConsumerthat will call methods onDeleteRestoreTestingSelectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRestoreTestingSelection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBackupJob
default CompletableFuture<DescribeBackupJobResponse> describeBackupJob(DescribeBackupJobRequest describeBackupJobRequest) Returns backup job details for the specified
BackupJobId.- Parameters:
describeBackupJobRequest-- Returns:
- A Java Future containing the result of the DescribeBackupJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- DependencyFailureException A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBackupJob
default CompletableFuture<DescribeBackupJobResponse> describeBackupJob(Consumer<DescribeBackupJobRequest.Builder> describeBackupJobRequest) Returns backup job details for the specified
BackupJobId.
This is a convenience which creates an instance of the
DescribeBackupJobRequest.Builderavoiding the need to create one manually viaDescribeBackupJobRequest.builder()- Parameters:
describeBackupJobRequest- AConsumerthat will call methods onDescribeBackupJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeBackupJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- DependencyFailureException A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBackupVault
default CompletableFuture<DescribeBackupVaultResponse> describeBackupVault(DescribeBackupVaultRequest describeBackupVaultRequest) Returns metadata about a backup vault specified by its name.
- Parameters:
describeBackupVaultRequest-- Returns:
- A Java Future containing the result of the DescribeBackupVault operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBackupVault
default CompletableFuture<DescribeBackupVaultResponse> describeBackupVault(Consumer<DescribeBackupVaultRequest.Builder> describeBackupVaultRequest) Returns metadata about a backup vault specified by its name.
This is a convenience which creates an instance of the
DescribeBackupVaultRequest.Builderavoiding the need to create one manually viaDescribeBackupVaultRequest.builder()- Parameters:
describeBackupVaultRequest- AConsumerthat will call methods onDescribeBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeBackupVault operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCopyJob
default CompletableFuture<DescribeCopyJobResponse> describeCopyJob(DescribeCopyJobRequest describeCopyJobRequest) Returns metadata associated with creating a copy of a resource.
- Parameters:
describeCopyJobRequest-- Returns:
- A Java Future containing the result of the DescribeCopyJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCopyJob
default CompletableFuture<DescribeCopyJobResponse> describeCopyJob(Consumer<DescribeCopyJobRequest.Builder> describeCopyJobRequest) Returns metadata associated with creating a copy of a resource.
This is a convenience which creates an instance of the
DescribeCopyJobRequest.Builderavoiding the need to create one manually viaDescribeCopyJobRequest.builder()- Parameters:
describeCopyJobRequest- AConsumerthat will call methods onDescribeCopyJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCopyJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFramework
default CompletableFuture<DescribeFrameworkResponse> describeFramework(DescribeFrameworkRequest describeFrameworkRequest) Returns the framework details for the specified
FrameworkName.- Parameters:
describeFrameworkRequest-- Returns:
- A Java Future containing the result of the DescribeFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFramework
default CompletableFuture<DescribeFrameworkResponse> describeFramework(Consumer<DescribeFrameworkRequest.Builder> describeFrameworkRequest) Returns the framework details for the specified
FrameworkName.
This is a convenience which creates an instance of the
DescribeFrameworkRequest.Builderavoiding the need to create one manually viaDescribeFrameworkRequest.builder()- Parameters:
describeFrameworkRequest- AConsumerthat will call methods onDescribeFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeGlobalSettings
default CompletableFuture<DescribeGlobalSettingsResponse> describeGlobalSettings(DescribeGlobalSettingsRequest describeGlobalSettingsRequest) 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- Parameters:
describeGlobalSettingsRequest-- Returns:
- A Java Future containing the result of the DescribeGlobalSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeGlobalSettings
default CompletableFuture<DescribeGlobalSettingsResponse> describeGlobalSettings(Consumer<DescribeGlobalSettingsRequest.Builder> describeGlobalSettingsRequest) 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
This is a convenience which creates an instance of the
DescribeGlobalSettingsRequest.Builderavoiding the need to create one manually viaDescribeGlobalSettingsRequest.builder()- Parameters:
describeGlobalSettingsRequest- AConsumerthat will call methods onDescribeGlobalSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeGlobalSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeProtectedResource
default CompletableFuture<DescribeProtectedResourceResponse> describeProtectedResource(DescribeProtectedResourceRequest describeProtectedResourceRequest) 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.
- Parameters:
describeProtectedResourceRequest-- Returns:
- A Java Future containing the result of the DescribeProtectedResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeProtectedResource
default CompletableFuture<DescribeProtectedResourceResponse> describeProtectedResource(Consumer<DescribeProtectedResourceRequest.Builder> describeProtectedResourceRequest) 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.
This is a convenience which creates an instance of the
DescribeProtectedResourceRequest.Builderavoiding the need to create one manually viaDescribeProtectedResourceRequest.builder()- Parameters:
describeProtectedResourceRequest- AConsumerthat will call methods onDescribeProtectedResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeProtectedResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoveryPoint
default CompletableFuture<DescribeRecoveryPointResponse> describeRecoveryPoint(DescribeRecoveryPointRequest describeRecoveryPointRequest) Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
- Parameters:
describeRecoveryPointRequest-- Returns:
- A Java Future containing the result of the DescribeRecoveryPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoveryPoint
default CompletableFuture<DescribeRecoveryPointResponse> describeRecoveryPoint(Consumer<DescribeRecoveryPointRequest.Builder> describeRecoveryPointRequest) Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
This is a convenience which creates an instance of the
DescribeRecoveryPointRequest.Builderavoiding the need to create one manually viaDescribeRecoveryPointRequest.builder()- Parameters:
describeRecoveryPointRequest- AConsumerthat will call methods onDescribeRecoveryPointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRecoveryPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRegionSettings
default CompletableFuture<DescribeRegionSettingsResponse> describeRegionSettings(DescribeRegionSettingsRequest describeRegionSettingsRequest) 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.
- Parameters:
describeRegionSettingsRequest-- Returns:
- A Java Future containing the result of the DescribeRegionSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRegionSettings
default CompletableFuture<DescribeRegionSettingsResponse> describeRegionSettings(Consumer<DescribeRegionSettingsRequest.Builder> describeRegionSettingsRequest) 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.
This is a convenience which creates an instance of the
DescribeRegionSettingsRequest.Builderavoiding the need to create one manually viaDescribeRegionSettingsRequest.builder()- Parameters:
describeRegionSettingsRequest- AConsumerthat will call methods onDescribeRegionSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRegionSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReportJob
default CompletableFuture<DescribeReportJobResponse> describeReportJob(DescribeReportJobRequest describeReportJobRequest) Returns the details associated with creating a report as specified by its
ReportJobId.- Parameters:
describeReportJobRequest-- Returns:
- A Java Future containing the result of the DescribeReportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReportJob
default CompletableFuture<DescribeReportJobResponse> describeReportJob(Consumer<DescribeReportJobRequest.Builder> describeReportJobRequest) Returns the details associated with creating a report as specified by its
ReportJobId.
This is a convenience which creates an instance of the
DescribeReportJobRequest.Builderavoiding the need to create one manually viaDescribeReportJobRequest.builder()- Parameters:
describeReportJobRequest- AConsumerthat will call methods onDescribeReportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeReportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReportPlan
default CompletableFuture<DescribeReportPlanResponse> describeReportPlan(DescribeReportPlanRequest describeReportPlanRequest) Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
- Parameters:
describeReportPlanRequest-- Returns:
- A Java Future containing the result of the DescribeReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReportPlan
default CompletableFuture<DescribeReportPlanResponse> describeReportPlan(Consumer<DescribeReportPlanRequest.Builder> describeReportPlanRequest) Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
This is a convenience which creates an instance of the
DescribeReportPlanRequest.Builderavoiding the need to create one manually viaDescribeReportPlanRequest.builder()- Parameters:
describeReportPlanRequest- AConsumerthat will call methods onDescribeReportPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRestoreJob
default CompletableFuture<DescribeRestoreJobResponse> describeRestoreJob(DescribeRestoreJobRequest describeRestoreJobRequest) Returns metadata associated with a restore job that is specified by a job ID.
- Parameters:
describeRestoreJobRequest-- Returns:
- A Java Future containing the result of the DescribeRestoreJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- DependencyFailureException A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRestoreJob
default CompletableFuture<DescribeRestoreJobResponse> describeRestoreJob(Consumer<DescribeRestoreJobRequest.Builder> describeRestoreJobRequest) Returns metadata associated with a restore job that is specified by a job ID.
This is a convenience which creates an instance of the
DescribeRestoreJobRequest.Builderavoiding the need to create one manually viaDescribeRestoreJobRequest.builder()- Parameters:
describeRestoreJobRequest- AConsumerthat will call methods onDescribeRestoreJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRestoreJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- DependencyFailureException A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateBackupVaultMpaApprovalTeam
default CompletableFuture<DisassociateBackupVaultMpaApprovalTeamResponse> disassociateBackupVaultMpaApprovalTeam(DisassociateBackupVaultMpaApprovalTeamRequest disassociateBackupVaultMpaApprovalTeamRequest) Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.
- Parameters:
disassociateBackupVaultMpaApprovalTeamRequest-- Returns:
- A Java Future containing the result of the DisassociateBackupVaultMpaApprovalTeam operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateBackupVaultMpaApprovalTeam
default CompletableFuture<DisassociateBackupVaultMpaApprovalTeamResponse> disassociateBackupVaultMpaApprovalTeam(Consumer<DisassociateBackupVaultMpaApprovalTeamRequest.Builder> disassociateBackupVaultMpaApprovalTeamRequest) Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.
This is a convenience which creates an instance of the
DisassociateBackupVaultMpaApprovalTeamRequest.Builderavoiding the need to create one manually viaDisassociateBackupVaultMpaApprovalTeamRequest.builder()- Parameters:
disassociateBackupVaultMpaApprovalTeamRequest- AConsumerthat will call methods onDisassociateBackupVaultMpaApprovalTeamRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateBackupVaultMpaApprovalTeam operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateRecoveryPoint
default CompletableFuture<DisassociateRecoveryPointResponse> disassociateRecoveryPoint(DisassociateRecoveryPointRequest disassociateRecoveryPointRequest) 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.
- Parameters:
disassociateRecoveryPointRequest-- Returns:
- A Java Future containing the result of the DisassociateRecoveryPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateRecoveryPoint
default CompletableFuture<DisassociateRecoveryPointResponse> disassociateRecoveryPoint(Consumer<DisassociateRecoveryPointRequest.Builder> disassociateRecoveryPointRequest) 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.
This is a convenience which creates an instance of the
DisassociateRecoveryPointRequest.Builderavoiding the need to create one manually viaDisassociateRecoveryPointRequest.builder()- Parameters:
disassociateRecoveryPointRequest- AConsumerthat will call methods onDisassociateRecoveryPointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateRecoveryPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateRecoveryPointFromParent
default CompletableFuture<DisassociateRecoveryPointFromParentResponse> disassociateRecoveryPointFromParent(DisassociateRecoveryPointFromParentRequest disassociateRecoveryPointFromParentRequest) This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
- Parameters:
disassociateRecoveryPointFromParentRequest-- Returns:
- A Java Future containing the result of the DisassociateRecoveryPointFromParent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateRecoveryPointFromParent
default CompletableFuture<DisassociateRecoveryPointFromParentResponse> disassociateRecoveryPointFromParent(Consumer<DisassociateRecoveryPointFromParentRequest.Builder> disassociateRecoveryPointFromParentRequest) This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
This is a convenience which creates an instance of the
DisassociateRecoveryPointFromParentRequest.Builderavoiding the need to create one manually viaDisassociateRecoveryPointFromParentRequest.builder()- Parameters:
disassociateRecoveryPointFromParentRequest- AConsumerthat will call methods onDisassociateRecoveryPointFromParentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateRecoveryPointFromParent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportBackupPlanTemplate
default CompletableFuture<ExportBackupPlanTemplateResponse> exportBackupPlanTemplate(ExportBackupPlanTemplateRequest exportBackupPlanTemplateRequest) Returns the backup plan that is specified by the plan ID as a backup template.
- Parameters:
exportBackupPlanTemplateRequest-- Returns:
- A Java Future containing the result of the ExportBackupPlanTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportBackupPlanTemplate
default CompletableFuture<ExportBackupPlanTemplateResponse> exportBackupPlanTemplate(Consumer<ExportBackupPlanTemplateRequest.Builder> exportBackupPlanTemplateRequest) Returns the backup plan that is specified by the plan ID as a backup template.
This is a convenience which creates an instance of the
ExportBackupPlanTemplateRequest.Builderavoiding the need to create one manually viaExportBackupPlanTemplateRequest.builder()- Parameters:
exportBackupPlanTemplateRequest- AConsumerthat will call methods onExportBackupPlanTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportBackupPlanTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupPlan
default CompletableFuture<GetBackupPlanResponse> getBackupPlan(GetBackupPlanRequest getBackupPlanRequest) Returns
BackupPlandetails for the specifiedBackupPlanId. The details are the body of a backup plan in JSON format, in addition to plan metadata.- Parameters:
getBackupPlanRequest-- Returns:
- A Java Future containing the result of the GetBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupPlan
default CompletableFuture<GetBackupPlanResponse> getBackupPlan(Consumer<GetBackupPlanRequest.Builder> getBackupPlanRequest) Returns
BackupPlandetails for the specifiedBackupPlanId. The details are the body of a backup plan in JSON format, in addition to plan metadata.
This is a convenience which creates an instance of the
GetBackupPlanRequest.Builderavoiding the need to create one manually viaGetBackupPlanRequest.builder()- Parameters:
getBackupPlanRequest- AConsumerthat will call methods onGetBackupPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupPlanFromJSON
default CompletableFuture<GetBackupPlanFromJsonResponse> getBackupPlanFromJSON(GetBackupPlanFromJsonRequest getBackupPlanFromJsonRequest) Returns a valid JSON document specifying a backup plan or an error.
- Parameters:
getBackupPlanFromJsonRequest-- Returns:
- A Java Future containing the result of the GetBackupPlanFromJSON operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupPlanFromJSON
default CompletableFuture<GetBackupPlanFromJsonResponse> getBackupPlanFromJSON(Consumer<GetBackupPlanFromJsonRequest.Builder> getBackupPlanFromJsonRequest) Returns a valid JSON document specifying a backup plan or an error.
This is a convenience which creates an instance of the
GetBackupPlanFromJsonRequest.Builderavoiding the need to create one manually viaGetBackupPlanFromJsonRequest.builder()- Parameters:
getBackupPlanFromJsonRequest- AConsumerthat will call methods onGetBackupPlanFromJsonRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBackupPlanFromJSON operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupPlanFromTemplate
default CompletableFuture<GetBackupPlanFromTemplateResponse> getBackupPlanFromTemplate(GetBackupPlanFromTemplateRequest getBackupPlanFromTemplateRequest) Returns the template specified by its
templateIdas a backup plan.- Parameters:
getBackupPlanFromTemplateRequest-- Returns:
- A Java Future containing the result of the GetBackupPlanFromTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupPlanFromTemplate
default CompletableFuture<GetBackupPlanFromTemplateResponse> getBackupPlanFromTemplate(Consumer<GetBackupPlanFromTemplateRequest.Builder> getBackupPlanFromTemplateRequest) Returns the template specified by its
templateIdas a backup plan.
This is a convenience which creates an instance of the
GetBackupPlanFromTemplateRequest.Builderavoiding the need to create one manually viaGetBackupPlanFromTemplateRequest.builder()- Parameters:
getBackupPlanFromTemplateRequest- AConsumerthat will call methods onGetBackupPlanFromTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBackupPlanFromTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupSelection
default CompletableFuture<GetBackupSelectionResponse> getBackupSelection(GetBackupSelectionRequest getBackupSelectionRequest) Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
- Parameters:
getBackupSelectionRequest-- Returns:
- A Java Future containing the result of the GetBackupSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupSelection
default CompletableFuture<GetBackupSelectionResponse> getBackupSelection(Consumer<GetBackupSelectionRequest.Builder> getBackupSelectionRequest) Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
This is a convenience which creates an instance of the
GetBackupSelectionRequest.Builderavoiding the need to create one manually viaGetBackupSelectionRequest.builder()- Parameters:
getBackupSelectionRequest- AConsumerthat will call methods onGetBackupSelectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBackupSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupVaultAccessPolicy
default CompletableFuture<GetBackupVaultAccessPolicyResponse> getBackupVaultAccessPolicy(GetBackupVaultAccessPolicyRequest getBackupVaultAccessPolicyRequest) Returns the access policy document that is associated with the named backup vault.
- Parameters:
getBackupVaultAccessPolicyRequest-- Returns:
- A Java Future containing the result of the GetBackupVaultAccessPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupVaultAccessPolicy
default CompletableFuture<GetBackupVaultAccessPolicyResponse> getBackupVaultAccessPolicy(Consumer<GetBackupVaultAccessPolicyRequest.Builder> getBackupVaultAccessPolicyRequest) Returns the access policy document that is associated with the named backup vault.
This is a convenience which creates an instance of the
GetBackupVaultAccessPolicyRequest.Builderavoiding the need to create one manually viaGetBackupVaultAccessPolicyRequest.builder()- Parameters:
getBackupVaultAccessPolicyRequest- AConsumerthat will call methods onGetBackupVaultAccessPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBackupVaultAccessPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupVaultNotifications
default CompletableFuture<GetBackupVaultNotificationsResponse> getBackupVaultNotifications(GetBackupVaultNotificationsRequest getBackupVaultNotificationsRequest) Returns event notifications for the specified backup vault.
- Parameters:
getBackupVaultNotificationsRequest-- Returns:
- A Java Future containing the result of the GetBackupVaultNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBackupVaultNotifications
default CompletableFuture<GetBackupVaultNotificationsResponse> getBackupVaultNotifications(Consumer<GetBackupVaultNotificationsRequest.Builder> getBackupVaultNotificationsRequest) Returns event notifications for the specified backup vault.
This is a convenience which creates an instance of the
GetBackupVaultNotificationsRequest.Builderavoiding the need to create one manually viaGetBackupVaultNotificationsRequest.builder()- Parameters:
getBackupVaultNotificationsRequest- AConsumerthat will call methods onGetBackupVaultNotificationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBackupVaultNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLegalHold
default CompletableFuture<GetLegalHoldResponse> getLegalHold(GetLegalHoldRequest getLegalHoldRequest) This action returns details for a specified legal hold. The details are the body of a legal hold in JSON format, in addition to metadata.
- Parameters:
getLegalHoldRequest-- Returns:
- A Java Future containing the result of the GetLegalHold operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLegalHold
default CompletableFuture<GetLegalHoldResponse> getLegalHold(Consumer<GetLegalHoldRequest.Builder> getLegalHoldRequest) This action returns details for a specified legal hold. The details are the body of a legal hold in JSON format, in addition to metadata.
This is a convenience which creates an instance of the
GetLegalHoldRequest.Builderavoiding the need to create one manually viaGetLegalHoldRequest.builder()- Parameters:
getLegalHoldRequest- AConsumerthat will call methods onGetLegalHoldRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetLegalHold operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryPointIndexDetails
default CompletableFuture<GetRecoveryPointIndexDetailsResponse> getRecoveryPointIndexDetails(GetRecoveryPointIndexDetailsRequest getRecoveryPointIndexDetailsRequest) This operation returns the metadata and details specific to the backup index associated with the specified recovery point.
- Parameters:
getRecoveryPointIndexDetailsRequest-- Returns:
- A Java Future containing the result of the GetRecoveryPointIndexDetails operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryPointIndexDetails
default CompletableFuture<GetRecoveryPointIndexDetailsResponse> getRecoveryPointIndexDetails(Consumer<GetRecoveryPointIndexDetailsRequest.Builder> getRecoveryPointIndexDetailsRequest) This operation returns the metadata and details specific to the backup index associated with the specified recovery point.
This is a convenience which creates an instance of the
GetRecoveryPointIndexDetailsRequest.Builderavoiding the need to create one manually viaGetRecoveryPointIndexDetailsRequest.builder()- Parameters:
getRecoveryPointIndexDetailsRequest- AConsumerthat will call methods onGetRecoveryPointIndexDetailsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRecoveryPointIndexDetails operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryPointRestoreMetadata
default CompletableFuture<GetRecoveryPointRestoreMetadataResponse> getRecoveryPointRestoreMetadata(GetRecoveryPointRestoreMetadataRequest getRecoveryPointRestoreMetadataRequest) Returns a set of metadata key-value pairs that were used to create the backup.
- Parameters:
getRecoveryPointRestoreMetadataRequest-- Returns:
- A Java Future containing the result of the GetRecoveryPointRestoreMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryPointRestoreMetadata
default CompletableFuture<GetRecoveryPointRestoreMetadataResponse> getRecoveryPointRestoreMetadata(Consumer<GetRecoveryPointRestoreMetadataRequest.Builder> getRecoveryPointRestoreMetadataRequest) Returns a set of metadata key-value pairs that were used to create the backup.
This is a convenience which creates an instance of the
GetRecoveryPointRestoreMetadataRequest.Builderavoiding the need to create one manually viaGetRecoveryPointRestoreMetadataRequest.builder()- Parameters:
getRecoveryPointRestoreMetadataRequest- AConsumerthat will call methods onGetRecoveryPointRestoreMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRecoveryPointRestoreMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreJobMetadata
default CompletableFuture<GetRestoreJobMetadataResponse> getRestoreJobMetadata(GetRestoreJobMetadataRequest getRestoreJobMetadataRequest) This request returns the metadata for the specified restore job.
- Parameters:
getRestoreJobMetadataRequest-- Returns:
- A Java Future containing the result of the GetRestoreJobMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreJobMetadata
default CompletableFuture<GetRestoreJobMetadataResponse> getRestoreJobMetadata(Consumer<GetRestoreJobMetadataRequest.Builder> getRestoreJobMetadataRequest) This request returns the metadata for the specified restore job.
This is a convenience which creates an instance of the
GetRestoreJobMetadataRequest.Builderavoiding the need to create one manually viaGetRestoreJobMetadataRequest.builder()- Parameters:
getRestoreJobMetadataRequest- AConsumerthat will call methods onGetRestoreJobMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRestoreJobMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreTestingInferredMetadata
default CompletableFuture<GetRestoreTestingInferredMetadataResponse> getRestoreTestingInferredMetadata(GetRestoreTestingInferredMetadataRequest getRestoreTestingInferredMetadataRequest) This request returns the minimal required set of metadata needed to start a restore job with secure default settings.
BackupVaultNameandRecoveryPointArnare required parameters.BackupVaultAccountIdis an optional parameter.- Parameters:
getRestoreTestingInferredMetadataRequest-- Returns:
- A Java Future containing the result of the GetRestoreTestingInferredMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreTestingInferredMetadata
default CompletableFuture<GetRestoreTestingInferredMetadataResponse> getRestoreTestingInferredMetadata(Consumer<GetRestoreTestingInferredMetadataRequest.Builder> getRestoreTestingInferredMetadataRequest) This request returns the minimal required set of metadata needed to start a restore job with secure default settings.
BackupVaultNameandRecoveryPointArnare required parameters.BackupVaultAccountIdis an optional parameter.
This is a convenience which creates an instance of the
GetRestoreTestingInferredMetadataRequest.Builderavoiding the need to create one manually viaGetRestoreTestingInferredMetadataRequest.builder()- Parameters:
getRestoreTestingInferredMetadataRequest- AConsumerthat will call methods onGetRestoreTestingInferredMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRestoreTestingInferredMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreTestingPlan
default CompletableFuture<GetRestoreTestingPlanResponse> getRestoreTestingPlan(GetRestoreTestingPlanRequest getRestoreTestingPlanRequest) Returns
RestoreTestingPlandetails for the specifiedRestoreTestingPlanName. The details are the body of a restore testing plan in JSON format, in addition to plan metadata.- Parameters:
getRestoreTestingPlanRequest-- Returns:
- A Java Future containing the result of the GetRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreTestingPlan
default CompletableFuture<GetRestoreTestingPlanResponse> getRestoreTestingPlan(Consumer<GetRestoreTestingPlanRequest.Builder> getRestoreTestingPlanRequest) Returns
RestoreTestingPlandetails for the specifiedRestoreTestingPlanName. The details are the body of a restore testing plan in JSON format, in addition to plan metadata.
This is a convenience which creates an instance of the
GetRestoreTestingPlanRequest.Builderavoiding the need to create one manually viaGetRestoreTestingPlanRequest.builder()- Parameters:
getRestoreTestingPlanRequest- AConsumerthat will call methods onGetRestoreTestingPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreTestingSelection
default CompletableFuture<GetRestoreTestingSelectionResponse> getRestoreTestingSelection(GetRestoreTestingSelectionRequest getRestoreTestingSelectionRequest) Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.
- Parameters:
getRestoreTestingSelectionRequest-- Returns:
- A Java Future containing the result of the GetRestoreTestingSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreTestingSelection
default CompletableFuture<GetRestoreTestingSelectionResponse> getRestoreTestingSelection(Consumer<GetRestoreTestingSelectionRequest.Builder> getRestoreTestingSelectionRequest) Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.
This is a convenience which creates an instance of the
GetRestoreTestingSelectionRequest.Builderavoiding the need to create one manually viaGetRestoreTestingSelectionRequest.builder()- Parameters:
getRestoreTestingSelectionRequest- AConsumerthat will call methods onGetRestoreTestingSelectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRestoreTestingSelection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupportedResourceTypes
default CompletableFuture<GetSupportedResourceTypesResponse> getSupportedResourceTypes(GetSupportedResourceTypesRequest getSupportedResourceTypesRequest) Returns the Amazon Web Services resource types supported by Backup.
- Parameters:
getSupportedResourceTypesRequest-- Returns:
- A Java Future containing the result of the GetSupportedResourceTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupportedResourceTypes
default CompletableFuture<GetSupportedResourceTypesResponse> getSupportedResourceTypes(Consumer<GetSupportedResourceTypesRequest.Builder> getSupportedResourceTypesRequest) Returns the Amazon Web Services resource types supported by Backup.
This is a convenience which creates an instance of the
GetSupportedResourceTypesRequest.Builderavoiding the need to create one manually viaGetSupportedResourceTypesRequest.builder()- Parameters:
getSupportedResourceTypesRequest- AConsumerthat will call methods onGetSupportedResourceTypesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSupportedResourceTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobSummaries
default CompletableFuture<ListBackupJobSummariesResponse> listBackupJobSummaries(ListBackupJobSummariesRequest listBackupJobSummariesRequest) This is a request for a summary of backup jobs created or running within the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
- Parameters:
listBackupJobSummariesRequest-- Returns:
- A Java Future containing the result of the ListBackupJobSummaries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobSummaries
default CompletableFuture<ListBackupJobSummariesResponse> listBackupJobSummaries(Consumer<ListBackupJobSummariesRequest.Builder> listBackupJobSummariesRequest) This is a request for a summary of backup jobs created or running within the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
This is a convenience which creates an instance of the
ListBackupJobSummariesRequest.Builderavoiding the need to create one manually viaListBackupJobSummariesRequest.builder()- Parameters:
listBackupJobSummariesRequest- AConsumerthat will call methods onListBackupJobSummariesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBackupJobSummaries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobSummariesPaginator
default ListBackupJobSummariesPublisher listBackupJobSummariesPaginator(ListBackupJobSummariesRequest listBackupJobSummariesRequest) This is a variant of
listBackupJobSummaries(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupJobSummariesPublisher publisher = client.listBackupJobSummariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupJobSummariesPublisher publisher = client.listBackupJobSummariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupJobSummariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupJobSummaries(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesRequest)operation.- Parameters:
listBackupJobSummariesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobSummariesPaginator
default ListBackupJobSummariesPublisher listBackupJobSummariesPaginator(Consumer<ListBackupJobSummariesRequest.Builder> listBackupJobSummariesRequest) This is a variant of
listBackupJobSummaries(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupJobSummariesPublisher publisher = client.listBackupJobSummariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupJobSummariesPublisher publisher = client.listBackupJobSummariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupJobSummariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupJobSummaries(software.amazon.awssdk.services.backup.model.ListBackupJobSummariesRequest)operation.
This is a convenience which creates an instance of the
ListBackupJobSummariesRequest.Builderavoiding the need to create one manually viaListBackupJobSummariesRequest.builder()- Parameters:
listBackupJobSummariesRequest- AConsumerthat will call methods onListBackupJobSummariesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobs
default CompletableFuture<ListBackupJobsResponse> listBackupJobs(ListBackupJobsRequest listBackupJobsRequest) 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.
- Parameters:
listBackupJobsRequest-- Returns:
- A Java Future containing the result of the ListBackupJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobs
default CompletableFuture<ListBackupJobsResponse> listBackupJobs(Consumer<ListBackupJobsRequest.Builder> listBackupJobsRequest) 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.
This is a convenience which creates an instance of the
ListBackupJobsRequest.Builderavoiding the need to create one manually viaListBackupJobsRequest.builder()- Parameters:
listBackupJobsRequest- AConsumerthat will call methods onListBackupJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBackupJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobs
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.
- Returns:
- A Java Future containing the result of the ListBackupJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobsPaginator
This is a variant of
listBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupJobsPublisher publisher = client.listBackupJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupJobsPublisher publisher = client.listBackupJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobsPaginator
default ListBackupJobsPublisher listBackupJobsPaginator(ListBackupJobsRequest listBackupJobsRequest) This is a variant of
listBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupJobsPublisher publisher = client.listBackupJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupJobsPublisher publisher = client.listBackupJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation.- Parameters:
listBackupJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupJobsPaginator
default ListBackupJobsPublisher listBackupJobsPaginator(Consumer<ListBackupJobsRequest.Builder> listBackupJobsRequest) This is a variant of
listBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupJobsPublisher publisher = client.listBackupJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupJobsPublisher publisher = client.listBackupJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupJobs(software.amazon.awssdk.services.backup.model.ListBackupJobsRequest)operation.
This is a convenience which creates an instance of the
ListBackupJobsRequest.Builderavoiding the need to create one manually viaListBackupJobsRequest.builder()- Parameters:
listBackupJobsRequest- AConsumerthat will call methods onListBackupJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanTemplates
default CompletableFuture<ListBackupPlanTemplatesResponse> listBackupPlanTemplates(ListBackupPlanTemplatesRequest listBackupPlanTemplatesRequest) Lists the backup plan templates.
- Parameters:
listBackupPlanTemplatesRequest-- Returns:
- A Java Future containing the result of the ListBackupPlanTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanTemplates
default CompletableFuture<ListBackupPlanTemplatesResponse> listBackupPlanTemplates(Consumer<ListBackupPlanTemplatesRequest.Builder> listBackupPlanTemplatesRequest) Lists the backup plan templates.
This is a convenience which creates an instance of the
ListBackupPlanTemplatesRequest.Builderavoiding the need to create one manually viaListBackupPlanTemplatesRequest.builder()- Parameters:
listBackupPlanTemplatesRequest- AConsumerthat will call methods onListBackupPlanTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBackupPlanTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanTemplates
Lists the backup plan templates.
- Returns:
- A Java Future containing the result of the ListBackupPlanTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanTemplatesPaginator
This is a variant of
listBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlanTemplatesPublisher publisher = client.listBackupPlanTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlanTemplatesPublisher publisher = client.listBackupPlanTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanTemplatesPaginator
default ListBackupPlanTemplatesPublisher listBackupPlanTemplatesPaginator(ListBackupPlanTemplatesRequest listBackupPlanTemplatesRequest) This is a variant of
listBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlanTemplatesPublisher publisher = client.listBackupPlanTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlanTemplatesPublisher publisher = client.listBackupPlanTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation.- Parameters:
listBackupPlanTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanTemplatesPaginator
default ListBackupPlanTemplatesPublisher listBackupPlanTemplatesPaginator(Consumer<ListBackupPlanTemplatesRequest.Builder> listBackupPlanTemplatesRequest) This is a variant of
listBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlanTemplatesPublisher publisher = client.listBackupPlanTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlanTemplatesPublisher publisher = client.listBackupPlanTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlanTemplates(software.amazon.awssdk.services.backup.model.ListBackupPlanTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListBackupPlanTemplatesRequest.Builderavoiding the need to create one manually viaListBackupPlanTemplatesRequest.builder()- Parameters:
listBackupPlanTemplatesRequest- AConsumerthat will call methods onListBackupPlanTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanVersions
default CompletableFuture<ListBackupPlanVersionsResponse> listBackupPlanVersions(ListBackupPlanVersionsRequest listBackupPlanVersionsRequest) Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
- Parameters:
listBackupPlanVersionsRequest-- Returns:
- A Java Future containing the result of the ListBackupPlanVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanVersions
default CompletableFuture<ListBackupPlanVersionsResponse> listBackupPlanVersions(Consumer<ListBackupPlanVersionsRequest.Builder> listBackupPlanVersionsRequest) Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
This is a convenience which creates an instance of the
ListBackupPlanVersionsRequest.Builderavoiding the need to create one manually viaListBackupPlanVersionsRequest.builder()- Parameters:
listBackupPlanVersionsRequest- AConsumerthat will call methods onListBackupPlanVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBackupPlanVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanVersionsPaginator
default ListBackupPlanVersionsPublisher listBackupPlanVersionsPaginator(ListBackupPlanVersionsRequest listBackupPlanVersionsRequest) This is a variant of
listBackupPlanVersions(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlanVersionsPublisher publisher = client.listBackupPlanVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlanVersionsPublisher publisher = client.listBackupPlanVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlanVersions(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsRequest)operation.- Parameters:
listBackupPlanVersionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlanVersionsPaginator
default ListBackupPlanVersionsPublisher listBackupPlanVersionsPaginator(Consumer<ListBackupPlanVersionsRequest.Builder> listBackupPlanVersionsRequest) This is a variant of
listBackupPlanVersions(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlanVersionsPublisher publisher = client.listBackupPlanVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlanVersionsPublisher publisher = client.listBackupPlanVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlanVersions(software.amazon.awssdk.services.backup.model.ListBackupPlanVersionsRequest)operation.
This is a convenience which creates an instance of the
ListBackupPlanVersionsRequest.Builderavoiding the need to create one manually viaListBackupPlanVersionsRequest.builder()- Parameters:
listBackupPlanVersionsRequest- AConsumerthat will call methods onListBackupPlanVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlans
default CompletableFuture<ListBackupPlansResponse> listBackupPlans(ListBackupPlansRequest listBackupPlansRequest) Lists the active backup plans for the account.
- Parameters:
listBackupPlansRequest-- Returns:
- A Java Future containing the result of the ListBackupPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlans
default CompletableFuture<ListBackupPlansResponse> listBackupPlans(Consumer<ListBackupPlansRequest.Builder> listBackupPlansRequest) Lists the active backup plans for the account.
This is a convenience which creates an instance of the
ListBackupPlansRequest.Builderavoiding the need to create one manually viaListBackupPlansRequest.builder()- Parameters:
listBackupPlansRequest- AConsumerthat will call methods onListBackupPlansRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBackupPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlans
Lists the active backup plans for the account.
- Returns:
- A Java Future containing the result of the ListBackupPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlansPaginator
This is a variant of
listBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlansPublisher publisher = client.listBackupPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlansPublisher publisher = client.listBackupPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlansResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlansPaginator
default ListBackupPlansPublisher listBackupPlansPaginator(ListBackupPlansRequest listBackupPlansRequest) This is a variant of
listBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlansPublisher publisher = client.listBackupPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlansPublisher publisher = client.listBackupPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlansResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation.- Parameters:
listBackupPlansRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupPlansPaginator
default ListBackupPlansPublisher listBackupPlansPaginator(Consumer<ListBackupPlansRequest.Builder> listBackupPlansRequest) This is a variant of
listBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupPlansPublisher publisher = client.listBackupPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupPlansPublisher publisher = client.listBackupPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupPlansResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupPlans(software.amazon.awssdk.services.backup.model.ListBackupPlansRequest)operation.
This is a convenience which creates an instance of the
ListBackupPlansRequest.Builderavoiding the need to create one manually viaListBackupPlansRequest.builder()- Parameters:
listBackupPlansRequest- AConsumerthat will call methods onListBackupPlansRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupSelections
default CompletableFuture<ListBackupSelectionsResponse> listBackupSelections(ListBackupSelectionsRequest listBackupSelectionsRequest) Returns an array containing metadata of the resources associated with the target backup plan.
- Parameters:
listBackupSelectionsRequest-- Returns:
- A Java Future containing the result of the ListBackupSelections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupSelections
default CompletableFuture<ListBackupSelectionsResponse> listBackupSelections(Consumer<ListBackupSelectionsRequest.Builder> listBackupSelectionsRequest) Returns an array containing metadata of the resources associated with the target backup plan.
This is a convenience which creates an instance of the
ListBackupSelectionsRequest.Builderavoiding the need to create one manually viaListBackupSelectionsRequest.builder()- Parameters:
listBackupSelectionsRequest- AConsumerthat will call methods onListBackupSelectionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBackupSelections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupSelectionsPaginator
default ListBackupSelectionsPublisher listBackupSelectionsPaginator(ListBackupSelectionsRequest listBackupSelectionsRequest) This is a variant of
listBackupSelections(software.amazon.awssdk.services.backup.model.ListBackupSelectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupSelectionsPublisher publisher = client.listBackupSelectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupSelectionsPublisher publisher = client.listBackupSelectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupSelectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupSelectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupSelections(software.amazon.awssdk.services.backup.model.ListBackupSelectionsRequest)operation.- Parameters:
listBackupSelectionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupSelectionsPaginator
default ListBackupSelectionsPublisher listBackupSelectionsPaginator(Consumer<ListBackupSelectionsRequest.Builder> listBackupSelectionsRequest) This is a variant of
listBackupSelections(software.amazon.awssdk.services.backup.model.ListBackupSelectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupSelectionsPublisher publisher = client.listBackupSelectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupSelectionsPublisher publisher = client.listBackupSelectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupSelectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupSelectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupSelections(software.amazon.awssdk.services.backup.model.ListBackupSelectionsRequest)operation.
This is a convenience which creates an instance of the
ListBackupSelectionsRequest.Builderavoiding the need to create one manually viaListBackupSelectionsRequest.builder()- Parameters:
listBackupSelectionsRequest- AConsumerthat will call methods onListBackupSelectionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupVaults
default CompletableFuture<ListBackupVaultsResponse> listBackupVaults(ListBackupVaultsRequest listBackupVaultsRequest) Returns a list of recovery point storage containers along with information about them.
- Parameters:
listBackupVaultsRequest-- Returns:
- A Java Future containing the result of the ListBackupVaults operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupVaults
default CompletableFuture<ListBackupVaultsResponse> listBackupVaults(Consumer<ListBackupVaultsRequest.Builder> listBackupVaultsRequest) Returns a list of recovery point storage containers along with information about them.
This is a convenience which creates an instance of the
ListBackupVaultsRequest.Builderavoiding the need to create one manually viaListBackupVaultsRequest.builder()- Parameters:
listBackupVaultsRequest- AConsumerthat will call methods onListBackupVaultsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBackupVaults operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupVaults
Returns a list of recovery point storage containers along with information about them.
- Returns:
- A Java Future containing the result of the ListBackupVaults operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupVaultsPaginator
This is a variant of
listBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupVaultsPublisher publisher = client.listBackupVaultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupVaultsPublisher publisher = client.listBackupVaultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupVaultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupVaultsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupVaultsPaginator
default ListBackupVaultsPublisher listBackupVaultsPaginator(ListBackupVaultsRequest listBackupVaultsRequest) This is a variant of
listBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupVaultsPublisher publisher = client.listBackupVaultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupVaultsPublisher publisher = client.listBackupVaultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupVaultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupVaultsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation.- Parameters:
listBackupVaultsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBackupVaultsPaginator
default ListBackupVaultsPublisher listBackupVaultsPaginator(Consumer<ListBackupVaultsRequest.Builder> listBackupVaultsRequest) This is a variant of
listBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListBackupVaultsPublisher publisher = client.listBackupVaultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListBackupVaultsPublisher publisher = client.listBackupVaultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListBackupVaultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListBackupVaultsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBackupVaults(software.amazon.awssdk.services.backup.model.ListBackupVaultsRequest)operation.
This is a convenience which creates an instance of the
ListBackupVaultsRequest.Builderavoiding the need to create one manually viaListBackupVaultsRequest.builder()- Parameters:
listBackupVaultsRequest- AConsumerthat will call methods onListBackupVaultsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobSummaries
default CompletableFuture<ListCopyJobSummariesResponse> listCopyJobSummaries(ListCopyJobSummariesRequest listCopyJobSummariesRequest) This request obtains a list of copy jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
- Parameters:
listCopyJobSummariesRequest-- Returns:
- A Java Future containing the result of the ListCopyJobSummaries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobSummaries
default CompletableFuture<ListCopyJobSummariesResponse> listCopyJobSummaries(Consumer<ListCopyJobSummariesRequest.Builder> listCopyJobSummariesRequest) This request obtains a list of copy jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
This is a convenience which creates an instance of the
ListCopyJobSummariesRequest.Builderavoiding the need to create one manually viaListCopyJobSummariesRequest.builder()- Parameters:
listCopyJobSummariesRequest- AConsumerthat will call methods onListCopyJobSummariesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCopyJobSummaries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobSummariesPaginator
default ListCopyJobSummariesPublisher listCopyJobSummariesPaginator(ListCopyJobSummariesRequest listCopyJobSummariesRequest) This is a variant of
listCopyJobSummaries(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListCopyJobSummariesPublisher publisher = client.listCopyJobSummariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListCopyJobSummariesPublisher publisher = client.listCopyJobSummariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListCopyJobSummariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCopyJobSummaries(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesRequest)operation.- Parameters:
listCopyJobSummariesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobSummariesPaginator
default ListCopyJobSummariesPublisher listCopyJobSummariesPaginator(Consumer<ListCopyJobSummariesRequest.Builder> listCopyJobSummariesRequest) This is a variant of
listCopyJobSummaries(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListCopyJobSummariesPublisher publisher = client.listCopyJobSummariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListCopyJobSummariesPublisher publisher = client.listCopyJobSummariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListCopyJobSummariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCopyJobSummaries(software.amazon.awssdk.services.backup.model.ListCopyJobSummariesRequest)operation.
This is a convenience which creates an instance of the
ListCopyJobSummariesRequest.Builderavoiding the need to create one manually viaListCopyJobSummariesRequest.builder()- Parameters:
listCopyJobSummariesRequest- AConsumerthat will call methods onListCopyJobSummariesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobs
default CompletableFuture<ListCopyJobsResponse> listCopyJobs(ListCopyJobsRequest listCopyJobsRequest) Returns metadata about your copy jobs.
- Parameters:
listCopyJobsRequest-- Returns:
- A Java Future containing the result of the ListCopyJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobs
default CompletableFuture<ListCopyJobsResponse> listCopyJobs(Consumer<ListCopyJobsRequest.Builder> listCopyJobsRequest) Returns metadata about your copy jobs.
This is a convenience which creates an instance of the
ListCopyJobsRequest.Builderavoiding the need to create one manually viaListCopyJobsRequest.builder()- Parameters:
listCopyJobsRequest- AConsumerthat will call methods onListCopyJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCopyJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobsPaginator
This is a variant of
listCopyJobs(software.amazon.awssdk.services.backup.model.ListCopyJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListCopyJobsPublisher publisher = client.listCopyJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListCopyJobsPublisher publisher = client.listCopyJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListCopyJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListCopyJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCopyJobs(software.amazon.awssdk.services.backup.model.ListCopyJobsRequest)operation.- Parameters:
listCopyJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCopyJobsPaginator
default ListCopyJobsPublisher listCopyJobsPaginator(Consumer<ListCopyJobsRequest.Builder> listCopyJobsRequest) This is a variant of
listCopyJobs(software.amazon.awssdk.services.backup.model.ListCopyJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListCopyJobsPublisher publisher = client.listCopyJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListCopyJobsPublisher publisher = client.listCopyJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListCopyJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListCopyJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCopyJobs(software.amazon.awssdk.services.backup.model.ListCopyJobsRequest)operation.
This is a convenience which creates an instance of the
ListCopyJobsRequest.Builderavoiding the need to create one manually viaListCopyJobsRequest.builder()- Parameters:
listCopyJobsRequest- AConsumerthat will call methods onListCopyJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworks
default CompletableFuture<ListFrameworksResponse> listFrameworks(ListFrameworksRequest listFrameworksRequest) Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
- Parameters:
listFrameworksRequest-- Returns:
- A Java Future containing the result of the ListFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworks
default CompletableFuture<ListFrameworksResponse> listFrameworks(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
This is a convenience which creates an instance of the
ListFrameworksRequest.Builderavoiding the need to create one manually viaListFrameworksRequest.builder()- Parameters:
listFrameworksRequest- AConsumerthat will call methods onListFrameworksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworksPaginator
default ListFrameworksPublisher listFrameworksPaginator(ListFrameworksRequest listFrameworksRequest) This is a variant of
listFrameworks(software.amazon.awssdk.services.backup.model.ListFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListFrameworksResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFrameworks(software.amazon.awssdk.services.backup.model.ListFrameworksRequest)operation.- Parameters:
listFrameworksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworksPaginator
default ListFrameworksPublisher listFrameworksPaginator(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) This is a variant of
listFrameworks(software.amazon.awssdk.services.backup.model.ListFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListFrameworksResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFrameworks(software.amazon.awssdk.services.backup.model.ListFrameworksRequest)operation.
This is a convenience which creates an instance of the
ListFrameworksRequest.Builderavoiding the need to create one manually viaListFrameworksRequest.builder()- Parameters:
listFrameworksRequest- AConsumerthat will call methods onListFrameworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndexedRecoveryPoints
default CompletableFuture<ListIndexedRecoveryPointsResponse> listIndexedRecoveryPoints(ListIndexedRecoveryPointsRequest listIndexedRecoveryPointsRequest) This operation returns a list of recovery points that have an associated index, belonging to the specified account.
Optional parameters you can include are: MaxResults; NextToken; SourceResourceArns; CreatedBefore; CreatedAfter; and ResourceType.
- Parameters:
listIndexedRecoveryPointsRequest-- Returns:
- A Java Future containing the result of the ListIndexedRecoveryPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndexedRecoveryPoints
default CompletableFuture<ListIndexedRecoveryPointsResponse> listIndexedRecoveryPoints(Consumer<ListIndexedRecoveryPointsRequest.Builder> listIndexedRecoveryPointsRequest) This operation returns a list of recovery points that have an associated index, belonging to the specified account.
Optional parameters you can include are: MaxResults; NextToken; SourceResourceArns; CreatedBefore; CreatedAfter; and ResourceType.
This is a convenience which creates an instance of the
ListIndexedRecoveryPointsRequest.Builderavoiding the need to create one manually viaListIndexedRecoveryPointsRequest.builder()- Parameters:
listIndexedRecoveryPointsRequest- AConsumerthat will call methods onListIndexedRecoveryPointsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListIndexedRecoveryPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndexedRecoveryPointsPaginator
default ListIndexedRecoveryPointsPublisher listIndexedRecoveryPointsPaginator(ListIndexedRecoveryPointsRequest listIndexedRecoveryPointsRequest) This is a variant of
listIndexedRecoveryPoints(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListIndexedRecoveryPointsPublisher publisher = client.listIndexedRecoveryPointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListIndexedRecoveryPointsPublisher publisher = client.listIndexedRecoveryPointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndexedRecoveryPoints(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsRequest)operation.- Parameters:
listIndexedRecoveryPointsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndexedRecoveryPointsPaginator
default ListIndexedRecoveryPointsPublisher listIndexedRecoveryPointsPaginator(Consumer<ListIndexedRecoveryPointsRequest.Builder> listIndexedRecoveryPointsRequest) This is a variant of
listIndexedRecoveryPoints(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListIndexedRecoveryPointsPublisher publisher = client.listIndexedRecoveryPointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListIndexedRecoveryPointsPublisher publisher = client.listIndexedRecoveryPointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndexedRecoveryPoints(software.amazon.awssdk.services.backup.model.ListIndexedRecoveryPointsRequest)operation.
This is a convenience which creates an instance of the
ListIndexedRecoveryPointsRequest.Builderavoiding the need to create one manually viaListIndexedRecoveryPointsRequest.builder()- Parameters:
listIndexedRecoveryPointsRequest- AConsumerthat will call methods onListIndexedRecoveryPointsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLegalHolds
default CompletableFuture<ListLegalHoldsResponse> listLegalHolds(ListLegalHoldsRequest listLegalHoldsRequest) This action returns metadata about active and previous legal holds.
- Parameters:
listLegalHoldsRequest-- Returns:
- A Java Future containing the result of the ListLegalHolds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLegalHolds
default CompletableFuture<ListLegalHoldsResponse> listLegalHolds(Consumer<ListLegalHoldsRequest.Builder> listLegalHoldsRequest) This action returns metadata about active and previous legal holds.
This is a convenience which creates an instance of the
ListLegalHoldsRequest.Builderavoiding the need to create one manually viaListLegalHoldsRequest.builder()- Parameters:
listLegalHoldsRequest- AConsumerthat will call methods onListLegalHoldsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListLegalHolds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLegalHoldsPaginator
default ListLegalHoldsPublisher listLegalHoldsPaginator(ListLegalHoldsRequest listLegalHoldsRequest) This is a variant of
listLegalHolds(software.amazon.awssdk.services.backup.model.ListLegalHoldsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListLegalHoldsPublisher publisher = client.listLegalHoldsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListLegalHoldsPublisher publisher = client.listLegalHoldsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListLegalHoldsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListLegalHoldsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLegalHolds(software.amazon.awssdk.services.backup.model.ListLegalHoldsRequest)operation.- Parameters:
listLegalHoldsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLegalHoldsPaginator
default ListLegalHoldsPublisher listLegalHoldsPaginator(Consumer<ListLegalHoldsRequest.Builder> listLegalHoldsRequest) This is a variant of
listLegalHolds(software.amazon.awssdk.services.backup.model.ListLegalHoldsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListLegalHoldsPublisher publisher = client.listLegalHoldsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListLegalHoldsPublisher publisher = client.listLegalHoldsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListLegalHoldsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListLegalHoldsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLegalHolds(software.amazon.awssdk.services.backup.model.ListLegalHoldsRequest)operation.
This is a convenience which creates an instance of the
ListLegalHoldsRequest.Builderavoiding the need to create one manually viaListLegalHoldsRequest.builder()- Parameters:
listLegalHoldsRequest- AConsumerthat will call methods onListLegalHoldsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResources
default CompletableFuture<ListProtectedResourcesResponse> listProtectedResources(ListProtectedResourcesRequest listProtectedResourcesRequest) 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.
- Parameters:
listProtectedResourcesRequest-- Returns:
- A Java Future containing the result of the ListProtectedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResources
default CompletableFuture<ListProtectedResourcesResponse> listProtectedResources(Consumer<ListProtectedResourcesRequest.Builder> listProtectedResourcesRequest) 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.
This is a convenience which creates an instance of the
ListProtectedResourcesRequest.Builderavoiding the need to create one manually viaListProtectedResourcesRequest.builder()- Parameters:
listProtectedResourcesRequest- AConsumerthat will call methods onListProtectedResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListProtectedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResources
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.
- Returns:
- A Java Future containing the result of the ListProtectedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResourcesByBackupVault
default CompletableFuture<ListProtectedResourcesByBackupVaultResponse> listProtectedResourcesByBackupVault(ListProtectedResourcesByBackupVaultRequest listProtectedResourcesByBackupVaultRequest) This request lists the protected resources corresponding to each backup vault.
- Parameters:
listProtectedResourcesByBackupVaultRequest-- Returns:
- A Java Future containing the result of the ListProtectedResourcesByBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResourcesByBackupVault
default CompletableFuture<ListProtectedResourcesByBackupVaultResponse> listProtectedResourcesByBackupVault(Consumer<ListProtectedResourcesByBackupVaultRequest.Builder> listProtectedResourcesByBackupVaultRequest) This request lists the protected resources corresponding to each backup vault.
This is a convenience which creates an instance of the
ListProtectedResourcesByBackupVaultRequest.Builderavoiding the need to create one manually viaListProtectedResourcesByBackupVaultRequest.builder()- Parameters:
listProtectedResourcesByBackupVaultRequest- AConsumerthat will call methods onListProtectedResourcesByBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListProtectedResourcesByBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResourcesByBackupVaultPaginator
default ListProtectedResourcesByBackupVaultPublisher listProtectedResourcesByBackupVaultPaginator(ListProtectedResourcesByBackupVaultRequest listProtectedResourcesByBackupVaultRequest) This is a variant of
listProtectedResourcesByBackupVault(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListProtectedResourcesByBackupVaultPublisher publisher = client.listProtectedResourcesByBackupVaultPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListProtectedResourcesByBackupVaultPublisher publisher = client.listProtectedResourcesByBackupVaultPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtectedResourcesByBackupVault(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultRequest)operation.- Parameters:
listProtectedResourcesByBackupVaultRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResourcesByBackupVaultPaginator
default ListProtectedResourcesByBackupVaultPublisher listProtectedResourcesByBackupVaultPaginator(Consumer<ListProtectedResourcesByBackupVaultRequest.Builder> listProtectedResourcesByBackupVaultRequest) This is a variant of
listProtectedResourcesByBackupVault(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListProtectedResourcesByBackupVaultPublisher publisher = client.listProtectedResourcesByBackupVaultPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListProtectedResourcesByBackupVaultPublisher publisher = client.listProtectedResourcesByBackupVaultPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtectedResourcesByBackupVault(software.amazon.awssdk.services.backup.model.ListProtectedResourcesByBackupVaultRequest)operation.
This is a convenience which creates an instance of the
ListProtectedResourcesByBackupVaultRequest.Builderavoiding the need to create one manually viaListProtectedResourcesByBackupVaultRequest.builder()- Parameters:
listProtectedResourcesByBackupVaultRequest- AConsumerthat will call methods onListProtectedResourcesByBackupVaultRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResourcesPaginator
This is a variant of
listProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListProtectedResourcesPublisher publisher = client.listProtectedResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListProtectedResourcesPublisher publisher = client.listProtectedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListProtectedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListProtectedResourcesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResourcesPaginator
default ListProtectedResourcesPublisher listProtectedResourcesPaginator(ListProtectedResourcesRequest listProtectedResourcesRequest) This is a variant of
listProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListProtectedResourcesPublisher publisher = client.listProtectedResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListProtectedResourcesPublisher publisher = client.listProtectedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListProtectedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListProtectedResourcesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation.- Parameters:
listProtectedResourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProtectedResourcesPaginator
default ListProtectedResourcesPublisher listProtectedResourcesPaginator(Consumer<ListProtectedResourcesRequest.Builder> listProtectedResourcesRequest) This is a variant of
listProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListProtectedResourcesPublisher publisher = client.listProtectedResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListProtectedResourcesPublisher publisher = client.listProtectedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListProtectedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListProtectedResourcesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtectedResources(software.amazon.awssdk.services.backup.model.ListProtectedResourcesRequest)operation.
This is a convenience which creates an instance of the
ListProtectedResourcesRequest.Builderavoiding the need to create one manually viaListProtectedResourcesRequest.builder()- Parameters:
listProtectedResourcesRequest- AConsumerthat will call methods onListProtectedResourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByBackupVault
default CompletableFuture<ListRecoveryPointsByBackupVaultResponse> listRecoveryPointsByBackupVault(ListRecoveryPointsByBackupVaultRequest listRecoveryPointsByBackupVaultRequest) Returns detailed information about the recovery points stored in a backup vault.
- Parameters:
listRecoveryPointsByBackupVaultRequest-- Returns:
- A Java Future containing the result of the ListRecoveryPointsByBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByBackupVault
default CompletableFuture<ListRecoveryPointsByBackupVaultResponse> listRecoveryPointsByBackupVault(Consumer<ListRecoveryPointsByBackupVaultRequest.Builder> listRecoveryPointsByBackupVaultRequest) Returns detailed information about the recovery points stored in a backup vault.
This is a convenience which creates an instance of the
ListRecoveryPointsByBackupVaultRequest.Builderavoiding the need to create one manually viaListRecoveryPointsByBackupVaultRequest.builder()- Parameters:
listRecoveryPointsByBackupVaultRequest- AConsumerthat will call methods onListRecoveryPointsByBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRecoveryPointsByBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByBackupVaultPaginator
default ListRecoveryPointsByBackupVaultPublisher listRecoveryPointsByBackupVaultPaginator(ListRecoveryPointsByBackupVaultRequest listRecoveryPointsByBackupVaultRequest) This is a variant of
listRecoveryPointsByBackupVault(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByBackupVaultPublisher publisher = client.listRecoveryPointsByBackupVaultPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByBackupVaultPublisher publisher = client.listRecoveryPointsByBackupVaultPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPointsByBackupVault(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultRequest)operation.- Parameters:
listRecoveryPointsByBackupVaultRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByBackupVaultPaginator
default ListRecoveryPointsByBackupVaultPublisher listRecoveryPointsByBackupVaultPaginator(Consumer<ListRecoveryPointsByBackupVaultRequest.Builder> listRecoveryPointsByBackupVaultRequest) This is a variant of
listRecoveryPointsByBackupVault(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByBackupVaultPublisher publisher = client.listRecoveryPointsByBackupVaultPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByBackupVaultPublisher publisher = client.listRecoveryPointsByBackupVaultPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPointsByBackupVault(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByBackupVaultRequest)operation.
This is a convenience which creates an instance of the
ListRecoveryPointsByBackupVaultRequest.Builderavoiding the need to create one manually viaListRecoveryPointsByBackupVaultRequest.builder()- Parameters:
listRecoveryPointsByBackupVaultRequest- AConsumerthat will call methods onListRecoveryPointsByBackupVaultRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByLegalHold
default CompletableFuture<ListRecoveryPointsByLegalHoldResponse> listRecoveryPointsByLegalHold(ListRecoveryPointsByLegalHoldRequest listRecoveryPointsByLegalHoldRequest) This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
- Parameters:
listRecoveryPointsByLegalHoldRequest-- Returns:
- A Java Future containing the result of the ListRecoveryPointsByLegalHold operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByLegalHold
default CompletableFuture<ListRecoveryPointsByLegalHoldResponse> listRecoveryPointsByLegalHold(Consumer<ListRecoveryPointsByLegalHoldRequest.Builder> listRecoveryPointsByLegalHoldRequest) This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
This is a convenience which creates an instance of the
ListRecoveryPointsByLegalHoldRequest.Builderavoiding the need to create one manually viaListRecoveryPointsByLegalHoldRequest.builder()- Parameters:
listRecoveryPointsByLegalHoldRequest- AConsumerthat will call methods onListRecoveryPointsByLegalHoldRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRecoveryPointsByLegalHold operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByLegalHoldPaginator
default ListRecoveryPointsByLegalHoldPublisher listRecoveryPointsByLegalHoldPaginator(ListRecoveryPointsByLegalHoldRequest listRecoveryPointsByLegalHoldRequest) This is a variant of
listRecoveryPointsByLegalHold(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByLegalHoldPublisher publisher = client.listRecoveryPointsByLegalHoldPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByLegalHoldPublisher publisher = client.listRecoveryPointsByLegalHoldPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPointsByLegalHold(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldRequest)operation.- Parameters:
listRecoveryPointsByLegalHoldRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByLegalHoldPaginator
default ListRecoveryPointsByLegalHoldPublisher listRecoveryPointsByLegalHoldPaginator(Consumer<ListRecoveryPointsByLegalHoldRequest.Builder> listRecoveryPointsByLegalHoldRequest) This is a variant of
listRecoveryPointsByLegalHold(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByLegalHoldPublisher publisher = client.listRecoveryPointsByLegalHoldPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByLegalHoldPublisher publisher = client.listRecoveryPointsByLegalHoldPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPointsByLegalHold(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByLegalHoldRequest)operation.
This is a convenience which creates an instance of the
ListRecoveryPointsByLegalHoldRequest.Builderavoiding the need to create one manually viaListRecoveryPointsByLegalHoldRequest.builder()- Parameters:
listRecoveryPointsByLegalHoldRequest- AConsumerthat will call methods onListRecoveryPointsByLegalHoldRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByResource
default CompletableFuture<ListRecoveryPointsByResourceResponse> listRecoveryPointsByResource(ListRecoveryPointsByResourceRequest listRecoveryPointsByResourceRequest) The information about 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.
- Parameters:
listRecoveryPointsByResourceRequest-- Returns:
- A Java Future containing the result of the ListRecoveryPointsByResource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByResource
default CompletableFuture<ListRecoveryPointsByResourceResponse> listRecoveryPointsByResource(Consumer<ListRecoveryPointsByResourceRequest.Builder> listRecoveryPointsByResourceRequest) The information about 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.
This is a convenience which creates an instance of the
ListRecoveryPointsByResourceRequest.Builderavoiding the need to create one manually viaListRecoveryPointsByResourceRequest.builder()- Parameters:
listRecoveryPointsByResourceRequest- AConsumerthat will call methods onListRecoveryPointsByResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRecoveryPointsByResource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByResourcePaginator
default ListRecoveryPointsByResourcePublisher listRecoveryPointsByResourcePaginator(ListRecoveryPointsByResourceRequest listRecoveryPointsByResourceRequest) This is a variant of
listRecoveryPointsByResource(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByResourcePublisher publisher = client.listRecoveryPointsByResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByResourcePublisher publisher = client.listRecoveryPointsByResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPointsByResource(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceRequest)operation.- Parameters:
listRecoveryPointsByResourceRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryPointsByResourcePaginator
default ListRecoveryPointsByResourcePublisher listRecoveryPointsByResourcePaginator(Consumer<ListRecoveryPointsByResourceRequest.Builder> listRecoveryPointsByResourceRequest) This is a variant of
listRecoveryPointsByResource(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByResourcePublisher publisher = client.listRecoveryPointsByResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRecoveryPointsByResourcePublisher publisher = client.listRecoveryPointsByResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPointsByResource(software.amazon.awssdk.services.backup.model.ListRecoveryPointsByResourceRequest)operation.
This is a convenience which creates an instance of the
ListRecoveryPointsByResourceRequest.Builderavoiding the need to create one manually viaListRecoveryPointsByResourceRequest.builder()- Parameters:
listRecoveryPointsByResourceRequest- AConsumerthat will call methods onListRecoveryPointsByResourceRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportJobs
default CompletableFuture<ListReportJobsResponse> listReportJobs(ListReportJobsRequest listReportJobsRequest) Returns details about your report jobs.
- Parameters:
listReportJobsRequest-- Returns:
- A Java Future containing the result of the ListReportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportJobs
default CompletableFuture<ListReportJobsResponse> listReportJobs(Consumer<ListReportJobsRequest.Builder> listReportJobsRequest) Returns details about your report jobs.
This is a convenience which creates an instance of the
ListReportJobsRequest.Builderavoiding the need to create one manually viaListReportJobsRequest.builder()- Parameters:
listReportJobsRequest- AConsumerthat will call methods onListReportJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportJobsPaginator
default ListReportJobsPublisher listReportJobsPaginator(ListReportJobsRequest listReportJobsRequest) This is a variant of
listReportJobs(software.amazon.awssdk.services.backup.model.ListReportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListReportJobsPublisher publisher = client.listReportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListReportJobsPublisher publisher = client.listReportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListReportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListReportJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportJobs(software.amazon.awssdk.services.backup.model.ListReportJobsRequest)operation.- Parameters:
listReportJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportJobsPaginator
default ListReportJobsPublisher listReportJobsPaginator(Consumer<ListReportJobsRequest.Builder> listReportJobsRequest) This is a variant of
listReportJobs(software.amazon.awssdk.services.backup.model.ListReportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListReportJobsPublisher publisher = client.listReportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListReportJobsPublisher publisher = client.listReportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListReportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListReportJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportJobs(software.amazon.awssdk.services.backup.model.ListReportJobsRequest)operation.
This is a convenience which creates an instance of the
ListReportJobsRequest.Builderavoiding the need to create one manually viaListReportJobsRequest.builder()- Parameters:
listReportJobsRequest- AConsumerthat will call methods onListReportJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportPlans
default CompletableFuture<ListReportPlansResponse> listReportPlans(ListReportPlansRequest listReportPlansRequest) Returns a list of your report plans. For detailed information about a single report plan, use
DescribeReportPlan.- Parameters:
listReportPlansRequest-- Returns:
- A Java Future containing the result of the ListReportPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportPlans
default CompletableFuture<ListReportPlansResponse> listReportPlans(Consumer<ListReportPlansRequest.Builder> listReportPlansRequest) Returns a list of your report plans. For detailed information about a single report plan, use
DescribeReportPlan.
This is a convenience which creates an instance of the
ListReportPlansRequest.Builderavoiding the need to create one manually viaListReportPlansRequest.builder()- Parameters:
listReportPlansRequest- AConsumerthat will call methods onListReportPlansRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReportPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportPlansPaginator
default ListReportPlansPublisher listReportPlansPaginator(ListReportPlansRequest listReportPlansRequest) This is a variant of
listReportPlans(software.amazon.awssdk.services.backup.model.ListReportPlansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListReportPlansPublisher publisher = client.listReportPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListReportPlansPublisher publisher = client.listReportPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListReportPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListReportPlansResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportPlans(software.amazon.awssdk.services.backup.model.ListReportPlansRequest)operation.- Parameters:
listReportPlansRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportPlansPaginator
default ListReportPlansPublisher listReportPlansPaginator(Consumer<ListReportPlansRequest.Builder> listReportPlansRequest) This is a variant of
listReportPlans(software.amazon.awssdk.services.backup.model.ListReportPlansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListReportPlansPublisher publisher = client.listReportPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListReportPlansPublisher publisher = client.listReportPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListReportPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListReportPlansResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportPlans(software.amazon.awssdk.services.backup.model.ListReportPlansRequest)operation.
This is a convenience which creates an instance of the
ListReportPlansRequest.Builderavoiding the need to create one manually viaListReportPlansRequest.builder()- Parameters:
listReportPlansRequest- AConsumerthat will call methods onListReportPlansRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreAccessBackupVaults
default CompletableFuture<ListRestoreAccessBackupVaultsResponse> listRestoreAccessBackupVaults(ListRestoreAccessBackupVaultsRequest listRestoreAccessBackupVaultsRequest) Returns a list of restore access backup vaults associated with a specified backup vault.
- Parameters:
listRestoreAccessBackupVaultsRequest-- Returns:
- A Java Future containing the result of the ListRestoreAccessBackupVaults operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreAccessBackupVaults
default CompletableFuture<ListRestoreAccessBackupVaultsResponse> listRestoreAccessBackupVaults(Consumer<ListRestoreAccessBackupVaultsRequest.Builder> listRestoreAccessBackupVaultsRequest) Returns a list of restore access backup vaults associated with a specified backup vault.
This is a convenience which creates an instance of the
ListRestoreAccessBackupVaultsRequest.Builderavoiding the need to create one manually viaListRestoreAccessBackupVaultsRequest.builder()- Parameters:
listRestoreAccessBackupVaultsRequest- AConsumerthat will call methods onListRestoreAccessBackupVaultsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRestoreAccessBackupVaults operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreAccessBackupVaultsPaginator
default ListRestoreAccessBackupVaultsPublisher listRestoreAccessBackupVaultsPaginator(ListRestoreAccessBackupVaultsRequest listRestoreAccessBackupVaultsRequest) This is a variant of
listRestoreAccessBackupVaults(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreAccessBackupVaultsPublisher publisher = client.listRestoreAccessBackupVaultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreAccessBackupVaultsPublisher publisher = client.listRestoreAccessBackupVaultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreAccessBackupVaults(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsRequest)operation.- Parameters:
listRestoreAccessBackupVaultsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreAccessBackupVaultsPaginator
default ListRestoreAccessBackupVaultsPublisher listRestoreAccessBackupVaultsPaginator(Consumer<ListRestoreAccessBackupVaultsRequest.Builder> listRestoreAccessBackupVaultsRequest) This is a variant of
listRestoreAccessBackupVaults(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreAccessBackupVaultsPublisher publisher = client.listRestoreAccessBackupVaultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreAccessBackupVaultsPublisher publisher = client.listRestoreAccessBackupVaultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreAccessBackupVaults(software.amazon.awssdk.services.backup.model.ListRestoreAccessBackupVaultsRequest)operation.
This is a convenience which creates an instance of the
ListRestoreAccessBackupVaultsRequest.Builderavoiding the need to create one manually viaListRestoreAccessBackupVaultsRequest.builder()- Parameters:
listRestoreAccessBackupVaultsRequest- AConsumerthat will call methods onListRestoreAccessBackupVaultsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobSummaries
default CompletableFuture<ListRestoreJobSummariesResponse> listRestoreJobSummaries(ListRestoreJobSummariesRequest listRestoreJobSummariesRequest) This request obtains a summary of restore jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
- Parameters:
listRestoreJobSummariesRequest-- Returns:
- A Java Future containing the result of the ListRestoreJobSummaries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobSummaries
default CompletableFuture<ListRestoreJobSummariesResponse> listRestoreJobSummaries(Consumer<ListRestoreJobSummariesRequest.Builder> listRestoreJobSummariesRequest) This request obtains a summary of restore jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
This is a convenience which creates an instance of the
ListRestoreJobSummariesRequest.Builderavoiding the need to create one manually viaListRestoreJobSummariesRequest.builder()- Parameters:
listRestoreJobSummariesRequest- AConsumerthat will call methods onListRestoreJobSummariesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRestoreJobSummaries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobSummariesPaginator
default ListRestoreJobSummariesPublisher listRestoreJobSummariesPaginator(ListRestoreJobSummariesRequest listRestoreJobSummariesRequest) This is a variant of
listRestoreJobSummaries(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreJobSummariesPublisher publisher = client.listRestoreJobSummariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreJobSummariesPublisher publisher = client.listRestoreJobSummariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreJobSummaries(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesRequest)operation.- Parameters:
listRestoreJobSummariesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobSummariesPaginator
default ListRestoreJobSummariesPublisher listRestoreJobSummariesPaginator(Consumer<ListRestoreJobSummariesRequest.Builder> listRestoreJobSummariesRequest) This is a variant of
listRestoreJobSummaries(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreJobSummariesPublisher publisher = client.listRestoreJobSummariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreJobSummariesPublisher publisher = client.listRestoreJobSummariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreJobSummaries(software.amazon.awssdk.services.backup.model.ListRestoreJobSummariesRequest)operation.
This is a convenience which creates an instance of the
ListRestoreJobSummariesRequest.Builderavoiding the need to create one manually viaListRestoreJobSummariesRequest.builder()- Parameters:
listRestoreJobSummariesRequest- AConsumerthat will call methods onListRestoreJobSummariesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobs
default CompletableFuture<ListRestoreJobsResponse> listRestoreJobs(ListRestoreJobsRequest listRestoreJobsRequest) Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
- Parameters:
listRestoreJobsRequest-- Returns:
- A Java Future containing the result of the ListRestoreJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobs
default CompletableFuture<ListRestoreJobsResponse> listRestoreJobs(Consumer<ListRestoreJobsRequest.Builder> listRestoreJobsRequest) Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
This is a convenience which creates an instance of the
ListRestoreJobsRequest.Builderavoiding the need to create one manually viaListRestoreJobsRequest.builder()- Parameters:
listRestoreJobsRequest- AConsumerthat will call methods onListRestoreJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRestoreJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobs
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
- Returns:
- A Java Future containing the result of the ListRestoreJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobsByProtectedResource
default CompletableFuture<ListRestoreJobsByProtectedResourceResponse> listRestoreJobsByProtectedResource(ListRestoreJobsByProtectedResourceRequest listRestoreJobsByProtectedResourceRequest) This returns restore jobs that contain the specified protected resource.
You must include
ResourceArn. You can optionally includeNextToken,ByStatus,MaxResults,ByRecoveryPointCreationDateAfter, andByRecoveryPointCreationDateBefore.- Parameters:
listRestoreJobsByProtectedResourceRequest-- Returns:
- A Java Future containing the result of the ListRestoreJobsByProtectedResource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobsByProtectedResource
default CompletableFuture<ListRestoreJobsByProtectedResourceResponse> listRestoreJobsByProtectedResource(Consumer<ListRestoreJobsByProtectedResourceRequest.Builder> listRestoreJobsByProtectedResourceRequest) This returns restore jobs that contain the specified protected resource.
You must include
ResourceArn. You can optionally includeNextToken,ByStatus,MaxResults,ByRecoveryPointCreationDateAfter, andByRecoveryPointCreationDateBefore.
This is a convenience which creates an instance of the
ListRestoreJobsByProtectedResourceRequest.Builderavoiding the need to create one manually viaListRestoreJobsByProtectedResourceRequest.builder()- Parameters:
listRestoreJobsByProtectedResourceRequest- AConsumerthat will call methods onListRestoreJobsByProtectedResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRestoreJobsByProtectedResource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobsByProtectedResourcePaginator
default ListRestoreJobsByProtectedResourcePublisher listRestoreJobsByProtectedResourcePaginator(ListRestoreJobsByProtectedResourceRequest listRestoreJobsByProtectedResourceRequest) This is a variant of
listRestoreJobsByProtectedResource(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreJobsByProtectedResourcePublisher publisher = client.listRestoreJobsByProtectedResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreJobsByProtectedResourcePublisher publisher = client.listRestoreJobsByProtectedResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreJobsByProtectedResource(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceRequest)operation.- Parameters:
listRestoreJobsByProtectedResourceRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobsByProtectedResourcePaginator
default ListRestoreJobsByProtectedResourcePublisher listRestoreJobsByProtectedResourcePaginator(Consumer<ListRestoreJobsByProtectedResourceRequest.Builder> listRestoreJobsByProtectedResourceRequest) This is a variant of
listRestoreJobsByProtectedResource(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreJobsByProtectedResourcePublisher publisher = client.listRestoreJobsByProtectedResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreJobsByProtectedResourcePublisher publisher = client.listRestoreJobsByProtectedResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreJobsByProtectedResource(software.amazon.awssdk.services.backup.model.ListRestoreJobsByProtectedResourceRequest)operation.
This is a convenience which creates an instance of the
ListRestoreJobsByProtectedResourceRequest.Builderavoiding the need to create one manually viaListRestoreJobsByProtectedResourceRequest.builder()- Parameters:
listRestoreJobsByProtectedResourceRequest- AConsumerthat will call methods onListRestoreJobsByProtectedResourceRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobsPaginator
This is a variant of
listRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreJobsPublisher publisher = client.listRestoreJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreJobsPublisher publisher = client.listRestoreJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobsPaginator
default ListRestoreJobsPublisher listRestoreJobsPaginator(ListRestoreJobsRequest listRestoreJobsRequest) This is a variant of
listRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreJobsPublisher publisher = client.listRestoreJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreJobsPublisher publisher = client.listRestoreJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation.- Parameters:
listRestoreJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreJobsPaginator
default ListRestoreJobsPublisher listRestoreJobsPaginator(Consumer<ListRestoreJobsRequest.Builder> listRestoreJobsRequest) This is a variant of
listRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreJobsPublisher publisher = client.listRestoreJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreJobsPublisher publisher = client.listRestoreJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreJobs(software.amazon.awssdk.services.backup.model.ListRestoreJobsRequest)operation.
This is a convenience which creates an instance of the
ListRestoreJobsRequest.Builderavoiding the need to create one manually viaListRestoreJobsRequest.builder()- Parameters:
listRestoreJobsRequest- AConsumerthat will call methods onListRestoreJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingPlans
default CompletableFuture<ListRestoreTestingPlansResponse> listRestoreTestingPlans(ListRestoreTestingPlansRequest listRestoreTestingPlansRequest) Returns a list of restore testing plans.
- Parameters:
listRestoreTestingPlansRequest-- Returns:
- A Java Future containing the result of the ListRestoreTestingPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingPlans
default CompletableFuture<ListRestoreTestingPlansResponse> listRestoreTestingPlans(Consumer<ListRestoreTestingPlansRequest.Builder> listRestoreTestingPlansRequest) Returns a list of restore testing plans.
This is a convenience which creates an instance of the
ListRestoreTestingPlansRequest.Builderavoiding the need to create one manually viaListRestoreTestingPlansRequest.builder()- Parameters:
listRestoreTestingPlansRequest- AConsumerthat will call methods onListRestoreTestingPlansRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRestoreTestingPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingPlansPaginator
default ListRestoreTestingPlansPublisher listRestoreTestingPlansPaginator(ListRestoreTestingPlansRequest listRestoreTestingPlansRequest) This is a variant of
listRestoreTestingPlans(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreTestingPlansPublisher publisher = client.listRestoreTestingPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreTestingPlansPublisher publisher = client.listRestoreTestingPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreTestingPlans(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansRequest)operation.- Parameters:
listRestoreTestingPlansRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingPlansPaginator
default ListRestoreTestingPlansPublisher listRestoreTestingPlansPaginator(Consumer<ListRestoreTestingPlansRequest.Builder> listRestoreTestingPlansRequest) This is a variant of
listRestoreTestingPlans(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreTestingPlansPublisher publisher = client.listRestoreTestingPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreTestingPlansPublisher publisher = client.listRestoreTestingPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreTestingPlans(software.amazon.awssdk.services.backup.model.ListRestoreTestingPlansRequest)operation.
This is a convenience which creates an instance of the
ListRestoreTestingPlansRequest.Builderavoiding the need to create one manually viaListRestoreTestingPlansRequest.builder()- Parameters:
listRestoreTestingPlansRequest- AConsumerthat will call methods onListRestoreTestingPlansRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingSelections
default CompletableFuture<ListRestoreTestingSelectionsResponse> listRestoreTestingSelections(ListRestoreTestingSelectionsRequest listRestoreTestingSelectionsRequest) Returns a list of restore testing selections. Can be filtered by
MaxResultsandRestoreTestingPlanName.- Parameters:
listRestoreTestingSelectionsRequest-- Returns:
- A Java Future containing the result of the ListRestoreTestingSelections operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingSelections
default CompletableFuture<ListRestoreTestingSelectionsResponse> listRestoreTestingSelections(Consumer<ListRestoreTestingSelectionsRequest.Builder> listRestoreTestingSelectionsRequest) Returns a list of restore testing selections. Can be filtered by
MaxResultsandRestoreTestingPlanName.
This is a convenience which creates an instance of the
ListRestoreTestingSelectionsRequest.Builderavoiding the need to create one manually viaListRestoreTestingSelectionsRequest.builder()- Parameters:
listRestoreTestingSelectionsRequest- AConsumerthat will call methods onListRestoreTestingSelectionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRestoreTestingSelections operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingSelectionsPaginator
default ListRestoreTestingSelectionsPublisher listRestoreTestingSelectionsPaginator(ListRestoreTestingSelectionsRequest listRestoreTestingSelectionsRequest) This is a variant of
listRestoreTestingSelections(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreTestingSelectionsPublisher publisher = client.listRestoreTestingSelectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreTestingSelectionsPublisher publisher = client.listRestoreTestingSelectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreTestingSelections(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsRequest)operation.- Parameters:
listRestoreTestingSelectionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRestoreTestingSelectionsPaginator
default ListRestoreTestingSelectionsPublisher listRestoreTestingSelectionsPaginator(Consumer<ListRestoreTestingSelectionsRequest.Builder> listRestoreTestingSelectionsRequest) This is a variant of
listRestoreTestingSelections(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListRestoreTestingSelectionsPublisher publisher = client.listRestoreTestingSelectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListRestoreTestingSelectionsPublisher publisher = client.listRestoreTestingSelectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRestoreTestingSelections(software.amazon.awssdk.services.backup.model.ListRestoreTestingSelectionsRequest)operation.
This is a convenience which creates an instance of the
ListRestoreTestingSelectionsRequest.Builderavoiding the need to create one manually viaListRestoreTestingSelectionsRequest.builder()- Parameters:
listRestoreTestingSelectionsRequest- AConsumerthat will call methods onListRestoreTestingSelectionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTags
Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.
This operation returns results depending on the resource type used in the value for
resourceArn. For example, recovery points of Amazon DynamoDB with Advanced Settings have an ARN (Amazon Resource Name) that begins witharn:aws:backup. Recovery points (backups) of DynamoDB without Advanced Settings enabled have an ARN that begins witharn:aws:dynamodb.When this operation is called and when you include values of
resourceArnthat have an ARN other thanarn:aws:backup, it may return one of the exceptions listed below. To prevent this exception, include only values representing resource types that are fully managed by Backup. These have an ARN that beginsarn:aws:backupand they are noted in the Feature availability by resource table.- Parameters:
listTagsRequest-- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTags
default CompletableFuture<ListTagsResponse> listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.
This operation returns results depending on the resource type used in the value for
resourceArn. For example, recovery points of Amazon DynamoDB with Advanced Settings have an ARN (Amazon Resource Name) that begins witharn:aws:backup. Recovery points (backups) of DynamoDB without Advanced Settings enabled have an ARN that begins witharn:aws:dynamodb.When this operation is called and when you include values of
resourceArnthat have an ARN other thanarn:aws:backup, it may return one of the exceptions listed below. To prevent this exception, include only values representing resource types that are fully managed by Backup. These have an ARN that beginsarn:aws:backupand they are noted in the Feature availability by resource table.
This is a convenience which creates an instance of the
ListTagsRequest.Builderavoiding the need to create one manually viaListTagsRequest.builder()- Parameters:
listTagsRequest- AConsumerthat will call methods onListTagsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsPaginator
This is a variant of
listTags(software.amazon.awssdk.services.backup.model.ListTagsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListTagsPublisher publisher = client.listTagsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListTagsPublisher publisher = client.listTagsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListTagsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListTagsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTags(software.amazon.awssdk.services.backup.model.ListTagsRequest)operation.- Parameters:
listTagsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsPaginator
This is a variant of
listTags(software.amazon.awssdk.services.backup.model.ListTagsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.backup.paginators.ListTagsPublisher publisher = client.listTagsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.backup.paginators.ListTagsPublisher publisher = client.listTagsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backup.model.ListTagsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backup.model.ListTagsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTags(software.amazon.awssdk.services.backup.model.ListTagsRequest)operation.
This is a convenience which creates an instance of the
ListTagsRequest.Builderavoiding the need to create one manually viaListTagsRequest.builder()- Parameters:
listTagsRequest- AConsumerthat will call methods onListTagsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putBackupVaultAccessPolicy
default CompletableFuture<PutBackupVaultAccessPolicyResponse> putBackupVaultAccessPolicy(PutBackupVaultAccessPolicyRequest putBackupVaultAccessPolicyRequest) Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.
- Parameters:
putBackupVaultAccessPolicyRequest-- Returns:
- A Java Future containing the result of the PutBackupVaultAccessPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putBackupVaultAccessPolicy
default CompletableFuture<PutBackupVaultAccessPolicyResponse> putBackupVaultAccessPolicy(Consumer<PutBackupVaultAccessPolicyRequest.Builder> putBackupVaultAccessPolicyRequest) Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.
This is a convenience which creates an instance of the
PutBackupVaultAccessPolicyRequest.Builderavoiding the need to create one manually viaPutBackupVaultAccessPolicyRequest.builder()- Parameters:
putBackupVaultAccessPolicyRequest- AConsumerthat will call methods onPutBackupVaultAccessPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutBackupVaultAccessPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putBackupVaultLockConfiguration
default CompletableFuture<PutBackupVaultLockConfigurationResponse> putBackupVaultLockConfiguration(PutBackupVaultLockConfigurationRequest putBackupVaultLockConfigurationRequest) 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 been assessed by Cohasset Associates for use in environments that are subject to SEC 17a-4, CFTC, and FINRA regulations. For more information about how Backup Vault Lock relates to these regulations, see the Cohasset Associates Compliance Assessment.
For more information, see Backup Vault Lock.
- Parameters:
putBackupVaultLockConfigurationRequest-- Returns:
- A Java Future containing the result of the PutBackupVaultLockConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putBackupVaultLockConfiguration
default CompletableFuture<PutBackupVaultLockConfigurationResponse> putBackupVaultLockConfiguration(Consumer<PutBackupVaultLockConfigurationRequest.Builder> putBackupVaultLockConfigurationRequest) 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 been assessed by Cohasset Associates for use in environments that are subject to SEC 17a-4, CFTC, and FINRA regulations. For more information about how Backup Vault Lock relates to these regulations, see the Cohasset Associates Compliance Assessment.
For more information, see Backup Vault Lock.
This is a convenience which creates an instance of the
PutBackupVaultLockConfigurationRequest.Builderavoiding the need to create one manually viaPutBackupVaultLockConfigurationRequest.builder()- Parameters:
putBackupVaultLockConfigurationRequest- AConsumerthat will call methods onPutBackupVaultLockConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutBackupVaultLockConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putBackupVaultNotifications
default CompletableFuture<PutBackupVaultNotificationsResponse> putBackupVaultNotifications(PutBackupVaultNotificationsRequest putBackupVaultNotificationsRequest) Turns on notifications on a backup vault for the specified topic and events.
- Parameters:
putBackupVaultNotificationsRequest-- Returns:
- A Java Future containing the result of the PutBackupVaultNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putBackupVaultNotifications
default CompletableFuture<PutBackupVaultNotificationsResponse> putBackupVaultNotifications(Consumer<PutBackupVaultNotificationsRequest.Builder> putBackupVaultNotificationsRequest) Turns on notifications on a backup vault for the specified topic and events.
This is a convenience which creates an instance of the
PutBackupVaultNotificationsRequest.Builderavoiding the need to create one manually viaPutBackupVaultNotificationsRequest.builder()- Parameters:
putBackupVaultNotificationsRequest- AConsumerthat will call methods onPutBackupVaultNotificationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutBackupVaultNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putRestoreValidationResult
default CompletableFuture<PutRestoreValidationResultResponse> putRestoreValidationResult(PutRestoreValidationResultRequest putRestoreValidationResultRequest) This request allows you to send your independent self-run restore test validation results.
RestoreJobIdandValidationStatusare required. Optionally, you can input aValidationStatusMessage.- Parameters:
putRestoreValidationResultRequest-- Returns:
- A Java Future containing the result of the PutRestoreValidationResult operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putRestoreValidationResult
default CompletableFuture<PutRestoreValidationResultResponse> putRestoreValidationResult(Consumer<PutRestoreValidationResultRequest.Builder> putRestoreValidationResultRequest) This request allows you to send your independent self-run restore test validation results.
RestoreJobIdandValidationStatusare required. Optionally, you can input aValidationStatusMessage.
This is a convenience which creates an instance of the
PutRestoreValidationResultRequest.Builderavoiding the need to create one manually viaPutRestoreValidationResultRequest.builder()- Parameters:
putRestoreValidationResultRequest- AConsumerthat will call methods onPutRestoreValidationResultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutRestoreValidationResult operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeRestoreAccessBackupVault
default CompletableFuture<RevokeRestoreAccessBackupVaultResponse> revokeRestoreAccessBackupVault(RevokeRestoreAccessBackupVaultRequest revokeRestoreAccessBackupVaultRequest) Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.
- Parameters:
revokeRestoreAccessBackupVaultRequest-- Returns:
- A Java Future containing the result of the RevokeRestoreAccessBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeRestoreAccessBackupVault
default CompletableFuture<RevokeRestoreAccessBackupVaultResponse> revokeRestoreAccessBackupVault(Consumer<RevokeRestoreAccessBackupVaultRequest.Builder> revokeRestoreAccessBackupVaultRequest) Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.
This is a convenience which creates an instance of the
RevokeRestoreAccessBackupVaultRequest.Builderavoiding the need to create one manually viaRevokeRestoreAccessBackupVaultRequest.builder()- Parameters:
revokeRestoreAccessBackupVaultRequest- AConsumerthat will call methods onRevokeRestoreAccessBackupVaultRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RevokeRestoreAccessBackupVault operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startBackupJob
default CompletableFuture<StartBackupJobResponse> startBackupJob(StartBackupJobRequest startBackupJobRequest) Starts an on-demand backup job for the specified resource.
- Parameters:
startBackupJobRequest-- Returns:
- A Java Future containing the result of the StartBackupJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startBackupJob
default CompletableFuture<StartBackupJobResponse> startBackupJob(Consumer<StartBackupJobRequest.Builder> startBackupJobRequest) Starts an on-demand backup job for the specified resource.
This is a convenience which creates an instance of the
StartBackupJobRequest.Builderavoiding the need to create one manually viaStartBackupJobRequest.builder()- Parameters:
startBackupJobRequest- AConsumerthat will call methods onStartBackupJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartBackupJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCopyJob
default CompletableFuture<StartCopyJobResponse> startCopyJob(StartCopyJobRequest startCopyJobRequest) Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
See Copy job retry for information on how Backup retries copy job operations.
- Parameters:
startCopyJobRequest-- Returns:
- A Java Future containing the result of the StartCopyJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCopyJob
default CompletableFuture<StartCopyJobResponse> startCopyJob(Consumer<StartCopyJobRequest.Builder> startCopyJobRequest) Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
See Copy job retry for information on how Backup retries copy job operations.
This is a convenience which creates an instance of the
StartCopyJobRequest.Builderavoiding the need to create one manually viaStartCopyJobRequest.builder()- Parameters:
startCopyJobRequest- AConsumerthat will call methods onStartCopyJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartCopyJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReportJob
default CompletableFuture<StartReportJobResponse> startReportJob(StartReportJobRequest startReportJobRequest) Starts an on-demand report job for the specified report plan.
- Parameters:
startReportJobRequest-- Returns:
- A Java Future containing the result of the StartReportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReportJob
default CompletableFuture<StartReportJobResponse> startReportJob(Consumer<StartReportJobRequest.Builder> startReportJobRequest) Starts an on-demand report job for the specified report plan.
This is a convenience which creates an instance of the
StartReportJobRequest.Builderavoiding the need to create one manually viaStartReportJobRequest.builder()- Parameters:
startReportJobRequest- AConsumerthat will call methods onStartReportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartReportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startRestoreJob
default CompletableFuture<StartRestoreJobResponse> startRestoreJob(StartRestoreJobRequest startRestoreJobRequest) Recovers the saved resource identified by an Amazon Resource Name (ARN).
- Parameters:
startRestoreJobRequest-- Returns:
- A Java Future containing the result of the StartRestoreJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startRestoreJob
default CompletableFuture<StartRestoreJobResponse> startRestoreJob(Consumer<StartRestoreJobRequest.Builder> startRestoreJobRequest) Recovers the saved resource identified by an Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
StartRestoreJobRequest.Builderavoiding the need to create one manually viaStartRestoreJobRequest.builder()- Parameters:
startRestoreJobRequest- AConsumerthat will call methods onStartRestoreJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartRestoreJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopBackupJob
default CompletableFuture<StopBackupJobResponse> stopBackupJob(StopBackupJobRequest stopBackupJobRequest) Attempts to cancel a job to create a one-time backup of a resource.
This action is not supported for the following services:
-
Amazon Aurora
-
Amazon DocumentDB (with MongoDB compatibility)
-
Amazon FSx for Lustre
-
Amazon FSx for NetApp ONTAP
-
Amazon FSx for OpenZFS
-
Amazon FSx for Windows File Server
-
Amazon Neptune
-
SAP HANA databases on Amazon EC2 instances
-
Amazon RDS
- Parameters:
stopBackupJobRequest-- Returns:
- A Java Future containing the result of the StopBackupJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
stopBackupJob
default CompletableFuture<StopBackupJobResponse> stopBackupJob(Consumer<StopBackupJobRequest.Builder> stopBackupJobRequest) Attempts to cancel a job to create a one-time backup of a resource.
This action is not supported for the following services:
-
Amazon Aurora
-
Amazon DocumentDB (with MongoDB compatibility)
-
Amazon FSx for Lustre
-
Amazon FSx for NetApp ONTAP
-
Amazon FSx for OpenZFS
-
Amazon FSx for Windows File Server
-
Amazon Neptune
-
SAP HANA databases on Amazon EC2 instances
-
Amazon RDS
This is a convenience which creates an instance of the
StopBackupJobRequest.Builderavoiding the need to create one manually viaStopBackupJobRequest.builder()- Parameters:
stopBackupJobRequest- AConsumerthat will call methods onStopBackupJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopBackupJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
tagResource
Assigns a set of key-value pairs to a resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns a set of key-value pairs to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
This API is not supported for recovery points for resource types including Aurora, Amazon DocumentDB. Amazon EBS, Amazon FSx, Neptune, and Amazon RDS.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
This API is not supported for recovery points for resource types including Aurora, Amazon DocumentDB. Amazon EBS, Amazon FSx, Neptune, and Amazon RDS.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBackupPlan
default CompletableFuture<UpdateBackupPlanResponse> updateBackupPlan(UpdateBackupPlanRequest updateBackupPlanRequest) Updates the specified backup plan. The new version is uniquely identified by its ID.
- Parameters:
updateBackupPlanRequest-- Returns:
- A Java Future containing the result of the UpdateBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBackupPlan
default CompletableFuture<UpdateBackupPlanResponse> updateBackupPlan(Consumer<UpdateBackupPlanRequest.Builder> updateBackupPlanRequest) Updates the specified backup plan. The new version is uniquely identified by its ID.
This is a convenience which creates an instance of the
UpdateBackupPlanRequest.Builderavoiding the need to create one manually viaUpdateBackupPlanRequest.builder()- Parameters:
updateBackupPlanRequest- AConsumerthat will call methods onUpdateBackupPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateBackupPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFramework
default CompletableFuture<UpdateFrameworkResponse> updateFramework(UpdateFrameworkRequest updateFrameworkRequest) Updates the specified framework.
- Parameters:
updateFrameworkRequest-- Returns:
- A Java Future containing the result of the UpdateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFramework
default CompletableFuture<UpdateFrameworkResponse> updateFramework(Consumer<UpdateFrameworkRequest.Builder> updateFrameworkRequest) Updates the specified framework.
This is a convenience which creates an instance of the
UpdateFrameworkRequest.Builderavoiding the need to create one manually viaUpdateFrameworkRequest.builder()- Parameters:
updateFrameworkRequest- AConsumerthat will call methods onUpdateFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AlreadyExistsException The required resource already exists.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlobalSettings
default CompletableFuture<UpdateGlobalSettingsResponse> updateGlobalSettings(UpdateGlobalSettingsRequest updateGlobalSettingsRequest) 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
DescribeGlobalSettingsAPI to determine the current settings.- Parameters:
updateGlobalSettingsRequest-- Returns:
- A Java Future containing the result of the UpdateGlobalSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlobalSettings
default CompletableFuture<UpdateGlobalSettingsResponse> updateGlobalSettings(Consumer<UpdateGlobalSettingsRequest.Builder> updateGlobalSettingsRequest) 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
DescribeGlobalSettingsAPI to determine the current settings.
This is a convenience which creates an instance of the
UpdateGlobalSettingsRequest.Builderavoiding the need to create one manually viaUpdateGlobalSettingsRequest.builder()- Parameters:
updateGlobalSettingsRequest- AConsumerthat will call methods onUpdateGlobalSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateGlobalSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecoveryPointIndexSettings
default CompletableFuture<UpdateRecoveryPointIndexSettingsResponse> updateRecoveryPointIndexSettings(UpdateRecoveryPointIndexSettingsRequest updateRecoveryPointIndexSettingsRequest) This operation updates the settings of a recovery point index.
Required: BackupVaultName, RecoveryPointArn, and IAMRoleArn
- Parameters:
updateRecoveryPointIndexSettingsRequest-- Returns:
- A Java Future containing the result of the UpdateRecoveryPointIndexSettings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecoveryPointIndexSettings
default CompletableFuture<UpdateRecoveryPointIndexSettingsResponse> updateRecoveryPointIndexSettings(Consumer<UpdateRecoveryPointIndexSettingsRequest.Builder> updateRecoveryPointIndexSettingsRequest) This operation updates the settings of a recovery point index.
Required: BackupVaultName, RecoveryPointArn, and IAMRoleArn
This is a convenience which creates an instance of the
UpdateRecoveryPointIndexSettingsRequest.Builderavoiding the need to create one manually viaUpdateRecoveryPointIndexSettingsRequest.builder()- Parameters:
updateRecoveryPointIndexSettingsRequest- AConsumerthat will call methods onUpdateRecoveryPointIndexSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRecoveryPointIndexSettings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecoveryPointLifecycle
default CompletableFuture<UpdateRecoveryPointLifecycleResponse> updateRecoveryPointLifecycle(UpdateRecoveryPointLifecycleRequest updateRecoveryPointLifecycleRequest) Sets the transition lifecycle of a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Resource types that can transition to cold storage are listed in the Feature availability by resource table. Backup ignores this expression for other resource types.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” 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.
If your lifecycle currently uses the parameters
DeleteAfterDaysandMoveToColdStorageAfterDays, include these parameters and their values when you call this operation. Not including them may result in your plan updating with null values.This operation does not support continuous backups.
- Parameters:
updateRecoveryPointLifecycleRequest-- Returns:
- A Java Future containing the result of the UpdateRecoveryPointLifecycle operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecoveryPointLifecycle
default CompletableFuture<UpdateRecoveryPointLifecycleResponse> updateRecoveryPointLifecycle(Consumer<UpdateRecoveryPointLifecycleRequest.Builder> updateRecoveryPointLifecycleRequest) Sets the transition lifecycle of a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Resource types that can transition to cold storage are listed in the Feature availability by resource table. Backup ignores this expression for other resource types.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” 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.
If your lifecycle currently uses the parameters
DeleteAfterDaysandMoveToColdStorageAfterDays, include these parameters and their values when you call this operation. Not including them may result in your plan updating with null values.This operation does not support continuous backups.
This is a convenience which creates an instance of the
UpdateRecoveryPointLifecycleRequest.Builderavoiding the need to create one manually viaUpdateRecoveryPointLifecycleRequest.builder()- Parameters:
updateRecoveryPointLifecycleRequest- AConsumerthat will call methods onUpdateRecoveryPointLifecycleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRecoveryPointLifecycle operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
- MissingParameterValueException Indicates that a required parameter is missing.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRegionSettings
default CompletableFuture<UpdateRegionSettingsResponse> updateRegionSettings(UpdateRegionSettingsRequest updateRegionSettingsRequest) Updates the current service opt-in settings for the Region.
Use the
DescribeRegionSettingsAPI to determine the resource types that are supported.- Parameters:
updateRegionSettingsRequest-- Returns:
- A Java Future containing the result of the UpdateRegionSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRegionSettings
default CompletableFuture<UpdateRegionSettingsResponse> updateRegionSettings(Consumer<UpdateRegionSettingsRequest.Builder> updateRegionSettingsRequest) Updates the current service opt-in settings for the Region.
Use the
DescribeRegionSettingsAPI to determine the resource types that are supported.
This is a convenience which creates an instance of the
UpdateRegionSettingsRequest.Builderavoiding the need to create one manually viaUpdateRegionSettingsRequest.builder()- Parameters:
updateRegionSettingsRequest- AConsumerthat will call methods onUpdateRegionSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRegionSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReportPlan
default CompletableFuture<UpdateReportPlanResponse> updateReportPlan(UpdateReportPlanRequest updateReportPlanRequest) Updates the specified report plan.
- Parameters:
updateReportPlanRequest-- Returns:
- A Java Future containing the result of the UpdateReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReportPlan
default CompletableFuture<UpdateReportPlanResponse> updateReportPlan(Consumer<UpdateReportPlanRequest.Builder> updateReportPlanRequest) Updates the specified report plan.
This is a convenience which creates an instance of the
UpdateReportPlanRequest.Builderavoiding the need to create one manually viaUpdateReportPlanRequest.builder()- Parameters:
updateReportPlanRequest- AConsumerthat will call methods onUpdateReportPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateReportPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A resource that is required for the action doesn't exist.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- MissingParameterValueException Indicates that a required parameter is missing.
- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRestoreTestingPlan
default CompletableFuture<UpdateRestoreTestingPlanResponse> updateRestoreTestingPlan(UpdateRestoreTestingPlanRequest updateRestoreTestingPlanRequest) This request will send changes to your specified restore testing plan.
RestoreTestingPlanNamecannot be updated after it is created.RecoveryPointSelectioncan contain:-
Algorithm -
ExcludeVaults -
IncludeVaults -
RecoveryPointTypes -
SelectionWindowDays
- Parameters:
updateRestoreTestingPlanRequest-- Returns:
- A Java Future containing the result of the UpdateRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateRestoreTestingPlan
default CompletableFuture<UpdateRestoreTestingPlanResponse> updateRestoreTestingPlan(Consumer<UpdateRestoreTestingPlanRequest.Builder> updateRestoreTestingPlanRequest) This request will send changes to your specified restore testing plan.
RestoreTestingPlanNamecannot be updated after it is created.RecoveryPointSelectioncan contain:-
Algorithm -
ExcludeVaults -
IncludeVaults -
RecoveryPointTypes -
SelectionWindowDays
This is a convenience which creates an instance of the
UpdateRestoreTestingPlanRequest.Builderavoiding the need to create one manually viaUpdateRestoreTestingPlanRequest.builder()- Parameters:
updateRestoreTestingPlanRequest- AConsumerthat will call methods onUpdateRestoreTestingPlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRestoreTestingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateRestoreTestingSelection
default CompletableFuture<UpdateRestoreTestingSelectionResponse> updateRestoreTestingSelection(UpdateRestoreTestingSelectionRequest updateRestoreTestingSelectionRequest) Updates the specified restore testing selection.
Most elements except the
RestoreTestingSelectionNamecan be updated with this request.You can use either protected resource ARNs or conditions, but not both.
- Parameters:
updateRestoreTestingSelectionRequest-- Returns:
- A Java Future containing the result of the UpdateRestoreTestingSelection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRestoreTestingSelection
default CompletableFuture<UpdateRestoreTestingSelectionResponse> updateRestoreTestingSelection(Consumer<UpdateRestoreTestingSelectionRequest.Builder> updateRestoreTestingSelectionRequest) Updates the specified restore testing selection.
Most elements except the
RestoreTestingSelectionNamecan be updated with this request.You can use either protected resource ARNs or conditions, but not both.
This is a convenience which creates an instance of the
UpdateRestoreTestingSelectionRequest.Builderavoiding the need to create one manually viaUpdateRestoreTestingSelectionRequest.builder()- Parameters:
updateRestoreTestingSelectionRequest- AConsumerthat will call methods onUpdateRestoreTestingSelectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRestoreTestingSelection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
- InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
- MissingParameterValueException Indicates that a required parameter is missing.
- ResourceNotFoundException A resource that is required for the action doesn't exist.
- ServiceUnavailableException The request failed due to a temporary failure of the server.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aBackupAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBackupAsyncClient.
-