Interface Route53RecoveryReadinessAsyncClient

    • Method Detail

      • createCell

        default CompletableFuture<CreateCellResponse> createCell​(CreateCellRequest createCellRequest)

        Creates a cell in an account.

        Parameters:
        createCellRequest -
        Returns:
        A Java Future containing the result of the CreateCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCell

        default CompletableFuture<CreateCellResponse> createCell​(Consumer<CreateCellRequest.Builder> createCellRequest)

        Creates a cell in an account.


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

        Parameters:
        createCellRequest - A Consumer that will call methods on CreateCellRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCrossAccountAuthorization

        default CompletableFuture<CreateCrossAccountAuthorizationResponse> createCrossAccountAuthorization​(CreateCrossAccountAuthorizationRequest createCrossAccountAuthorizationRequest)

        Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.

        Parameters:
        createCrossAccountAuthorizationRequest -
        Returns:
        A Java Future containing the result of the CreateCrossAccountAuthorization operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCrossAccountAuthorization

        default CompletableFuture<CreateCrossAccountAuthorizationResponse> createCrossAccountAuthorization​(Consumer<CreateCrossAccountAuthorizationRequest.Builder> createCrossAccountAuthorizationRequest)

        Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.


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

        Parameters:
        createCrossAccountAuthorizationRequest - A Consumer that will call methods on CreateCrossAccountAuthorizationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateCrossAccountAuthorization operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReadinessCheck

        default CompletableFuture<CreateReadinessCheckResponse> createReadinessCheck​(CreateReadinessCheckRequest createReadinessCheckRequest)

        Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check.

        Parameters:
        createReadinessCheckRequest -
        Returns:
        A Java Future containing the result of the CreateReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReadinessCheck

        default CompletableFuture<CreateReadinessCheckResponse> createReadinessCheck​(Consumer<CreateReadinessCheckRequest.Builder> createReadinessCheckRequest)

        Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check.


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

        Parameters:
        createReadinessCheckRequest - A Consumer that will call methods on CreateReadinessCheckRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createRecoveryGroup

        default CompletableFuture<CreateRecoveryGroupResponse> createRecoveryGroup​(CreateRecoveryGroupRequest createRecoveryGroupRequest)

        Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.

        Parameters:
        createRecoveryGroupRequest -
        Returns:
        A Java Future containing the result of the CreateRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createRecoveryGroup

        default CompletableFuture<CreateRecoveryGroupResponse> createRecoveryGroup​(Consumer<CreateRecoveryGroupRequest.Builder> createRecoveryGroupRequest)

        Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.


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

        Parameters:
        createRecoveryGroupRequest - A Consumer that will call methods on CreateRecoveryGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createResourceSet

        default CompletableFuture<CreateResourceSetResponse> createResourceSet​(CreateResourceSetRequest createResourceSetRequest)

        Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.

        Parameters:
        createResourceSetRequest -
        Returns:
        A Java Future containing the result of the CreateResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createResourceSet

        default CompletableFuture<CreateResourceSetResponse> createResourceSet​(Consumer<CreateResourceSetRequest.Builder> createResourceSetRequest)

        Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.


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

        Parameters:
        createResourceSetRequest - A Consumer that will call methods on CreateResourceSetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • ConflictException 409 response - Conflict exception. You might be using a predefined variable.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCell

        default CompletableFuture<DeleteCellResponse> deleteCell​(DeleteCellRequest deleteCellRequest)

        Delete a cell. When successful, the response code is 204, with no response body.

        Parameters:
        deleteCellRequest -
        Returns:
        A Java Future containing the result of the DeleteCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCell

        default CompletableFuture<DeleteCellResponse> deleteCell​(Consumer<DeleteCellRequest.Builder> deleteCellRequest)

        Delete a cell. When successful, the response code is 204, with no response body.


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

        Parameters:
        deleteCellRequest - A Consumer that will call methods on DeleteCellRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCrossAccountAuthorization

        default CompletableFuture<DeleteCrossAccountAuthorizationResponse> deleteCrossAccountAuthorization​(DeleteCrossAccountAuthorizationRequest deleteCrossAccountAuthorizationRequest)

        Deletes cross account readiness authorization.

        Parameters:
        deleteCrossAccountAuthorizationRequest -
        Returns:
        A Java Future containing the result of the DeleteCrossAccountAuthorization operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCrossAccountAuthorization

        default CompletableFuture<DeleteCrossAccountAuthorizationResponse> deleteCrossAccountAuthorization​(Consumer<DeleteCrossAccountAuthorizationRequest.Builder> deleteCrossAccountAuthorizationRequest)

        Deletes cross account readiness authorization.


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

        Parameters:
        deleteCrossAccountAuthorizationRequest - A Consumer that will call methods on DeleteCrossAccountAuthorizationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteCrossAccountAuthorization operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReadinessCheck

        default CompletableFuture<DeleteReadinessCheckResponse> deleteReadinessCheck​(DeleteReadinessCheckRequest deleteReadinessCheckRequest)

        Deletes a readiness check.

        Parameters:
        deleteReadinessCheckRequest -
        Returns:
        A Java Future containing the result of the DeleteReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReadinessCheck

        default CompletableFuture<DeleteReadinessCheckResponse> deleteReadinessCheck​(Consumer<DeleteReadinessCheckRequest.Builder> deleteReadinessCheckRequest)

        Deletes a readiness check.


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

        Parameters:
        deleteReadinessCheckRequest - A Consumer that will call methods on DeleteReadinessCheckRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteRecoveryGroup

        default CompletableFuture<DeleteRecoveryGroupResponse> deleteRecoveryGroup​(DeleteRecoveryGroupRequest deleteRecoveryGroupRequest)

        Deletes a recovery group.

        Parameters:
        deleteRecoveryGroupRequest -
        Returns:
        A Java Future containing the result of the DeleteRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteRecoveryGroup

        default CompletableFuture<DeleteRecoveryGroupResponse> deleteRecoveryGroup​(Consumer<DeleteRecoveryGroupRequest.Builder> deleteRecoveryGroupRequest)

        Deletes a recovery group.


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

        Parameters:
        deleteRecoveryGroupRequest - A Consumer that will call methods on DeleteRecoveryGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteResourceSet

        default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet​(DeleteResourceSetRequest deleteResourceSetRequest)

        Deletes a resource set.

        Parameters:
        deleteResourceSetRequest -
        Returns:
        A Java Future containing the result of the DeleteResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteResourceSet

        default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet​(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest)

        Deletes a resource set.


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

        Parameters:
        deleteResourceSetRequest - A Consumer that will call methods on DeleteResourceSetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getArchitectureRecommendations

        default CompletableFuture<GetArchitectureRecommendationsResponse> getArchitectureRecommendations​(GetArchitectureRecommendationsRequest getArchitectureRecommendationsRequest)

        Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.

        Parameters:
        getArchitectureRecommendationsRequest -
        Returns:
        A Java Future containing the result of the GetArchitectureRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getArchitectureRecommendations

        default CompletableFuture<GetArchitectureRecommendationsResponse> getArchitectureRecommendations​(Consumer<GetArchitectureRecommendationsRequest.Builder> getArchitectureRecommendationsRequest)

        Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.


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

        Parameters:
        getArchitectureRecommendationsRequest - A Consumer that will call methods on GetArchitectureRecommendationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetArchitectureRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCell

        default CompletableFuture<GetCellResponse> getCell​(GetCellRequest getCellRequest)

        Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.

        Parameters:
        getCellRequest -
        Returns:
        A Java Future containing the result of the GetCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCell

        default CompletableFuture<GetCellResponse> getCell​(Consumer<GetCellRequest.Builder> getCellRequest)

        Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.


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

        Parameters:
        getCellRequest - A Consumer that will call methods on GetCellRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCellReadinessSummary

        default CompletableFuture<GetCellReadinessSummaryResponse> getCellReadinessSummary​(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest)

        Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.

        Parameters:
        getCellReadinessSummaryRequest -
        Returns:
        A Java Future containing the result of the GetCellReadinessSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCellReadinessSummary

        default CompletableFuture<GetCellReadinessSummaryResponse> getCellReadinessSummary​(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest)

        Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.


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

        Parameters:
        getCellReadinessSummaryRequest - A Consumer that will call methods on GetCellReadinessSummaryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetCellReadinessSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCellReadinessSummaryPaginator

        default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator​(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest)

        This is a variant of getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest) 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.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse 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 getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest) operation.

        Parameters:
        getCellReadinessSummaryRequest -
        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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCellReadinessSummaryPaginator

        default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator​(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest)

        This is a variant of getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest) 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.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse 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 getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest) operation.


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

        Parameters:
        getCellReadinessSummaryRequest - A Consumer that will call methods on GetCellReadinessSummaryRequest.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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheck

        default CompletableFuture<GetReadinessCheckResponse> getReadinessCheck​(GetReadinessCheckRequest getReadinessCheckRequest)

        Gets details about a readiness check.

        Parameters:
        getReadinessCheckRequest -
        Returns:
        A Java Future containing the result of the GetReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheck

        default CompletableFuture<GetReadinessCheckResponse> getReadinessCheck​(Consumer<GetReadinessCheckRequest.Builder> getReadinessCheckRequest)

        Gets details about a readiness check.


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

        Parameters:
        getReadinessCheckRequest - A Consumer that will call methods on GetReadinessCheckRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckResourceStatus

        default CompletableFuture<GetReadinessCheckResourceStatusResponse> getReadinessCheckResourceStatus​(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest)

        Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.

        Parameters:
        getReadinessCheckResourceStatusRequest -
        Returns:
        A Java Future containing the result of the GetReadinessCheckResourceStatus operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckResourceStatus

        default CompletableFuture<GetReadinessCheckResourceStatusResponse> getReadinessCheckResourceStatus​(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest)

        Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.


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

        Parameters:
        getReadinessCheckResourceStatusRequest - A Consumer that will call methods on GetReadinessCheckResourceStatusRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetReadinessCheckResourceStatus operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckResourceStatusPaginator

        default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator​(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest)

        This is a variant of getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest) 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.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse 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 getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest) operation.

        Parameters:
        getReadinessCheckResourceStatusRequest -
        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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckResourceStatusPaginator

        default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator​(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest)

        This is a variant of getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest) 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.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse 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 getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest) operation.


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

        Parameters:
        getReadinessCheckResourceStatusRequest - A Consumer that will call methods on GetReadinessCheckResourceStatusRequest.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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckStatus

        default CompletableFuture<GetReadinessCheckStatusResponse> getReadinessCheckStatus​(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest)

        Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.

        Parameters:
        getReadinessCheckStatusRequest -
        Returns:
        A Java Future containing the result of the GetReadinessCheckStatus operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckStatus

        default CompletableFuture<GetReadinessCheckStatusResponse> getReadinessCheckStatus​(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest)

        Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.


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

        Parameters:
        getReadinessCheckStatusRequest - A Consumer that will call methods on GetReadinessCheckStatusRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetReadinessCheckStatus operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckStatusPaginator

        default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator​(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest)

        This is a variant of getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest) 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.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse 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 getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest) operation.

        Parameters:
        getReadinessCheckStatusRequest -
        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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getReadinessCheckStatusPaginator

        default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator​(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest)

        This is a variant of getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest) 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.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse 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 getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest) operation.


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

        Parameters:
        getReadinessCheckStatusRequest - A Consumer that will call methods on GetReadinessCheckStatusRequest.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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecoveryGroup

        default CompletableFuture<GetRecoveryGroupResponse> getRecoveryGroup​(GetRecoveryGroupRequest getRecoveryGroupRequest)

        Gets details about a recovery group, including a list of the cells that are included in it.

        Parameters:
        getRecoveryGroupRequest -
        Returns:
        A Java Future containing the result of the GetRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecoveryGroup

        default CompletableFuture<GetRecoveryGroupResponse> getRecoveryGroup​(Consumer<GetRecoveryGroupRequest.Builder> getRecoveryGroupRequest)

        Gets details about a recovery group, including a list of the cells that are included in it.


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

        Parameters:
        getRecoveryGroupRequest - A Consumer that will call methods on GetRecoveryGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecoveryGroupReadinessSummary

        default CompletableFuture<GetRecoveryGroupReadinessSummaryResponse> getRecoveryGroupReadinessSummary​(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest)

        Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.

        Parameters:
        getRecoveryGroupReadinessSummaryRequest -
        Returns:
        A Java Future containing the result of the GetRecoveryGroupReadinessSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecoveryGroupReadinessSummary

        default CompletableFuture<GetRecoveryGroupReadinessSummaryResponse> getRecoveryGroupReadinessSummary​(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest)

        Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.


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

        Parameters:
        getRecoveryGroupReadinessSummaryRequest - A Consumer that will call methods on GetRecoveryGroupReadinessSummaryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetRecoveryGroupReadinessSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecoveryGroupReadinessSummaryPaginator

        default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator​(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest)

        This is a variant of getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest) 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.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse 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 getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest) operation.

        Parameters:
        getRecoveryGroupReadinessSummaryRequest -
        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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecoveryGroupReadinessSummaryPaginator

        default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator​(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest)

        This is a variant of getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest) 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.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse 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 getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest) operation.


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

        Parameters:
        getRecoveryGroupReadinessSummaryRequest - A Consumer that will call methods on GetRecoveryGroupReadinessSummaryRequest.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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceSet

        default CompletableFuture<GetResourceSetResponse> getResourceSet​(GetResourceSetRequest getResourceSetRequest)

        Displays the details about a resource set, including a list of the resources in the set.

        Parameters:
        getResourceSetRequest -
        Returns:
        A Java Future containing the result of the GetResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceSet

        default CompletableFuture<GetResourceSetResponse> getResourceSet​(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest)

        Displays the details about a resource set, including a list of the resources in the set.


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

        Parameters:
        getResourceSetRequest - A Consumer that will call methods on GetResourceSetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCells

        default CompletableFuture<ListCellsResponse> listCells​(ListCellsRequest listCellsRequest)

        Lists the cells for an account.

        Parameters:
        listCellsRequest -
        Returns:
        A Java Future containing the result of the ListCells operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCells

        default CompletableFuture<ListCellsResponse> listCells​(Consumer<ListCellsRequest.Builder> listCellsRequest)

        Lists the cells for an account.


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

        Parameters:
        listCellsRequest - A Consumer that will call methods on ListCellsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListCells operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCellsPaginator

        default ListCellsPublisher listCellsPaginator​(ListCellsRequest listCellsRequest)

        This is a variant of listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest) 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.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse 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 listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest) operation.

        Parameters:
        listCellsRequest -
        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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCellsPaginator

        default ListCellsPublisher listCellsPaginator​(Consumer<ListCellsRequest.Builder> listCellsRequest)

        This is a variant of listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest) 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.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse 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 listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest) operation.


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

        Parameters:
        listCellsRequest - A Consumer that will call methods on ListCellsRequest.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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCrossAccountAuthorizations

        default CompletableFuture<ListCrossAccountAuthorizationsResponse> listCrossAccountAuthorizations​(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest)

        Lists the cross-account readiness authorizations that are in place for an account.

        Parameters:
        listCrossAccountAuthorizationsRequest -
        Returns:
        A Java Future containing the result of the ListCrossAccountAuthorizations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCrossAccountAuthorizations

        default CompletableFuture<ListCrossAccountAuthorizationsResponse> listCrossAccountAuthorizations​(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest)

        Lists the cross-account readiness authorizations that are in place for an account.


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

        Parameters:
        listCrossAccountAuthorizationsRequest - A Consumer that will call methods on ListCrossAccountAuthorizationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListCrossAccountAuthorizations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCrossAccountAuthorizationsPaginator

        default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator​(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest)

        This is a variant of listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest) 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.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse 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 listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest) operation.

        Parameters:
        listCrossAccountAuthorizationsRequest -
        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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCrossAccountAuthorizationsPaginator

        default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator​(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest)

        This is a variant of listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest) 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.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse 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 listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest) operation.


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

        Parameters:
        listCrossAccountAuthorizationsRequest - A Consumer that will call methods on ListCrossAccountAuthorizationsRequest.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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listReadinessChecks

        default CompletableFuture<ListReadinessChecksResponse> listReadinessChecks​(ListReadinessChecksRequest listReadinessChecksRequest)

        Lists the readiness checks for an account.

        Parameters:
        listReadinessChecksRequest -
        Returns:
        A Java Future containing the result of the ListReadinessChecks operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listReadinessChecks

        default CompletableFuture<ListReadinessChecksResponse> listReadinessChecks​(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest)

        Lists the readiness checks for an account.


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

        Parameters:
        listReadinessChecksRequest - A Consumer that will call methods on ListReadinessChecksRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListReadinessChecks operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listReadinessChecksPaginator

        default ListReadinessChecksPublisher listReadinessChecksPaginator​(ListReadinessChecksRequest listReadinessChecksRequest)

        This is a variant of listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest) 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.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse 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 listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest) operation.

        Parameters:
        listReadinessChecksRequest -
        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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listReadinessChecksPaginator

        default ListReadinessChecksPublisher listReadinessChecksPaginator​(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest)

        This is a variant of listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest) 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.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse 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 listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest) operation.


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

        Parameters:
        listReadinessChecksRequest - A Consumer that will call methods on ListReadinessChecksRequest.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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRecoveryGroups

        default CompletableFuture<ListRecoveryGroupsResponse> listRecoveryGroups​(ListRecoveryGroupsRequest listRecoveryGroupsRequest)

        Lists the recovery groups in an account.

        Parameters:
        listRecoveryGroupsRequest -
        Returns:
        A Java Future containing the result of the ListRecoveryGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRecoveryGroups

        default CompletableFuture<ListRecoveryGroupsResponse> listRecoveryGroups​(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest)

        Lists the recovery groups in an account.


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

        Parameters:
        listRecoveryGroupsRequest - A Consumer that will call methods on ListRecoveryGroupsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListRecoveryGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRecoveryGroupsPaginator

        default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator​(ListRecoveryGroupsRequest listRecoveryGroupsRequest)

        This is a variant of listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest) 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.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse 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 listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest) operation.

        Parameters:
        listRecoveryGroupsRequest -
        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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRecoveryGroupsPaginator

        default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator​(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest)

        This is a variant of listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest) 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.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse 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 listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest) operation.


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

        Parameters:
        listRecoveryGroupsRequest - A Consumer that will call methods on ListRecoveryGroupsRequest.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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceSets

        default CompletableFuture<ListResourceSetsResponse> listResourceSets​(ListResourceSetsRequest listResourceSetsRequest)

        Lists the resource sets in an account.

        Parameters:
        listResourceSetsRequest -
        Returns:
        A Java Future containing the result of the ListResourceSets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceSets

        default CompletableFuture<ListResourceSetsResponse> listResourceSets​(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest)

        Lists the resource sets in an account.


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

        Parameters:
        listResourceSetsRequest - A Consumer that will call methods on ListResourceSetsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListResourceSets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceSetsPaginator

        default ListResourceSetsPublisher listResourceSetsPaginator​(ListResourceSetsRequest listResourceSetsRequest)

        This is a variant of listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest) 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.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse 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 listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest) operation.

        Parameters:
        listResourceSetsRequest -
        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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceSetsPaginator

        default ListResourceSetsPublisher listResourceSetsPaginator​(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest)

        This is a variant of listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest) 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.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse 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 listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest) operation.


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

        Parameters:
        listResourceSetsRequest - A Consumer that will call methods on ListResourceSetsRequest.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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRules

        default CompletableFuture<ListRulesResponse> listRules​(ListRulesRequest listRulesRequest)

        Lists all readiness rules, or lists the readiness rules for a specific resource type.

        Parameters:
        listRulesRequest -
        Returns:
        A Java Future containing the result of the ListRules operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRules

        default CompletableFuture<ListRulesResponse> listRules​(Consumer<ListRulesRequest.Builder> listRulesRequest)

        Lists all readiness rules, or lists the readiness rules for a specific resource type.


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

        Parameters:
        listRulesRequest - A Consumer that will call methods on ListRulesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListRules operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRulesPaginator

        default ListRulesPublisher listRulesPaginator​(ListRulesRequest listRulesRequest)

        This is a variant of listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest) 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.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse 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 listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest) operation.

        Parameters:
        listRulesRequest -
        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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRulesPaginator

        default ListRulesPublisher listRulesPaginator​(Consumer<ListRulesRequest.Builder> listRulesRequest)

        This is a variant of listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest) 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.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse 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 listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest) operation.


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

        Parameters:
        listRulesRequest - A Consumer that will call methods on ListRulesRequest.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.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResources

        default CompletableFuture<ListTagsForResourcesResponse> listTagsForResources​(ListTagsForResourcesRequest listTagsForResourcesRequest)

        Lists the tags for a resource.

        Parameters:
        listTagsForResourcesRequest -
        Returns:
        A Java Future containing the result of the ListTagsForResources operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResources

        default CompletableFuture<ListTagsForResourcesResponse> listTagsForResources​(Consumer<ListTagsForResourcesRequest.Builder> listTagsForResourcesRequest)

        Lists the tags for a resource.


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

        Parameters:
        listTagsForResourcesRequest - A Consumer that will call methods on ListTagsForResourcesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTagsForResources operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Adds a tag to a resource.

        Parameters:
        tagResourceRequest -
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)

        Adds a tag to a 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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Removes a tag 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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

        Removes a tag 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.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateCell

        default CompletableFuture<UpdateCellResponse> updateCell​(UpdateCellRequest updateCellRequest)

        Updates a cell to replace the list of nested cells with a new list of nested cells.

        Parameters:
        updateCellRequest -
        Returns:
        A Java Future containing the result of the UpdateCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateCell

        default CompletableFuture<UpdateCellResponse> updateCell​(Consumer<UpdateCellRequest.Builder> updateCellRequest)

        Updates a cell to replace the list of nested cells with a new list of nested cells.


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

        Parameters:
        updateCellRequest - A Consumer that will call methods on UpdateCellRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateCell operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateReadinessCheck

        default CompletableFuture<UpdateReadinessCheckResponse> updateReadinessCheck​(UpdateReadinessCheckRequest updateReadinessCheckRequest)

        Updates a readiness check.

        Parameters:
        updateReadinessCheckRequest - Name of a readiness check to describe.
        Returns:
        A Java Future containing the result of the UpdateReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateReadinessCheck

        default CompletableFuture<UpdateReadinessCheckResponse> updateReadinessCheck​(Consumer<UpdateReadinessCheckRequest.Builder> updateReadinessCheckRequest)

        Updates a readiness check.


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

        Parameters:
        updateReadinessCheckRequest - A Consumer that will call methods on UpdateReadinessCheckRequest.Builder to create a request. Name of a readiness check to describe.
        Returns:
        A Java Future containing the result of the UpdateReadinessCheck operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateRecoveryGroup

        default CompletableFuture<UpdateRecoveryGroupResponse> updateRecoveryGroup​(UpdateRecoveryGroupRequest updateRecoveryGroupRequest)

        Updates a recovery group.

        Parameters:
        updateRecoveryGroupRequest - Name of a recovery group.
        Returns:
        A Java Future containing the result of the UpdateRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateRecoveryGroup

        default CompletableFuture<UpdateRecoveryGroupResponse> updateRecoveryGroup​(Consumer<UpdateRecoveryGroupRequest.Builder> updateRecoveryGroupRequest)

        Updates a recovery group.


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

        Parameters:
        updateRecoveryGroupRequest - A Consumer that will call methods on UpdateRecoveryGroupRequest.Builder to create a request. Name of a recovery group.
        Returns:
        A Java Future containing the result of the UpdateRecoveryGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceSet

        default CompletableFuture<UpdateResourceSetResponse> updateResourceSet​(UpdateResourceSetRequest updateResourceSetRequest)

        Updates a resource set.

        Parameters:
        updateResourceSetRequest - Name of a resource set.
        Returns:
        A Java Future containing the result of the UpdateResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceSet

        default CompletableFuture<UpdateResourceSetResponse> updateResourceSet​(Consumer<UpdateResourceSetRequest.Builder> updateResourceSetRequest)

        Updates a resource set.


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

        Parameters:
        updateResourceSetRequest - A Consumer that will call methods on UpdateResourceSetRequest.Builder to create a request. Name of a resource set.
        Returns:
        A Java Future containing the result of the UpdateResourceSet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
        • ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
        • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
        • InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
        • AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation