Interface BackupExternalAsyncClient
- 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.
Provides operations to manage appliances, resource providers, and resource targets in AWS Backup External.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture<AssociateDiskResponse> associateDisk(Consumer<AssociateDiskRequest.Builder> associateDiskRequest) Associates a disk with the specified appliance node for data or metadata storage.default CompletableFuture<AssociateDiskResponse> associateDisk(AssociateDiskRequest associateDiskRequest) Associates a disk with the specified appliance node for data or metadata storage.builder()Create a builder that can be used to configure and create aBackupExternalAsyncClient.static BackupExternalAsyncClientcreate()Create aBackupExternalAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateApplianceResponse> createAppliance(Consumer<CreateApplianceRequest.Builder> createApplianceRequest) Creates an appliance with the specified network configuration and returns its activation information.default CompletableFuture<CreateApplianceResponse> createAppliance(CreateApplianceRequest createApplianceRequest) Creates an appliance with the specified network configuration and returns its activation information.createResourceProvider(Consumer<CreateResourceProviderRequest.Builder> createResourceProviderRequest) Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.createResourceProvider(CreateResourceProviderRequest createResourceProviderRequest) Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.default CompletableFuture<DeleteApplianceResponse> deleteAppliance(Consumer<DeleteApplianceRequest.Builder> deleteApplianceRequest) Deletes the specified appliance.default CompletableFuture<DeleteApplianceResponse> deleteAppliance(DeleteApplianceRequest deleteApplianceRequest) Deletes the specified appliance.default CompletableFuture<DeleteNodeResponse> deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest) Deletes the specified node from an appliance.default CompletableFuture<DeleteNodeResponse> deleteNode(DeleteNodeRequest deleteNodeRequest) Deletes the specified node from an appliance.deleteResourceProvider(Consumer<DeleteResourceProviderRequest.Builder> deleteResourceProviderRequest) Deletes the specified resource provider.deleteResourceProvider(DeleteResourceProviderRequest deleteResourceProviderRequest) Deletes the specified resource provider.deleteResourceTarget(Consumer<DeleteResourceTargetRequest.Builder> deleteResourceTargetRequest) Deletes the specified resource target.deleteResourceTarget(DeleteResourceTargetRequest deleteResourceTargetRequest) Deletes the specified resource target.getActivationCredentials(Consumer<GetActivationCredentialsRequest.Builder> getActivationCredentialsRequest) Returns activation credentials and image information for the specified appliance.getActivationCredentials(GetActivationCredentialsRequest getActivationCredentialsRequest) Returns activation credentials and image information for the specified appliance.getAgentDownload(Consumer<GetAgentDownloadRequest.Builder> getAgentDownloadRequest) Returns the agent installer download URL and version for the specified appliance and platform.getAgentDownload(GetAgentDownloadRequest getAgentDownloadRequest) Returns the agent installer download URL and version for the specified appliance and platform.getAgentUpgradeSettings(Consumer<GetAgentUpgradeSettingsRequest.Builder> getAgentUpgradeSettingsRequest) Retrieves the current auto-upgrade settings for an appliance.getAgentUpgradeSettings(GetAgentUpgradeSettingsRequest getAgentUpgradeSettingsRequest) Retrieves the current auto-upgrade settings for an appliance.default CompletableFuture<GetApplianceResponse> getAppliance(Consumer<GetApplianceRequest.Builder> getApplianceRequest) Returns the configuration and status of the specified appliance.default CompletableFuture<GetApplianceResponse> getAppliance(GetApplianceRequest getApplianceRequest) Returns the configuration and status of the specified appliance.getApplianceSizingRecommendation(Consumer<GetApplianceSizingRecommendationRequest.Builder> getApplianceSizingRecommendationRequest) Returns appliance sizing recommendations for the specified workloads and projection period.getApplianceSizingRecommendation(GetApplianceSizingRecommendationRequest getApplianceSizingRecommendationRequest) Returns appliance sizing recommendations for the specified workloads and projection period.default CompletableFuture<GetNodeResponse> getNode(Consumer<GetNodeRequest.Builder> getNodeRequest) Returns information about the specified appliance node.default CompletableFuture<GetNodeResponse> getNode(GetNodeRequest getNodeRequest) Returns information about the specified appliance node.getResourceProvider(Consumer<GetResourceProviderRequest.Builder> getResourceProviderRequest) Returns configuration, metadata, and status information for the specified resource provider.getResourceProvider(GetResourceProviderRequest getResourceProviderRequest) Returns configuration, metadata, and status information for the specified resource provider.getResourceTarget(Consumer<GetResourceTargetRequest.Builder> getResourceTargetRequest) Returns configuration, metadata, and status information for the specified resource target.getResourceTarget(GetResourceTargetRequest getResourceTargetRequest) Returns configuration, metadata, and status information for the specified resource target.default CompletableFuture<ListAppliancesResponse> listAppliances(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) Returns a list of appliances.default CompletableFuture<ListAppliancesResponse> listAppliances(ListAppliancesRequest listAppliancesRequest) Returns a list of appliances.default ListAppliancesPublisherlistAppliancesPaginator(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) This is a variant oflistAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.default ListAppliancesPublisherlistAppliancesPaginator(ListAppliancesRequest listAppliancesRequest) This is a variant oflistAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.default CompletableFuture<ListDisksResponse> listDisks(Consumer<ListDisksRequest.Builder> listDisksRequest) Returns a list of disks attached to the specified appliance node.default CompletableFuture<ListDisksResponse> listDisks(ListDisksRequest listDisksRequest) Returns a list of disks attached to the specified appliance node.default ListDisksPublisherlistDisksPaginator(Consumer<ListDisksRequest.Builder> listDisksRequest) This is a variant oflistDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.default ListDisksPublisherlistDisksPaginator(ListDisksRequest listDisksRequest) This is a variant oflistDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.default CompletableFuture<ListNodesResponse> listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest) Returns a list of nodes belonging to the specified appliance.default CompletableFuture<ListNodesResponse> listNodes(ListNodesRequest listNodesRequest) Returns a list of nodes belonging to the specified appliance.default ListNodesPublisherlistNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest) This is a variant oflistNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.default ListNodesPublisherlistNodesPaginator(ListNodesRequest listNodesRequest) This is a variant oflistNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.listResourceProviders(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) Returns a list of resource providers, optionally filtered by appliance or provider type.listResourceProviders(ListResourceProvidersRequest listResourceProvidersRequest) Returns a list of resource providers, optionally filtered by appliance or provider type.default ListResourceProvidersPublisherlistResourceProvidersPaginator(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) This is a variant oflistResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.default ListResourceProvidersPublisherlistResourceProvidersPaginator(ListResourceProvidersRequest listResourceProvidersRequest) This is a variant oflistResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.listResourceTargets(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) Returns a list of resource targets, optionally filtered by resource provider or target type.listResourceTargets(ListResourceTargetsRequest listResourceTargetsRequest) Returns a list of resource targets, optionally filtered by resource provider or target type.default ListResourceTargetsPublisherlistResourceTargetsPaginator(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) This is a variant oflistResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.default ListResourceTargetsPublisherlistResourceTargetsPaginator(ListResourceTargetsRequest listResourceTargetsRequest) This is a variant oflistResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.default CompletableFuture<ListTagsResponse> listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) Returns the tags associated with the specified resource.default CompletableFuture<ListTagsResponse> listTags(ListTagsRequest listTagsRequest) Returns the tags associated with the specified resource.putAgentUpgradeSettings(Consumer<PutAgentUpgradeSettingsRequest.Builder> putAgentUpgradeSettingsRequest) Configures per-appliance daily auto-upgrade settings.putAgentUpgradeSettings(PutAgentUpgradeSettingsRequest putAgentUpgradeSettingsRequest) Configures per-appliance daily auto-upgrade settings.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartResourceProviderAgentUpgrade(Consumer<StartResourceProviderAgentUpgradeRequest.Builder> startResourceProviderAgentUpgradeRequest) Starts an agent upgrade for the specified resource provider.startResourceProviderAgentUpgrade(StartResourceProviderAgentUpgradeRequest startResourceProviderAgentUpgradeRequest) Starts an agent upgrade for the specified resource provider.startResourceProviderMigration(Consumer<StartResourceProviderMigrationRequest.Builder> startResourceProviderMigrationRequest) Starts migration of the specified resource provider to another appliance.startResourceProviderMigration(StartResourceProviderMigrationRequest startResourceProviderMigrationRequest) Starts migration of the specified resource provider to another appliance.startResourceProviderSync(Consumer<StartResourceProviderSyncRequest.Builder> startResourceProviderSyncRequest) Starts synchronization of the resource targets for the specified resource provider.startResourceProviderSync(StartResourceProviderSyncRequest startResourceProviderSyncRequest) Starts synchronization of the resource targets for the specified resource provider.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags on the specified resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or updates tags on the specified resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from a resource.default CompletableFuture<UpdateApplianceResponse> updateAppliance(Consumer<UpdateApplianceRequest.Builder> updateApplianceRequest) Updates the name, configuration, or operation mode of the specified appliance.default CompletableFuture<UpdateApplianceResponse> updateAppliance(UpdateApplianceRequest updateApplianceRequest) Updates the name, configuration, or operation mode of the specified appliance.updateResourceProvider(Consumer<UpdateResourceProviderRequest.Builder> updateResourceProviderRequest) Updates the configuration of the specified resource provider.updateResourceProvider(UpdateResourceProviderRequest updateResourceProviderRequest) Updates the configuration of the specified resource provider.updateResourceTarget(Consumer<UpdateResourceTargetRequest.Builder> updateResourceTargetRequest) Updates the name or backup configuration of the specified resource target.updateResourceTarget(UpdateResourceTargetRequest updateResourceTargetRequest) Updates the name or backup configuration of the specified resource target.default CompletableFuture<VerifyNodesResponse> verifyNodes(Consumer<VerifyNodesRequest.Builder> verifyNodesRequest) Verifies the specified nodes, which must have a status ofPENDING_VERIFICATION, so that they can be added to the appliance.default CompletableFuture<VerifyNodesResponse> verifyNodes(VerifyNodesRequest verifyNodesRequest) Verifies the specified nodes, which must have a status ofPENDING_VERIFICATION, so that they can be added to the appliance.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
-
associateDisk
default CompletableFuture<AssociateDiskResponse> associateDisk(AssociateDiskRequest associateDiskRequest) Associates a disk with the specified appliance node for data or metadata storage.
- Parameters:
associateDiskRequest-- Returns:
- A Java Future containing the result of the AssociateDisk 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateDisk
default CompletableFuture<AssociateDiskResponse> associateDisk(Consumer<AssociateDiskRequest.Builder> associateDiskRequest) Associates a disk with the specified appliance node for data or metadata storage.
This is a convenience which creates an instance of the
AssociateDiskRequest.Builderavoiding the need to create one manually viaAssociateDiskRequest.builder()- Parameters:
associateDiskRequest- AConsumerthat will call methods onAssociateDiskRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateDisk 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppliance
default CompletableFuture<CreateApplianceResponse> createAppliance(CreateApplianceRequest createApplianceRequest) Creates an appliance with the specified network configuration and returns its activation information.
- Parameters:
createApplianceRequest-- Returns:
- A Java Future containing the result of the CreateAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppliance
default CompletableFuture<CreateApplianceResponse> createAppliance(Consumer<CreateApplianceRequest.Builder> createApplianceRequest) Creates an appliance with the specified network configuration and returns its activation information.
This is a convenience which creates an instance of the
CreateApplianceRequest.Builderavoiding the need to create one manually viaCreateApplianceRequest.builder()- Parameters:
createApplianceRequest- AConsumerthat will call methods onCreateApplianceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceProvider
default CompletableFuture<CreateResourceProviderResponse> createResourceProvider(CreateResourceProviderRequest createResourceProviderRequest) Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.
- Parameters:
createResourceProviderRequest-- Returns:
- A Java Future containing the result of the CreateResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceProvider
default CompletableFuture<CreateResourceProviderResponse> createResourceProvider(Consumer<CreateResourceProviderRequest.Builder> createResourceProviderRequest) Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.
This is a convenience which creates an instance of the
CreateResourceProviderRequest.Builderavoiding the need to create one manually viaCreateResourceProviderRequest.builder()- Parameters:
createResourceProviderRequest- AConsumerthat will call methods onCreateResourceProviderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppliance
default CompletableFuture<DeleteApplianceResponse> deleteAppliance(DeleteApplianceRequest deleteApplianceRequest) Deletes the specified appliance.
- Parameters:
deleteApplianceRequest-- Returns:
- A Java Future containing the result of the DeleteAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppliance
default CompletableFuture<DeleteApplianceResponse> deleteAppliance(Consumer<DeleteApplianceRequest.Builder> deleteApplianceRequest) Deletes the specified appliance.
This is a convenience which creates an instance of the
DeleteApplianceRequest.Builderavoiding the need to create one manually viaDeleteApplianceRequest.builder()- Parameters:
deleteApplianceRequest- AConsumerthat will call methods onDeleteApplianceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNode
Deletes the specified node from an appliance.
- Parameters:
deleteNodeRequest-- Returns:
- A Java Future containing the result of the DeleteNode 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNode
default CompletableFuture<DeleteNodeResponse> deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest) Deletes the specified node from an appliance.
This is a convenience which creates an instance of the
DeleteNodeRequest.Builderavoiding the need to create one manually viaDeleteNodeRequest.builder()- Parameters:
deleteNodeRequest- AConsumerthat will call methods onDeleteNodeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteNode 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceProvider
default CompletableFuture<DeleteResourceProviderResponse> deleteResourceProvider(DeleteResourceProviderRequest deleteResourceProviderRequest) Deletes the specified resource provider.
- Parameters:
deleteResourceProviderRequest-- Returns:
- A Java Future containing the result of the DeleteResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceProvider
default CompletableFuture<DeleteResourceProviderResponse> deleteResourceProvider(Consumer<DeleteResourceProviderRequest.Builder> deleteResourceProviderRequest) Deletes the specified resource provider.
This is a convenience which creates an instance of the
DeleteResourceProviderRequest.Builderavoiding the need to create one manually viaDeleteResourceProviderRequest.builder()- Parameters:
deleteResourceProviderRequest- AConsumerthat will call methods onDeleteResourceProviderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceTarget
default CompletableFuture<DeleteResourceTargetResponse> deleteResourceTarget(DeleteResourceTargetRequest deleteResourceTargetRequest) Deletes the specified resource target.
- Parameters:
deleteResourceTargetRequest-- Returns:
- A Java Future containing the result of the DeleteResourceTarget 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceTarget
default CompletableFuture<DeleteResourceTargetResponse> deleteResourceTarget(Consumer<DeleteResourceTargetRequest.Builder> deleteResourceTargetRequest) Deletes the specified resource target.
This is a convenience which creates an instance of the
DeleteResourceTargetRequest.Builderavoiding the need to create one manually viaDeleteResourceTargetRequest.builder()- Parameters:
deleteResourceTargetRequest- AConsumerthat will call methods onDeleteResourceTargetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteResourceTarget 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getActivationCredentials
default CompletableFuture<GetActivationCredentialsResponse> getActivationCredentials(GetActivationCredentialsRequest getActivationCredentialsRequest) Returns activation credentials and image information for the specified appliance.
- Parameters:
getActivationCredentialsRequest-- Returns:
- A Java Future containing the result of the GetActivationCredentials 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getActivationCredentials
default CompletableFuture<GetActivationCredentialsResponse> getActivationCredentials(Consumer<GetActivationCredentialsRequest.Builder> getActivationCredentialsRequest) Returns activation credentials and image information for the specified appliance.
This is a convenience which creates an instance of the
GetActivationCredentialsRequest.Builderavoiding the need to create one manually viaGetActivationCredentialsRequest.builder()- Parameters:
getActivationCredentialsRequest- AConsumerthat will call methods onGetActivationCredentialsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetActivationCredentials 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgentDownload
default CompletableFuture<GetAgentDownloadResponse> getAgentDownload(GetAgentDownloadRequest getAgentDownloadRequest) Returns the agent installer download URL and version for the specified appliance and platform.
- Parameters:
getAgentDownloadRequest-- Returns:
- A Java Future containing the result of the GetAgentDownload 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgentDownload
default CompletableFuture<GetAgentDownloadResponse> getAgentDownload(Consumer<GetAgentDownloadRequest.Builder> getAgentDownloadRequest) Returns the agent installer download URL and version for the specified appliance and platform.
This is a convenience which creates an instance of the
GetAgentDownloadRequest.Builderavoiding the need to create one manually viaGetAgentDownloadRequest.builder()- Parameters:
getAgentDownloadRequest- AConsumerthat will call methods onGetAgentDownloadRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAgentDownload 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgentUpgradeSettings
default CompletableFuture<GetAgentUpgradeSettingsResponse> getAgentUpgradeSettings(GetAgentUpgradeSettingsRequest getAgentUpgradeSettingsRequest) Retrieves the current auto-upgrade settings for an appliance.
- Parameters:
getAgentUpgradeSettingsRequest-- Returns:
- A Java Future containing the result of the GetAgentUpgradeSettings 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgentUpgradeSettings
default CompletableFuture<GetAgentUpgradeSettingsResponse> getAgentUpgradeSettings(Consumer<GetAgentUpgradeSettingsRequest.Builder> getAgentUpgradeSettingsRequest) Retrieves the current auto-upgrade settings for an appliance.
This is a convenience which creates an instance of the
GetAgentUpgradeSettingsRequest.Builderavoiding the need to create one manually viaGetAgentUpgradeSettingsRequest.builder()- Parameters:
getAgentUpgradeSettingsRequest- AConsumerthat will call methods onGetAgentUpgradeSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAgentUpgradeSettings 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAppliance
default CompletableFuture<GetApplianceResponse> getAppliance(GetApplianceRequest getApplianceRequest) Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the appliance, use ListNodes.
- Parameters:
getApplianceRequest-- Returns:
- A Java Future containing the result of the GetAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAppliance
default CompletableFuture<GetApplianceResponse> getAppliance(Consumer<GetApplianceRequest.Builder> getApplianceRequest) Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the appliance, use ListNodes.
This is a convenience which creates an instance of the
GetApplianceRequest.Builderavoiding the need to create one manually viaGetApplianceRequest.builder()- Parameters:
getApplianceRequest- AConsumerthat will call methods onGetApplianceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplianceSizingRecommendation
default CompletableFuture<GetApplianceSizingRecommendationResponse> getApplianceSizingRecommendation(GetApplianceSizingRecommendationRequest getApplianceSizingRecommendationRequest) Returns appliance sizing recommendations for the specified workloads and projection period.
- Parameters:
getApplianceSizingRecommendationRequest-- Returns:
- A Java Future containing the result of the GetApplianceSizingRecommendation 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplianceSizingRecommendation
default CompletableFuture<GetApplianceSizingRecommendationResponse> getApplianceSizingRecommendation(Consumer<GetApplianceSizingRecommendationRequest.Builder> getApplianceSizingRecommendationRequest) Returns appliance sizing recommendations for the specified workloads and projection period.
This is a convenience which creates an instance of the
GetApplianceSizingRecommendationRequest.Builderavoiding the need to create one manually viaGetApplianceSizingRecommendationRequest.builder()- Parameters:
getApplianceSizingRecommendationRequest- AConsumerthat will call methods onGetApplianceSizingRecommendationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetApplianceSizingRecommendation 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNode
Returns information about the specified appliance node.
- Parameters:
getNodeRequest-- Returns:
- A Java Future containing the result of the GetNode 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNode
Returns information about the specified appliance node.
This is a convenience which creates an instance of the
GetNodeRequest.Builderavoiding the need to create one manually viaGetNodeRequest.builder()- Parameters:
getNodeRequest- AConsumerthat will call methods onGetNodeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetNode 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceProvider
default CompletableFuture<GetResourceProviderResponse> getResourceProvider(GetResourceProviderRequest getResourceProviderRequest) Returns configuration, metadata, and status information for the specified resource provider.
- Parameters:
getResourceProviderRequest-- Returns:
- A Java Future containing the result of the GetResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceProvider
default CompletableFuture<GetResourceProviderResponse> getResourceProvider(Consumer<GetResourceProviderRequest.Builder> getResourceProviderRequest) Returns configuration, metadata, and status information for the specified resource provider.
This is a convenience which creates an instance of the
GetResourceProviderRequest.Builderavoiding the need to create one manually viaGetResourceProviderRequest.builder()- Parameters:
getResourceProviderRequest- AConsumerthat will call methods onGetResourceProviderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceTarget
default CompletableFuture<GetResourceTargetResponse> getResourceTarget(GetResourceTargetRequest getResourceTargetRequest) Returns configuration, metadata, and status information for the specified resource target.
- Parameters:
getResourceTargetRequest-- Returns:
- A Java Future containing the result of the GetResourceTarget 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceTarget
default CompletableFuture<GetResourceTargetResponse> getResourceTarget(Consumer<GetResourceTargetRequest.Builder> getResourceTargetRequest) Returns configuration, metadata, and status information for the specified resource target.
This is a convenience which creates an instance of the
GetResourceTargetRequest.Builderavoiding the need to create one manually viaGetResourceTargetRequest.builder()- Parameters:
getResourceTargetRequest- AConsumerthat will call methods onGetResourceTargetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourceTarget 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppliances
default CompletableFuture<ListAppliancesResponse> listAppliances(ListAppliancesRequest listAppliancesRequest) Returns a list of appliances. Use the pagination token to retrieve additional results.
- Parameters:
listAppliancesRequest-- Returns:
- A Java Future containing the result of the ListAppliances 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppliances
default CompletableFuture<ListAppliancesResponse> listAppliances(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) Returns a list of appliances. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListAppliancesRequest.Builderavoiding the need to create one manually viaListAppliancesRequest.builder()- Parameters:
listAppliancesRequest- AConsumerthat will call methods onListAppliancesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAppliances 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppliancesPaginator
default ListAppliancesPublisher listAppliancesPaginator(ListAppliancesRequest listAppliancesRequest) This is a variant of
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)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.backupexternal.paginators.ListAppliancesPublisher publisher = client.listAppliancesPaginator(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.backupexternal.paginators.ListAppliancesPublisher publisher = client.listAppliancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListAppliancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListAppliancesResponse 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
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.- Parameters:
listAppliancesRequest-- 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppliancesPaginator
default ListAppliancesPublisher listAppliancesPaginator(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) This is a variant of
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)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.backupexternal.paginators.ListAppliancesPublisher publisher = client.listAppliancesPaginator(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.backupexternal.paginators.ListAppliancesPublisher publisher = client.listAppliancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListAppliancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListAppliancesResponse 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
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.
This is a convenience which creates an instance of the
ListAppliancesRequest.Builderavoiding the need to create one manually viaListAppliancesRequest.builder()- Parameters:
listAppliancesRequest- AConsumerthat will call methods onListAppliancesRequest.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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDisks
Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
- Parameters:
listDisksRequest-- Returns:
- A Java Future containing the result of the ListDisks 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDisks
default CompletableFuture<ListDisksResponse> listDisks(Consumer<ListDisksRequest.Builder> listDisksRequest) Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListDisksRequest.Builderavoiding the need to create one manually viaListDisksRequest.builder()- Parameters:
listDisksRequest- AConsumerthat will call methods onListDisksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDisks 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDisksPaginator
This is a variant of
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)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.backupexternal.paginators.ListDisksPublisher publisher = client.listDisksPaginator(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.backupexternal.paginators.ListDisksPublisher publisher = client.listDisksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListDisksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListDisksResponse 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
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.- Parameters:
listDisksRequest-- 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDisksPaginator
This is a variant of
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)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.backupexternal.paginators.ListDisksPublisher publisher = client.listDisksPaginator(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.backupexternal.paginators.ListDisksPublisher publisher = client.listDisksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListDisksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListDisksResponse 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
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.
This is a convenience which creates an instance of the
ListDisksRequest.Builderavoiding the need to create one manually viaListDisksRequest.builder()- Parameters:
listDisksRequest- AConsumerthat will call methods onListDisksRequest.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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNodes
Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve additional results.
- Parameters:
listNodesRequest-- Returns:
- A Java Future containing the result of the ListNodes 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNodes
default CompletableFuture<ListNodesResponse> listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest) Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListNodesRequest.Builderavoiding the need to create one manually viaListNodesRequest.builder()- Parameters:
listNodesRequest- AConsumerthat will call methods onListNodesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNodes 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNodesPaginator
This is a variant of
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)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.backupexternal.paginators.ListNodesPublisher publisher = client.listNodesPaginator(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.backupexternal.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListNodesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListNodesResponse 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
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.- Parameters:
listNodesRequest-- 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNodesPaginator
This is a variant of
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)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.backupexternal.paginators.ListNodesPublisher publisher = client.listNodesPaginator(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.backupexternal.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListNodesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListNodesResponse 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
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.
This is a convenience which creates an instance of the
ListNodesRequest.Builderavoiding the need to create one manually viaListNodesRequest.builder()- Parameters:
listNodesRequest- AConsumerthat will call methods onListNodesRequest.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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceProviders
default CompletableFuture<ListResourceProvidersResponse> listResourceProviders(ListResourceProvidersRequest listResourceProvidersRequest) Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
- Parameters:
listResourceProvidersRequest-- Returns:
- A Java Future containing the result of the ListResourceProviders 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceProviders
default CompletableFuture<ListResourceProvidersResponse> listResourceProviders(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListResourceProvidersRequest.Builderavoiding the need to create one manually viaListResourceProvidersRequest.builder()- Parameters:
listResourceProvidersRequest- AConsumerthat will call methods onListResourceProvidersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceProviders 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceProvidersPaginator
default ListResourceProvidersPublisher listResourceProvidersPaginator(ListResourceProvidersRequest listResourceProvidersRequest) This is a variant of
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)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.backupexternal.paginators.ListResourceProvidersPublisher publisher = client.listResourceProvidersPaginator(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.backupexternal.paginators.ListResourceProvidersPublisher publisher = client.listResourceProvidersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersResponse 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
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.- Parameters:
listResourceProvidersRequest-- 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceProvidersPaginator
default ListResourceProvidersPublisher listResourceProvidersPaginator(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) This is a variant of
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)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.backupexternal.paginators.ListResourceProvidersPublisher publisher = client.listResourceProvidersPaginator(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.backupexternal.paginators.ListResourceProvidersPublisher publisher = client.listResourceProvidersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersResponse 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
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.
This is a convenience which creates an instance of the
ListResourceProvidersRequest.Builderavoiding the need to create one manually viaListResourceProvidersRequest.builder()- Parameters:
listResourceProvidersRequest- AConsumerthat will call methods onListResourceProvidersRequest.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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTargets
default CompletableFuture<ListResourceTargetsResponse> listResourceTargets(ListResourceTargetsRequest listResourceTargetsRequest) Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.
- Parameters:
listResourceTargetsRequest-- Returns:
- A Java Future containing the result of the ListResourceTargets 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTargets
default CompletableFuture<ListResourceTargetsResponse> listResourceTargets(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListResourceTargetsRequest.Builderavoiding the need to create one manually viaListResourceTargetsRequest.builder()- Parameters:
listResourceTargetsRequest- AConsumerthat will call methods onListResourceTargetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceTargets 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTargetsPaginator
default ListResourceTargetsPublisher listResourceTargetsPaginator(ListResourceTargetsRequest listResourceTargetsRequest) This is a variant of
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)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.backupexternal.paginators.ListResourceTargetsPublisher publisher = client.listResourceTargetsPaginator(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.backupexternal.paginators.ListResourceTargetsPublisher publisher = client.listResourceTargetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsResponse 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
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.- Parameters:
listResourceTargetsRequest-- 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTargetsPaginator
default ListResourceTargetsPublisher listResourceTargetsPaginator(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) This is a variant of
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)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.backupexternal.paginators.ListResourceTargetsPublisher publisher = client.listResourceTargetsPaginator(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.backupexternal.paginators.ListResourceTargetsPublisher publisher = client.listResourceTargetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsResponse 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
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.
This is a convenience which creates an instance of the
ListResourceTargetsRequest.Builderavoiding the need to create one manually viaListResourceTargetsRequest.builder()- Parameters:
listResourceTargetsRequest- AConsumerthat will call methods onListResourceTargetsRequest.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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTags
Returns the tags associated with the specified resource.
- 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException 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 associated with the specified resource.
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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAgentUpgradeSettings
default CompletableFuture<PutAgentUpgradeSettingsResponse> putAgentUpgradeSettings(PutAgentUpgradeSettingsRequest putAgentUpgradeSettingsRequest) Configures per-appliance daily auto-upgrade settings.
When
EnableAutoUpgradeis true,StartHourUtcandEndHourUtcare required and define the daily UTC window during which the appliance may be upgraded automatically. The upgrade fires once daily at a random time within the configured window.Validation rules:
- If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
- If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
- Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
- Window must be ≥1 hour (StartHourUtc != EndHourUtc).
- Parameters:
putAgentUpgradeSettingsRequest-- Returns:
- A Java Future containing the result of the PutAgentUpgradeSettings 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAgentUpgradeSettings
default CompletableFuture<PutAgentUpgradeSettingsResponse> putAgentUpgradeSettings(Consumer<PutAgentUpgradeSettingsRequest.Builder> putAgentUpgradeSettingsRequest) Configures per-appliance daily auto-upgrade settings.
When
EnableAutoUpgradeis true,StartHourUtcandEndHourUtcare required and define the daily UTC window during which the appliance may be upgraded automatically. The upgrade fires once daily at a random time within the configured window.Validation rules:
- If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
- If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
- Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
- Window must be ≥1 hour (StartHourUtc != EndHourUtc).
This is a convenience which creates an instance of the
PutAgentUpgradeSettingsRequest.Builderavoiding the need to create one manually viaPutAgentUpgradeSettingsRequest.builder()- Parameters:
putAgentUpgradeSettingsRequest- AConsumerthat will call methods onPutAgentUpgradeSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutAgentUpgradeSettings 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceProviderAgentUpgrade
default CompletableFuture<StartResourceProviderAgentUpgradeResponse> startResourceProviderAgentUpgrade(StartResourceProviderAgentUpgradeRequest startResourceProviderAgentUpgradeRequest) Starts an agent upgrade for the specified resource provider. Returns the date and time that the upgrade started.
- Parameters:
startResourceProviderAgentUpgradeRequest-- Returns:
- A Java Future containing the result of the StartResourceProviderAgentUpgrade 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceProviderAgentUpgrade
default CompletableFuture<StartResourceProviderAgentUpgradeResponse> startResourceProviderAgentUpgrade(Consumer<StartResourceProviderAgentUpgradeRequest.Builder> startResourceProviderAgentUpgradeRequest) Starts an agent upgrade for the specified resource provider. Returns the date and time that the upgrade started.
This is a convenience which creates an instance of the
StartResourceProviderAgentUpgradeRequest.Builderavoiding the need to create one manually viaStartResourceProviderAgentUpgradeRequest.builder()- Parameters:
startResourceProviderAgentUpgradeRequest- AConsumerthat will call methods onStartResourceProviderAgentUpgradeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartResourceProviderAgentUpgrade 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceProviderMigration
default CompletableFuture<StartResourceProviderMigrationResponse> startResourceProviderMigration(StartResourceProviderMigrationRequest startResourceProviderMigrationRequest) Starts migration of the specified resource provider to another appliance. Returns the date and time that migration started.
- Parameters:
startResourceProviderMigrationRequest-- Returns:
- A Java Future containing the result of the StartResourceProviderMigration 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceProviderMigration
default CompletableFuture<StartResourceProviderMigrationResponse> startResourceProviderMigration(Consumer<StartResourceProviderMigrationRequest.Builder> startResourceProviderMigrationRequest) Starts migration of the specified resource provider to another appliance. Returns the date and time that migration started.
This is a convenience which creates an instance of the
StartResourceProviderMigrationRequest.Builderavoiding the need to create one manually viaStartResourceProviderMigrationRequest.builder()- Parameters:
startResourceProviderMigrationRequest- AConsumerthat will call methods onStartResourceProviderMigrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartResourceProviderMigration 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceProviderSync
default CompletableFuture<StartResourceProviderSyncResponse> startResourceProviderSync(StartResourceProviderSyncRequest startResourceProviderSyncRequest) Starts synchronization of the resource targets for the specified resource provider. Returns the date and time that synchronization started.
- Parameters:
startResourceProviderSyncRequest-- Returns:
- A Java Future containing the result of the StartResourceProviderSync 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceProviderSync
default CompletableFuture<StartResourceProviderSyncResponse> startResourceProviderSync(Consumer<StartResourceProviderSyncRequest.Builder> startResourceProviderSyncRequest) Starts synchronization of the resource targets for the specified resource provider. Returns the date and time that synchronization started.
This is a convenience which creates an instance of the
StartResourceProviderSyncRequest.Builderavoiding the need to create one manually viaStartResourceProviderSyncRequest.builder()- Parameters:
startResourceProviderSyncRequest- AConsumerthat will call methods onStartResourceProviderSyncRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartResourceProviderSync 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or updates tags on the specified 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException 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) Adds or updates tags on the specified 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException 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 the specified tags from a resource.
- 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException 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 the specified tags from a resource.
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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppliance
default CompletableFuture<UpdateApplianceResponse> updateAppliance(UpdateApplianceRequest updateApplianceRequest) Updates the name, configuration, or operation mode of the specified appliance.
- Parameters:
updateApplianceRequest-- Returns:
- A Java Future containing the result of the UpdateAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppliance
default CompletableFuture<UpdateApplianceResponse> updateAppliance(Consumer<UpdateApplianceRequest.Builder> updateApplianceRequest) Updates the name, configuration, or operation mode of the specified appliance.
This is a convenience which creates an instance of the
UpdateApplianceRequest.Builderavoiding the need to create one manually viaUpdateApplianceRequest.builder()- Parameters:
updateApplianceRequest- AConsumerthat will call methods onUpdateApplianceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAppliance 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceProvider
default CompletableFuture<UpdateResourceProviderResponse> updateResourceProvider(UpdateResourceProviderRequest updateResourceProviderRequest) Updates the configuration of the specified resource provider.
- Parameters:
updateResourceProviderRequest-- Returns:
- A Java Future containing the result of the UpdateResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceProvider
default CompletableFuture<UpdateResourceProviderResponse> updateResourceProvider(Consumer<UpdateResourceProviderRequest.Builder> updateResourceProviderRequest) Updates the configuration of the specified resource provider.
This is a convenience which creates an instance of the
UpdateResourceProviderRequest.Builderavoiding the need to create one manually viaUpdateResourceProviderRequest.builder()- Parameters:
updateResourceProviderRequest- AConsumerthat will call methods onUpdateResourceProviderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateResourceProvider 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceTarget
default CompletableFuture<UpdateResourceTargetResponse> updateResourceTarget(UpdateResourceTargetRequest updateResourceTargetRequest) Updates the name or backup configuration of the specified resource target.
- Parameters:
updateResourceTargetRequest-- Returns:
- A Java Future containing the result of the UpdateResourceTarget 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceTarget
default CompletableFuture<UpdateResourceTargetResponse> updateResourceTarget(Consumer<UpdateResourceTargetRequest.Builder> updateResourceTargetRequest) Updates the name or backup configuration of the specified resource target.
This is a convenience which creates an instance of the
UpdateResourceTargetRequest.Builderavoiding the need to create one manually viaUpdateResourceTargetRequest.builder()- Parameters:
updateResourceTargetRequest- AConsumerthat will call methods onUpdateResourceTargetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateResourceTarget 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
verifyNodes
Verifies the specified nodes, which must have a status of
PENDING_VERIFICATION, so that they can be added to the appliance. Returns the updated management status of each node.- Parameters:
verifyNodesRequest-- Returns:
- A Java Future containing the result of the VerifyNodes 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
verifyNodes
default CompletableFuture<VerifyNodesResponse> verifyNodes(Consumer<VerifyNodesRequest.Builder> verifyNodesRequest) Verifies the specified nodes, which must have a status of
PENDING_VERIFICATION, so that they can be added to the appliance. Returns the updated management status of each node.
This is a convenience which creates an instance of the
VerifyNodesRequest.Builderavoiding the need to create one manually viaVerifyNodesRequest.builder()- Parameters:
verifyNodesRequest- AConsumerthat will call methods onVerifyNodesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the VerifyNodes 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.- ThrottlingException The request was denied because the request rate is too high.
- AccessDeniedException The request was denied because you do not have permission to perform the requested operation.
- ResourceNotFoundException The specified resource was not found.
- ConflictException The request conflicts with the current state of the specified resource.
- ValidationException The request contains invalid parameters.
- InternalServerException The request failed because of an internal server error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BackupExternalException 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 aBackupExternalAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBackupExternalAsyncClient.
-