software.amazon.awssdk.services.route53recoveryreadiness.Route53RecoveryReadinessAsyncClient Maven / Gradle / Ivy
Show all versions of route53recoveryreadiness Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.route53recoveryreadiness;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCrossAccountAuthorizationRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCrossAccountAuthorizationResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCrossAccountAuthorizationRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCrossAccountAuthorizationResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetArchitectureRecommendationsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetArchitectureRecommendationsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListTagsForResourcesRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListTagsForResourcesResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.TagResourceRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.TagResourceResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UntagResourceRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UntagResourceResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher;
/**
* Service client for accessing AWS Route53 Recovery Readiness asynchronously. This can be created using the static
* {@link #builder()} method.
*
* AWS Route53 Recovery Readiness
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface Route53RecoveryReadinessAsyncClient extends SdkClient {
String SERVICE_NAME = "route53-recovery-readiness";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "route53-recovery-readiness";
/**
* Create a {@link Route53RecoveryReadinessAsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static Route53RecoveryReadinessAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link Route53RecoveryReadinessAsyncClient}.
*/
static Route53RecoveryReadinessAsyncClientBuilder builder() {
return new DefaultRoute53RecoveryReadinessAsyncClientBuilder();
}
/**
* Creates a new Cell.
*
* @param createCellRequest
* The Cell to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateCell
* @see AWS API Documentation
*/
default CompletableFuture createCell(CreateCellRequest createCellRequest) {
throw new UnsupportedOperationException();
}
/**
* Creates a new Cell.
*
* This is a convenience which creates an instance of the {@link CreateCellRequest.Builder} avoiding the need to
* create one manually via {@link CreateCellRequest#builder()}
*
*
* @param createCellRequest
* A {@link Consumer} that will call methods on {@link CreateCellRequest.Builder} to create a request. The
* Cell to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateCell
* @see AWS API Documentation
*/
default CompletableFuture createCell(Consumer createCellRequest) {
return createCell(CreateCellRequest.builder().applyMutation(createCellRequest).build());
}
/**
* Create a new cross account readiness authorization.
*
* @param createCrossAccountAuthorizationRequest
* The cross account authorization
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateCrossAccountAuthorization
* @see AWS API Documentation
*/
default CompletableFuture createCrossAccountAuthorization(
CreateCrossAccountAuthorizationRequest createCrossAccountAuthorizationRequest) {
throw new UnsupportedOperationException();
}
/**
* Create a new cross account readiness authorization.
*
* This is a convenience which creates an instance of the {@link CreateCrossAccountAuthorizationRequest.Builder}
* avoiding the need to create one manually via {@link CreateCrossAccountAuthorizationRequest#builder()}
*
*
* @param createCrossAccountAuthorizationRequest
* A {@link Consumer} that will call methods on {@link CreateCrossAccountAuthorizationRequest.Builder} to
* create a request. The cross account authorization
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateCrossAccountAuthorization
* @see AWS API Documentation
*/
default CompletableFuture createCrossAccountAuthorization(
Consumer createCrossAccountAuthorizationRequest) {
return createCrossAccountAuthorization(CreateCrossAccountAuthorizationRequest.builder()
.applyMutation(createCrossAccountAuthorizationRequest).build());
}
/**
* Creates a new Readiness Check.
*
* @param createReadinessCheckRequest
* The ReadinessCheck to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture createReadinessCheck(
CreateReadinessCheckRequest createReadinessCheckRequest) {
throw new UnsupportedOperationException();
}
/**
* Creates a new Readiness Check.
*
* This is a convenience which creates an instance of the {@link CreateReadinessCheckRequest.Builder} avoiding the
* need to create one manually via {@link CreateReadinessCheckRequest#builder()}
*
*
* @param createReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link CreateReadinessCheckRequest.Builder} to create a
* request. The ReadinessCheck to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture createReadinessCheck(
Consumer createReadinessCheckRequest) {
return createReadinessCheck(CreateReadinessCheckRequest.builder().applyMutation(createReadinessCheckRequest).build());
}
/**
* Creates a new Recovery Group.
*
* @param createRecoveryGroupRequest
* The RecoveryGroup to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture createRecoveryGroup(
CreateRecoveryGroupRequest createRecoveryGroupRequest) {
throw new UnsupportedOperationException();
}
/**
* Creates a new Recovery Group.
*
* This is a convenience which creates an instance of the {@link CreateRecoveryGroupRequest.Builder} avoiding the
* need to create one manually via {@link CreateRecoveryGroupRequest#builder()}
*
*
* @param createRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link CreateRecoveryGroupRequest.Builder} to create a
* request. The RecoveryGroup to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture createRecoveryGroup(
Consumer createRecoveryGroupRequest) {
return createRecoveryGroup(CreateRecoveryGroupRequest.builder().applyMutation(createRecoveryGroupRequest).build());
}
/**
* Creates a new Resource Set.
*
* @param createResourceSetRequest
* The ResourceSet to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateResourceSet
* @see AWS API Documentation
*/
default CompletableFuture createResourceSet(CreateResourceSetRequest createResourceSetRequest) {
throw new UnsupportedOperationException();
}
/**
* Creates a new Resource Set.
*
* This is a convenience which creates an instance of the {@link CreateResourceSetRequest.Builder} avoiding the need
* to create one manually via {@link CreateResourceSetRequest#builder()}
*
*
* @param createResourceSetRequest
* A {@link Consumer} that will call methods on {@link CreateResourceSetRequest.Builder} to create a request.
* The ResourceSet to create
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - ConflictException Updating or deleting a resource can cause an inconsistent state.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.CreateResourceSet
* @see AWS API Documentation
*/
default CompletableFuture createResourceSet(
Consumer createResourceSetRequest) {
return createResourceSet(CreateResourceSetRequest.builder().applyMutation(createResourceSetRequest).build());
}
/**
* Deletes an existing Cell.
*
* @param deleteCellRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteCell
* @see AWS API Documentation
*/
default CompletableFuture deleteCell(DeleteCellRequest deleteCellRequest) {
throw new UnsupportedOperationException();
}
/**
* Deletes an existing Cell.
*
* This is a convenience which creates an instance of the {@link DeleteCellRequest.Builder} avoiding the need to
* create one manually via {@link DeleteCellRequest#builder()}
*
*
* @param deleteCellRequest
* A {@link Consumer} that will call methods on {@link DeleteCellRequest.Builder} to create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteCell
* @see AWS API Documentation
*/
default CompletableFuture deleteCell(Consumer deleteCellRequest) {
return deleteCell(DeleteCellRequest.builder().applyMutation(deleteCellRequest).build());
}
/**
* Delete cross account readiness authorization
*
* @param deleteCrossAccountAuthorizationRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteCrossAccountAuthorization
* @see AWS API Documentation
*/
default CompletableFuture deleteCrossAccountAuthorization(
DeleteCrossAccountAuthorizationRequest deleteCrossAccountAuthorizationRequest) {
throw new UnsupportedOperationException();
}
/**
* Delete cross account readiness authorization
*
* This is a convenience which creates an instance of the {@link DeleteCrossAccountAuthorizationRequest.Builder}
* avoiding the need to create one manually via {@link DeleteCrossAccountAuthorizationRequest#builder()}
*
*
* @param deleteCrossAccountAuthorizationRequest
* A {@link Consumer} that will call methods on {@link DeleteCrossAccountAuthorizationRequest.Builder} to
* create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteCrossAccountAuthorization
* @see AWS API Documentation
*/
default CompletableFuture deleteCrossAccountAuthorization(
Consumer deleteCrossAccountAuthorizationRequest) {
return deleteCrossAccountAuthorization(DeleteCrossAccountAuthorizationRequest.builder()
.applyMutation(deleteCrossAccountAuthorizationRequest).build());
}
/**
* Deletes an existing Readiness Check.
*
* @param deleteReadinessCheckRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture deleteReadinessCheck(
DeleteReadinessCheckRequest deleteReadinessCheckRequest) {
throw new UnsupportedOperationException();
}
/**
* Deletes an existing Readiness Check.
*
* This is a convenience which creates an instance of the {@link DeleteReadinessCheckRequest.Builder} avoiding the
* need to create one manually via {@link DeleteReadinessCheckRequest#builder()}
*
*
* @param deleteReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link DeleteReadinessCheckRequest.Builder} to create a
* request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture deleteReadinessCheck(
Consumer deleteReadinessCheckRequest) {
return deleteReadinessCheck(DeleteReadinessCheckRequest.builder().applyMutation(deleteReadinessCheckRequest).build());
}
/**
* Deletes an existing Recovery Group.
*
* @param deleteRecoveryGroupRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture deleteRecoveryGroup(
DeleteRecoveryGroupRequest deleteRecoveryGroupRequest) {
throw new UnsupportedOperationException();
}
/**
* Deletes an existing Recovery Group.
*
* This is a convenience which creates an instance of the {@link DeleteRecoveryGroupRequest.Builder} avoiding the
* need to create one manually via {@link DeleteRecoveryGroupRequest#builder()}
*
*
* @param deleteRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link DeleteRecoveryGroupRequest.Builder} to create a
* request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture deleteRecoveryGroup(
Consumer deleteRecoveryGroupRequest) {
return deleteRecoveryGroup(DeleteRecoveryGroupRequest.builder().applyMutation(deleteRecoveryGroupRequest).build());
}
/**
* Deletes an existing Resource Set.
*
* @param deleteResourceSetRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteResourceSet
* @see AWS API Documentation
*/
default CompletableFuture deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest) {
throw new UnsupportedOperationException();
}
/**
* Deletes an existing Resource Set.
*
* This is a convenience which creates an instance of the {@link DeleteResourceSetRequest.Builder} avoiding the need
* to create one manually via {@link DeleteResourceSetRequest#builder()}
*
*
* @param deleteResourceSetRequest
* A {@link Consumer} that will call methods on {@link DeleteResourceSetRequest.Builder} to create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.DeleteResourceSet
* @see AWS API Documentation
*/
default CompletableFuture deleteResourceSet(
Consumer deleteResourceSetRequest) {
return deleteResourceSet(DeleteResourceSetRequest.builder().applyMutation(deleteResourceSetRequest).build());
}
/**
* Returns a collection of recommendations to improve resilliance and readiness check quality for a Recovery Group.
*
* @param getArchitectureRecommendationsRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetArchitectureRecommendations
* @see AWS API Documentation
*/
default CompletableFuture getArchitectureRecommendations(
GetArchitectureRecommendationsRequest getArchitectureRecommendationsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of recommendations to improve resilliance and readiness check quality for a Recovery Group.
*
* This is a convenience which creates an instance of the {@link GetArchitectureRecommendationsRequest.Builder}
* avoiding the need to create one manually via {@link GetArchitectureRecommendationsRequest#builder()}
*
*
* @param getArchitectureRecommendationsRequest
* A {@link Consumer} that will call methods on {@link GetArchitectureRecommendationsRequest.Builder} to
* create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetArchitectureRecommendations
* @see AWS API Documentation
*/
default CompletableFuture getArchitectureRecommendations(
Consumer getArchitectureRecommendationsRequest) {
return getArchitectureRecommendations(GetArchitectureRecommendationsRequest.builder()
.applyMutation(getArchitectureRecommendationsRequest).build());
}
/**
* Returns information about a Cell.
*
* @param getCellRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetCell
* @see AWS API Documentation
*/
default CompletableFuture getCell(GetCellRequest getCellRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about a Cell.
*
* This is a convenience which creates an instance of the {@link GetCellRequest.Builder} avoiding the need to create
* one manually via {@link GetCellRequest#builder()}
*
*
* @param getCellRequest
* A {@link Consumer} that will call methods on {@link GetCellRequest.Builder} to create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetCell
* @see AWS API Documentation
*/
default CompletableFuture getCell(Consumer getCellRequest) {
return getCell(GetCellRequest.builder().applyMutation(getCellRequest).build());
}
/**
* Returns information about readiness of a Cell.
*
* @param getCellReadinessSummaryRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default CompletableFuture getCellReadinessSummary(
GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about readiness of a Cell.
*
* This is a convenience which creates an instance of the {@link GetCellReadinessSummaryRequest.Builder} avoiding
* the need to create one manually via {@link GetCellReadinessSummaryRequest#builder()}
*
*
* @param getCellReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetCellReadinessSummaryRequest.Builder} to create a
* request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default CompletableFuture getCellReadinessSummary(
Consumer getCellReadinessSummaryRequest) {
return getCellReadinessSummary(GetCellReadinessSummaryRequest.builder().applyMutation(getCellReadinessSummaryRequest)
.build());
}
/**
* Returns information about readiness of a Cell.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)}
* operation.
*
*
* @param getCellReadinessSummaryRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator(
GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about readiness of a Cell.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetCellReadinessSummaryRequest.Builder} avoiding
* the need to create one manually via {@link GetCellReadinessSummaryRequest#builder()}
*
*
* @param getCellReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetCellReadinessSummaryRequest.Builder} to create a
* request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator(
Consumer getCellReadinessSummaryRequest) {
return getCellReadinessSummaryPaginator(GetCellReadinessSummaryRequest.builder()
.applyMutation(getCellReadinessSummaryRequest).build());
}
/**
* Returns information about a ReadinessCheck.
*
* @param getReadinessCheckRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture getReadinessCheck(GetReadinessCheckRequest getReadinessCheckRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about a ReadinessCheck.
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckRequest.Builder} avoiding the need
* to create one manually via {@link GetReadinessCheckRequest#builder()}
*
*
* @param getReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckRequest.Builder} to create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture getReadinessCheck(
Consumer getReadinessCheckRequest) {
return getReadinessCheck(GetReadinessCheckRequest.builder().applyMutation(getReadinessCheckRequest).build());
}
/**
* Returns detailed information about the status of an individual resource within a Readiness Check's Resource Set.
*
* @param getReadinessCheckResourceStatusRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default CompletableFuture getReadinessCheckResourceStatus(
GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns detailed information about the status of an individual resource within a Readiness Check's Resource Set.
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckResourceStatusRequest.Builder}
* avoiding the need to create one manually via {@link GetReadinessCheckResourceStatusRequest#builder()}
*
*
* @param getReadinessCheckResourceStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckResourceStatusRequest.Builder} to
* create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default CompletableFuture getReadinessCheckResourceStatus(
Consumer getReadinessCheckResourceStatusRequest) {
return getReadinessCheckResourceStatus(GetReadinessCheckResourceStatusRequest.builder()
.applyMutation(getReadinessCheckResourceStatusRequest).build());
}
/**
* Returns detailed information about the status of an individual resource within a Readiness Check's Resource Set.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)}
* operation.
*
*
* @param getReadinessCheckResourceStatusRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator(
GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns detailed information about the status of an individual resource within a Readiness Check's Resource Set.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckResourceStatusRequest.Builder}
* avoiding the need to create one manually via {@link GetReadinessCheckResourceStatusRequest#builder()}
*
*
* @param getReadinessCheckResourceStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckResourceStatusRequest.Builder} to
* create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator(
Consumer getReadinessCheckResourceStatusRequest) {
return getReadinessCheckResourceStatusPaginator(GetReadinessCheckResourceStatusRequest.builder()
.applyMutation(getReadinessCheckResourceStatusRequest).build());
}
/**
* Returns information about the status of a Readiness Check.
*
* @param getReadinessCheckStatusRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default CompletableFuture getReadinessCheckStatus(
GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about the status of a Readiness Check.
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckStatusRequest.Builder} avoiding
* the need to create one manually via {@link GetReadinessCheckStatusRequest#builder()}
*
*
* @param getReadinessCheckStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckStatusRequest.Builder} to create a
* request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default CompletableFuture getReadinessCheckStatus(
Consumer getReadinessCheckStatusRequest) {
return getReadinessCheckStatus(GetReadinessCheckStatusRequest.builder().applyMutation(getReadinessCheckStatusRequest)
.build());
}
/**
* Returns information about the status of a Readiness Check.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)}
* operation.
*
*
* @param getReadinessCheckStatusRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator(
GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about the status of a Readiness Check.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckStatusRequest.Builder} avoiding
* the need to create one manually via {@link GetReadinessCheckStatusRequest#builder()}
*
*
* @param getReadinessCheckStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckStatusRequest.Builder} to create a
* request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator(
Consumer getReadinessCheckStatusRequest) {
return getReadinessCheckStatusPaginator(GetReadinessCheckStatusRequest.builder()
.applyMutation(getReadinessCheckStatusRequest).build());
}
/**
* Returns information about a Recovery Group.
*
* @param getRecoveryGroupRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture getRecoveryGroup(GetRecoveryGroupRequest getRecoveryGroupRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about a Recovery Group.
*
* This is a convenience which creates an instance of the {@link GetRecoveryGroupRequest.Builder} avoiding the need
* to create one manually via {@link GetRecoveryGroupRequest#builder()}
*
*
* @param getRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link GetRecoveryGroupRequest.Builder} to create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture getRecoveryGroup(
Consumer getRecoveryGroupRequest) {
return getRecoveryGroup(GetRecoveryGroupRequest.builder().applyMutation(getRecoveryGroupRequest).build());
}
/**
* Returns information about a Recovery Group.
*
* @param getRecoveryGroupReadinessSummaryRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default CompletableFuture getRecoveryGroupReadinessSummary(
GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about a Recovery Group.
*
* This is a convenience which creates an instance of the {@link GetRecoveryGroupReadinessSummaryRequest.Builder}
* avoiding the need to create one manually via {@link GetRecoveryGroupReadinessSummaryRequest#builder()}
*
*
* @param getRecoveryGroupReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetRecoveryGroupReadinessSummaryRequest.Builder} to
* create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default CompletableFuture getRecoveryGroupReadinessSummary(
Consumer getRecoveryGroupReadinessSummaryRequest) {
return getRecoveryGroupReadinessSummary(GetRecoveryGroupReadinessSummaryRequest.builder()
.applyMutation(getRecoveryGroupReadinessSummaryRequest).build());
}
/**
* Returns information about a Recovery Group.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)}
* operation.
*
*
* @param getRecoveryGroupReadinessSummaryRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator(
GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about a Recovery Group.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetRecoveryGroupReadinessSummaryRequest.Builder}
* avoiding the need to create one manually via {@link GetRecoveryGroupReadinessSummaryRequest#builder()}
*
*
* @param getRecoveryGroupReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetRecoveryGroupReadinessSummaryRequest.Builder} to
* create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator(
Consumer getRecoveryGroupReadinessSummaryRequest) {
return getRecoveryGroupReadinessSummaryPaginator(GetRecoveryGroupReadinessSummaryRequest.builder()
.applyMutation(getRecoveryGroupReadinessSummaryRequest).build());
}
/**
* Returns information about a Resource Set.
*
* @param getResourceSetRequest
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetResourceSet
* @see AWS API Documentation
*/
default CompletableFuture getResourceSet(GetResourceSetRequest getResourceSetRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns information about a Resource Set.
*
* This is a convenience which creates an instance of the {@link GetResourceSetRequest.Builder} avoiding the need to
* create one manually via {@link GetResourceSetRequest#builder()}
*
*
* @param getResourceSetRequest
* A {@link Consumer} that will call methods on {@link GetResourceSetRequest.Builder} to create a request.
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.GetResourceSet
* @see AWS API Documentation
*/
default CompletableFuture getResourceSet(Consumer getResourceSetRequest) {
return getResourceSet(GetResourceSetRequest.builder().applyMutation(getResourceSetRequest).build());
}
/**
* Returns a collection of Cells.
*
* @param listCellsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCells
* @see AWS API Documentation
*/
default CompletableFuture listCells(ListCellsRequest listCellsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Cells.
*
* This is a convenience which creates an instance of the {@link ListCellsRequest.Builder} avoiding the need to
* create one manually via {@link ListCellsRequest#builder()}
*
*
* @param listCellsRequest
* A {@link Consumer} that will call methods on {@link ListCellsRequest.Builder} to create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCells
* @see AWS API Documentation
*/
default CompletableFuture listCells(Consumer listCellsRequest) {
return listCells(ListCellsRequest.builder().applyMutation(listCellsRequest).build());
}
/**
* Returns a collection of Cells.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)}
* operation.
*
*
* @param listCellsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCells
* @see AWS API Documentation
*/
default ListCellsPublisher listCellsPaginator(ListCellsRequest listCellsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Cells.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListCellsRequest.Builder} avoiding the need to
* create one manually via {@link ListCellsRequest#builder()}
*
*
* @param listCellsRequest
* A {@link Consumer} that will call methods on {@link ListCellsRequest.Builder} to create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCells
* @see AWS API Documentation
*/
default ListCellsPublisher listCellsPaginator(Consumer listCellsRequest) {
return listCellsPaginator(ListCellsRequest.builder().applyMutation(listCellsRequest).build());
}
/**
* Returns a collection of cross account readiness authorizations.
*
* @param listCrossAccountAuthorizationsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default CompletableFuture listCrossAccountAuthorizations(
ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of cross account readiness authorizations.
*
* This is a convenience which creates an instance of the {@link ListCrossAccountAuthorizationsRequest.Builder}
* avoiding the need to create one manually via {@link ListCrossAccountAuthorizationsRequest#builder()}
*
*
* @param listCrossAccountAuthorizationsRequest
* A {@link Consumer} that will call methods on {@link ListCrossAccountAuthorizationsRequest.Builder} to
* create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default CompletableFuture listCrossAccountAuthorizations(
Consumer listCrossAccountAuthorizationsRequest) {
return listCrossAccountAuthorizations(ListCrossAccountAuthorizationsRequest.builder()
.applyMutation(listCrossAccountAuthorizationsRequest).build());
}
/**
* Returns a collection of cross account readiness authorizations.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)}
* operation.
*
*
* @param listCrossAccountAuthorizationsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator(
ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of cross account readiness authorizations.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListCrossAccountAuthorizationsRequest.Builder}
* avoiding the need to create one manually via {@link ListCrossAccountAuthorizationsRequest#builder()}
*
*
* @param listCrossAccountAuthorizationsRequest
* A {@link Consumer} that will call methods on {@link ListCrossAccountAuthorizationsRequest.Builder} to
* create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator(
Consumer listCrossAccountAuthorizationsRequest) {
return listCrossAccountAuthorizationsPaginator(ListCrossAccountAuthorizationsRequest.builder()
.applyMutation(listCrossAccountAuthorizationsRequest).build());
}
/**
* Returns a collection of Readiness Checks.
*
* @param listReadinessChecksRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListReadinessChecks
* @see AWS API Documentation
*/
default CompletableFuture listReadinessChecks(
ListReadinessChecksRequest listReadinessChecksRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Readiness Checks.
*
* This is a convenience which creates an instance of the {@link ListReadinessChecksRequest.Builder} avoiding the
* need to create one manually via {@link ListReadinessChecksRequest#builder()}
*
*
* @param listReadinessChecksRequest
* A {@link Consumer} that will call methods on {@link ListReadinessChecksRequest.Builder} to create a
* request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListReadinessChecks
* @see AWS API Documentation
*/
default CompletableFuture listReadinessChecks(
Consumer listReadinessChecksRequest) {
return listReadinessChecks(ListReadinessChecksRequest.builder().applyMutation(listReadinessChecksRequest).build());
}
/**
* Returns a collection of Readiness Checks.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)}
* operation.
*
*
* @param listReadinessChecksRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListReadinessChecks
* @see AWS API Documentation
*/
default ListReadinessChecksPublisher listReadinessChecksPaginator(ListReadinessChecksRequest listReadinessChecksRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Readiness Checks.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListReadinessChecksRequest.Builder} avoiding the
* need to create one manually via {@link ListReadinessChecksRequest#builder()}
*
*
* @param listReadinessChecksRequest
* A {@link Consumer} that will call methods on {@link ListReadinessChecksRequest.Builder} to create a
* request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListReadinessChecks
* @see AWS API Documentation
*/
default ListReadinessChecksPublisher listReadinessChecksPaginator(
Consumer listReadinessChecksRequest) {
return listReadinessChecksPaginator(ListReadinessChecksRequest.builder().applyMutation(listReadinessChecksRequest)
.build());
}
/**
* Returns a collection of Recovery Groups.
*
* @param listRecoveryGroupsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default CompletableFuture listRecoveryGroups(ListRecoveryGroupsRequest listRecoveryGroupsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Recovery Groups.
*
* This is a convenience which creates an instance of the {@link ListRecoveryGroupsRequest.Builder} avoiding the
* need to create one manually via {@link ListRecoveryGroupsRequest#builder()}
*
*
* @param listRecoveryGroupsRequest
* A {@link Consumer} that will call methods on {@link ListRecoveryGroupsRequest.Builder} to create a
* request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default CompletableFuture listRecoveryGroups(
Consumer listRecoveryGroupsRequest) {
return listRecoveryGroups(ListRecoveryGroupsRequest.builder().applyMutation(listRecoveryGroupsRequest).build());
}
/**
* Returns a collection of Recovery Groups.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)}
* operation.
*
*
* @param listRecoveryGroupsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator(ListRecoveryGroupsRequest listRecoveryGroupsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Recovery Groups.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListRecoveryGroupsRequest.Builder} avoiding the
* need to create one manually via {@link ListRecoveryGroupsRequest#builder()}
*
*
* @param listRecoveryGroupsRequest
* A {@link Consumer} that will call methods on {@link ListRecoveryGroupsRequest.Builder} to create a
* request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator(
Consumer listRecoveryGroupsRequest) {
return listRecoveryGroupsPaginator(ListRecoveryGroupsRequest.builder().applyMutation(listRecoveryGroupsRequest).build());
}
/**
* Returns a collection of Resource Sets.
*
* @param listResourceSetsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListResourceSets
* @see AWS API Documentation
*/
default CompletableFuture listResourceSets(ListResourceSetsRequest listResourceSetsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Resource Sets.
*
* This is a convenience which creates an instance of the {@link ListResourceSetsRequest.Builder} avoiding the need
* to create one manually via {@link ListResourceSetsRequest#builder()}
*
*
* @param listResourceSetsRequest
* A {@link Consumer} that will call methods on {@link ListResourceSetsRequest.Builder} to create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListResourceSets
* @see AWS API Documentation
*/
default CompletableFuture listResourceSets(
Consumer listResourceSetsRequest) {
return listResourceSets(ListResourceSetsRequest.builder().applyMutation(listResourceSetsRequest).build());
}
/**
* Returns a collection of Resource Sets.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)}
* operation.
*
*
* @param listResourceSetsRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListResourceSets
* @see AWS API Documentation
*/
default ListResourceSetsPublisher listResourceSetsPaginator(ListResourceSetsRequest listResourceSetsRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of Resource Sets.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListResourceSetsRequest.Builder} avoiding the need
* to create one manually via {@link ListResourceSetsRequest#builder()}
*
*
* @param listResourceSetsRequest
* A {@link Consumer} that will call methods on {@link ListResourceSetsRequest.Builder} to create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListResourceSets
* @see AWS API Documentation
*/
default ListResourceSetsPublisher listResourceSetsPaginator(Consumer listResourceSetsRequest) {
return listResourceSetsPaginator(ListResourceSetsRequest.builder().applyMutation(listResourceSetsRequest).build());
}
/**
* Returns a collection of rules that are applied as part of Readiness Checks.
*
* @param listRulesRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRules
* @see AWS API Documentation
*/
default CompletableFuture listRules(ListRulesRequest listRulesRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of rules that are applied as part of Readiness Checks.
*
* This is a convenience which creates an instance of the {@link ListRulesRequest.Builder} avoiding the need to
* create one manually via {@link ListRulesRequest#builder()}
*
*
* @param listRulesRequest
* A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRules
* @see AWS API Documentation
*/
default CompletableFuture listRules(Consumer listRulesRequest) {
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
}
/**
* Returns a collection of rules that are applied as part of Readiness Checks.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)}
* operation.
*
*
* @param listRulesRequest
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRules
* @see AWS API Documentation
*/
default ListRulesPublisher listRulesPaginator(ListRulesRequest listRulesRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a collection of rules that are applied as part of Readiness Checks.
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListRulesRequest.Builder} avoiding the need to
* create one manually via {@link ListRulesRequest#builder()}
*
*
* @param listRulesRequest
* A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request.
* @return 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 Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.ListRules
* @see AWS API Documentation
*/
default ListRulesPublisher listRulesPaginator(Consumer listRulesRequest) {
return listRulesPaginator(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
}
/**
* Returns a list of the tags assigned to the specified resource.
*
* @param listTagsForResourcesRequest
* @return 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 requested resource was not found
* - ValidationException an invalid request
* - InternalServerException Internal service error
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample Route53RecoveryReadinessAsyncClient.ListTagsForResources
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResources(
ListTagsForResourcesRequest listTagsForResourcesRequest) {
throw new UnsupportedOperationException();
}
/**
* Returns a list of the tags assigned to the specified resource.
*
* This is a convenience which creates an instance of the {@link ListTagsForResourcesRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourcesRequest#builder()}
*
*
* @param listTagsForResourcesRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourcesRequest.Builder} to create a
* request.
* @return 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 requested resource was not found
* - ValidationException an invalid request
* - InternalServerException Internal service error
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample Route53RecoveryReadinessAsyncClient.ListTagsForResources
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResources(
Consumer listTagsForResourcesRequest) {
return listTagsForResources(ListTagsForResourcesRequest.builder().applyMutation(listTagsForResourcesRequest).build());
}
/**
* Adds tags to the specified resource. You can specify one or more tags to add.
*
* @param tagResourceRequest
* @return 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 requested resource was not found
* - ValidationException an invalid request
* - InternalServerException Internal service error
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample Route53RecoveryReadinessAsyncClient.TagResource
* @see AWS API Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
* Adds tags to the specified resource. You can specify one or more tags to add.
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request.
* @return 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 requested resource was not found
* - ValidationException an invalid request
* - InternalServerException Internal service error
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample Route53RecoveryReadinessAsyncClient.TagResource
* @see AWS API Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
* Removes tags from the specified resource. You can specify one or more tags to remove.
*
* @param untagResourceRequest
* @return 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 requested resource was not found
* - ValidationException an invalid request
* - InternalServerException Internal service error
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample Route53RecoveryReadinessAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
* Removes tags from the specified resource. You can specify one or more tags to remove.
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request.
* @return 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 requested resource was not found
* - ValidationException an invalid request
* - InternalServerException Internal service error
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample Route53RecoveryReadinessAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
* Updates an existing Cell.
*
* @param updateCellRequest
* Parameters to update for the Cell
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateCell
* @see AWS API Documentation
*/
default CompletableFuture updateCell(UpdateCellRequest updateCellRequest) {
throw new UnsupportedOperationException();
}
/**
* Updates an existing Cell.
*
* This is a convenience which creates an instance of the {@link UpdateCellRequest.Builder} avoiding the need to
* create one manually via {@link UpdateCellRequest#builder()}
*
*
* @param updateCellRequest
* A {@link Consumer} that will call methods on {@link UpdateCellRequest.Builder} to create a request.
* Parameters to update for the Cell
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateCell
* @see AWS API Documentation
*/
default CompletableFuture updateCell(Consumer updateCellRequest) {
return updateCell(UpdateCellRequest.builder().applyMutation(updateCellRequest).build());
}
/**
* Updates an exisiting Readiness Check.
*
* @param updateReadinessCheckRequest
* The new Readiness Check values
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture updateReadinessCheck(
UpdateReadinessCheckRequest updateReadinessCheckRequest) {
throw new UnsupportedOperationException();
}
/**
* Updates an exisiting Readiness Check.
*
* This is a convenience which creates an instance of the {@link UpdateReadinessCheckRequest.Builder} avoiding the
* need to create one manually via {@link UpdateReadinessCheckRequest#builder()}
*
*
* @param updateReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link UpdateReadinessCheckRequest.Builder} to create a
* request. The new Readiness Check values
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateReadinessCheck
* @see AWS API Documentation
*/
default CompletableFuture updateReadinessCheck(
Consumer updateReadinessCheckRequest) {
return updateReadinessCheck(UpdateReadinessCheckRequest.builder().applyMutation(updateReadinessCheckRequest).build());
}
/**
* Updates an existing Recovery Group.
*
* @param updateRecoveryGroupRequest
* Parameters to update for the RecoveryGroup
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture updateRecoveryGroup(
UpdateRecoveryGroupRequest updateRecoveryGroupRequest) {
throw new UnsupportedOperationException();
}
/**
* Updates an existing Recovery Group.
*
* This is a convenience which creates an instance of the {@link UpdateRecoveryGroupRequest.Builder} avoiding the
* need to create one manually via {@link UpdateRecoveryGroupRequest#builder()}
*
*
* @param updateRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link UpdateRecoveryGroupRequest.Builder} to create a
* request. Parameters to update for the RecoveryGroup
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateRecoveryGroup
* @see AWS API Documentation
*/
default CompletableFuture updateRecoveryGroup(
Consumer updateRecoveryGroupRequest) {
return updateRecoveryGroup(UpdateRecoveryGroupRequest.builder().applyMutation(updateRecoveryGroupRequest).build());
}
/**
* Updates an existing Resource Set.
*
* @param updateResourceSetRequest
* configuration for the desired
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateResourceSet
* @see AWS API Documentation
*/
default CompletableFuture updateResourceSet(UpdateResourceSetRequest updateResourceSetRequest) {
throw new UnsupportedOperationException();
}
/**
* Updates an existing Resource Set.
*
* This is a convenience which creates an instance of the {@link UpdateResourceSetRequest.Builder} avoiding the need
* to create one manually via {@link UpdateResourceSetRequest#builder()}
*
*
* @param updateResourceSetRequest
* A {@link Consumer} that will call methods on {@link UpdateResourceSetRequest.Builder} to create a request.
* configuration for the desired
* @return 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 The requested resource does not exist.
* - ThrottlingException Request was denied due to request throttling.
* - ValidationException The input fails to satisfy the constraints specified by an AWS service.
* - InternalServerException An unexpected error occurred.
* - AccessDeniedException User does 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.
*
* @sample Route53RecoveryReadinessAsyncClient.UpdateResourceSet
* @see AWS API Documentation
*/
default CompletableFuture updateResourceSet(
Consumer updateResourceSetRequest) {
return updateResourceSet(UpdateResourceSetRequest.builder().applyMutation(updateResourceSetRequest).build());
}
}