Interface BackupExternalAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface BackupExternalAsyncClient extends AwsClient
Service client for accessing AWS Backup External asynchronously. This can be created using the static 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 Details

  • 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 invoke Throwable.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.Builder avoiding the need to create one manually via AssociateDiskRequest.builder()

      Parameters:
      associateDiskRequest - A Consumer that will call methods on AssociateDiskRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CreateApplianceRequest.builder()

      Parameters:
      createApplianceRequest - A Consumer that will call methods on CreateApplianceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CreateResourceProviderRequest.builder()

      Parameters:
      createResourceProviderRequest - A Consumer that will call methods on CreateResourceProviderRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DeleteApplianceRequest.builder()

      Parameters:
      deleteApplianceRequest - A Consumer that will call methods on DeleteApplianceRequest.Builder to 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 invoke Throwable.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(DeleteNodeRequest deleteNodeRequest)

      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 invoke Throwable.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.Builder avoiding the need to create one manually via DeleteNodeRequest.builder()

      Parameters:
      deleteNodeRequest - A Consumer that will call methods on DeleteNodeRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DeleteResourceProviderRequest.builder()

      Parameters:
      deleteResourceProviderRequest - A Consumer that will call methods on DeleteResourceProviderRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DeleteResourceTargetRequest.builder()

      Parameters:
      deleteResourceTargetRequest - A Consumer that will call methods on DeleteResourceTargetRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetActivationCredentialsRequest.builder()

      Parameters:
      getActivationCredentialsRequest - A Consumer that will call methods on GetActivationCredentialsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetAgentDownloadRequest.builder()

      Parameters:
      getAgentDownloadRequest - A Consumer that will call methods on GetAgentDownloadRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetAgentUpgradeSettingsRequest.builder()

      Parameters:
      getAgentUpgradeSettingsRequest - A Consumer that will call methods on GetAgentUpgradeSettingsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetApplianceRequest.builder()

      Parameters:
      getApplianceRequest - A Consumer that will call methods on GetApplianceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetApplianceSizingRecommendationRequest.builder()

      Parameters:
      getApplianceSizingRecommendationRequest - A Consumer that will call methods on GetApplianceSizingRecommendationRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<GetNodeResponse> getNode(GetNodeRequest getNodeRequest)

      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 invoke Throwable.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.Builder avoiding the need to create one manually via GetNodeRequest.builder()

      Parameters:
      getNodeRequest - A Consumer that will call methods on GetNodeRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetResourceProviderRequest.builder()

      Parameters:
      getResourceProviderRequest - A Consumer that will call methods on GetResourceProviderRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetResourceTargetRequest.builder()

      Parameters:
      getResourceTargetRequest - A Consumer that will call methods on GetResourceTargetRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListAppliancesRequest.builder()

      Parameters:
      listAppliancesRequest - A Consumer that will call methods on ListAppliancesRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListAppliancesPublisher publisher = client.listAppliancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListAppliancesPublisher publisher = client.listAppliancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListAppliancesRequest.builder()

      Parameters:
      listAppliancesRequest - A Consumer that will call methods on ListAppliancesRequest.Builder to 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 invoke Throwable.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(ListDisksRequest listDisksRequest)

      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 invoke Throwable.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.Builder avoiding the need to create one manually via ListDisksRequest.builder()

      Parameters:
      listDisksRequest - A Consumer that will call methods on ListDisksRequest.Builder to 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 invoke Throwable.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

      default ListDisksPublisher listDisksPaginator(ListDisksRequest listDisksRequest)

      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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListDisksPublisher publisher = client.listDisksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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

      default ListDisksPublisher listDisksPaginator(Consumer<ListDisksRequest.Builder> listDisksRequest)

      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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListDisksPublisher publisher = client.listDisksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListDisksRequest.builder()

      Parameters:
      listDisksRequest - A Consumer that will call methods on ListDisksRequest.Builder to 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 invoke Throwable.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(ListNodesRequest listNodesRequest)

      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 invoke Throwable.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.Builder avoiding the need to create one manually via ListNodesRequest.builder()

      Parameters:
      listNodesRequest - A Consumer that will call methods on ListNodesRequest.Builder to 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 invoke Throwable.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

      default ListNodesPublisher listNodesPaginator(ListNodesRequest listNodesRequest)

      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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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

      default ListNodesPublisher listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest)

      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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListNodesRequest.builder()

      Parameters:
      listNodesRequest - A Consumer that will call methods on ListNodesRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListResourceProvidersRequest.builder()

      Parameters:
      listResourceProvidersRequest - A Consumer that will call methods on ListResourceProvidersRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersPublisher publisher = client.listResourceProvidersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersPublisher publisher = client.listResourceProvidersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListResourceProvidersRequest.builder()

      Parameters:
      listResourceProvidersRequest - A Consumer that will call methods on ListResourceProvidersRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListResourceTargetsRequest.builder()

      Parameters:
      listResourceTargetsRequest - A Consumer that will call methods on ListResourceTargetsRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsPublisher publisher = client.listResourceTargetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsPublisher publisher = client.listResourceTargetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListResourceTargetsRequest.builder()

      Parameters:
      listResourceTargetsRequest - A Consumer that will call methods on ListResourceTargetsRequest.Builder to 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 invoke Throwable.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(ListTagsRequest listTagsRequest)

      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 invoke Throwable.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.


      This is a convenience which creates an instance of the ListTagsRequest.Builder avoiding the need to create one manually via ListTagsRequest.builder()

      Parameters:
      listTagsRequest - A Consumer that will call methods on ListTagsRequest.Builder to 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 invoke Throwable.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 EnableAutoUpgrade is true, StartHourUtc and EndHourUtc are 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 invoke Throwable.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 EnableAutoUpgrade is true, StartHourUtc and EndHourUtc are 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.Builder avoiding the need to create one manually via PutAgentUpgradeSettingsRequest.builder()

      Parameters:
      putAgentUpgradeSettingsRequest - A Consumer that will call methods on PutAgentUpgradeSettingsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via StartResourceProviderAgentUpgradeRequest.builder()

      Parameters:
      startResourceProviderAgentUpgradeRequest - A Consumer that will call methods on StartResourceProviderAgentUpgradeRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via StartResourceProviderMigrationRequest.builder()

      Parameters:
      startResourceProviderMigrationRequest - A Consumer that will call methods on StartResourceProviderMigrationRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via StartResourceProviderSyncRequest.builder()

      Parameters:
      startResourceProviderSyncRequest - A Consumer that will call methods on StartResourceProviderSyncRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      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 invoke Throwable.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.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateApplianceRequest.builder()

      Parameters:
      updateApplianceRequest - A Consumer that will call methods on UpdateApplianceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateResourceProviderRequest.builder()

      Parameters:
      updateResourceProviderRequest - A Consumer that will call methods on UpdateResourceProviderRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateResourceTargetRequest.builder()

      Parameters:
      updateResourceTargetRequest - A Consumer that will call methods on UpdateResourceTargetRequest.Builder to 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 invoke Throwable.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(VerifyNodesRequest 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.

      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 invoke Throwable.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.Builder avoiding the need to create one manually via VerifyNodesRequest.builder()

      Parameters:
      verifyNodesRequest - A Consumer that will call methods on VerifyNodesRequest.Builder to 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 invoke Throwable.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

      default BackupExternalServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static BackupExternalAsyncClient create()
      Create a BackupExternalAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a BackupExternalAsyncClient.