@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface Route53RecoveryReadinessAsyncClient extends SdkClient
builder() method.
Recovery readiness
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static Route53RecoveryReadinessAsyncClient create()
Route53RecoveryReadinessAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static Route53RecoveryReadinessAsyncClientBuilder builder()
Route53RecoveryReadinessAsyncClient.default CompletableFuture<CreateCellResponse> createCell(CreateCellRequest createCellRequest)
Creates a cell in an account.
createCellRequest - default CompletableFuture<CreateCellResponse> createCell(Consumer<CreateCellRequest.Builder> createCellRequest)
Creates a cell in an account.
This is a convenience which creates an instance of the CreateCellRequest.Builder avoiding the need to
create one manually via CreateCellRequest.builder()
createCellRequest - A Consumer that will call methods on CreateCellRequest.Builder to create a request.default CompletableFuture<CreateCrossAccountAuthorizationResponse> createCrossAccountAuthorization(CreateCrossAccountAuthorizationRequest createCrossAccountAuthorizationRequest)
Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.
createCrossAccountAuthorizationRequest - default CompletableFuture<CreateCrossAccountAuthorizationResponse> createCrossAccountAuthorization(Consumer<CreateCrossAccountAuthorizationRequest.Builder> createCrossAccountAuthorizationRequest)
Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.
This is a convenience which creates an instance of the CreateCrossAccountAuthorizationRequest.Builder
avoiding the need to create one manually via CreateCrossAccountAuthorizationRequest.builder()
createCrossAccountAuthorizationRequest - A Consumer that will call methods on CreateCrossAccountAuthorizationRequest.Builder to
create a request.default CompletableFuture<CreateReadinessCheckResponse> createReadinessCheck(CreateReadinessCheckRequest createReadinessCheckRequest)
Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check.
createReadinessCheckRequest - default CompletableFuture<CreateReadinessCheckResponse> createReadinessCheck(Consumer<CreateReadinessCheckRequest.Builder> createReadinessCheckRequest)
Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check.
This is a convenience which creates an instance of the CreateReadinessCheckRequest.Builder avoiding the
need to create one manually via CreateReadinessCheckRequest.builder()
createReadinessCheckRequest - A Consumer that will call methods on CreateReadinessCheckRequest.Builder to create a
request.default CompletableFuture<CreateRecoveryGroupResponse> createRecoveryGroup(CreateRecoveryGroupRequest createRecoveryGroupRequest)
Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.
createRecoveryGroupRequest - default CompletableFuture<CreateRecoveryGroupResponse> createRecoveryGroup(Consumer<CreateRecoveryGroupRequest.Builder> createRecoveryGroupRequest)
Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.
This is a convenience which creates an instance of the CreateRecoveryGroupRequest.Builder avoiding the
need to create one manually via CreateRecoveryGroupRequest.builder()
createRecoveryGroupRequest - A Consumer that will call methods on CreateRecoveryGroupRequest.Builder to create a
request.default CompletableFuture<CreateResourceSetResponse> createResourceSet(CreateResourceSetRequest createResourceSetRequest)
Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.
createResourceSetRequest - default CompletableFuture<CreateResourceSetResponse> createResourceSet(Consumer<CreateResourceSetRequest.Builder> createResourceSetRequest)
Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.
This is a convenience which creates an instance of the CreateResourceSetRequest.Builder avoiding the need
to create one manually via CreateResourceSetRequest.builder()
createResourceSetRequest - A Consumer that will call methods on CreateResourceSetRequest.Builder to create a request.default CompletableFuture<DeleteCellResponse> deleteCell(DeleteCellRequest deleteCellRequest)
Delete a cell. When successful, the response code is 204, with no response body.
deleteCellRequest - default CompletableFuture<DeleteCellResponse> deleteCell(Consumer<DeleteCellRequest.Builder> deleteCellRequest)
Delete a cell. When successful, the response code is 204, with no response body.
This is a convenience which creates an instance of the DeleteCellRequest.Builder avoiding the need to
create one manually via DeleteCellRequest.builder()
deleteCellRequest - A Consumer that will call methods on DeleteCellRequest.Builder to create a request.default CompletableFuture<DeleteCrossAccountAuthorizationResponse> deleteCrossAccountAuthorization(DeleteCrossAccountAuthorizationRequest deleteCrossAccountAuthorizationRequest)
Deletes cross account readiness authorization.
deleteCrossAccountAuthorizationRequest - default CompletableFuture<DeleteCrossAccountAuthorizationResponse> deleteCrossAccountAuthorization(Consumer<DeleteCrossAccountAuthorizationRequest.Builder> deleteCrossAccountAuthorizationRequest)
Deletes cross account readiness authorization.
This is a convenience which creates an instance of the DeleteCrossAccountAuthorizationRequest.Builder
avoiding the need to create one manually via DeleteCrossAccountAuthorizationRequest.builder()
deleteCrossAccountAuthorizationRequest - A Consumer that will call methods on DeleteCrossAccountAuthorizationRequest.Builder to
create a request.default CompletableFuture<DeleteReadinessCheckResponse> deleteReadinessCheck(DeleteReadinessCheckRequest deleteReadinessCheckRequest)
Deletes a readiness check.
deleteReadinessCheckRequest - default CompletableFuture<DeleteReadinessCheckResponse> deleteReadinessCheck(Consumer<DeleteReadinessCheckRequest.Builder> deleteReadinessCheckRequest)
Deletes a readiness check.
This is a convenience which creates an instance of the DeleteReadinessCheckRequest.Builder avoiding the
need to create one manually via DeleteReadinessCheckRequest.builder()
deleteReadinessCheckRequest - A Consumer that will call methods on DeleteReadinessCheckRequest.Builder to create a
request.default CompletableFuture<DeleteRecoveryGroupResponse> deleteRecoveryGroup(DeleteRecoveryGroupRequest deleteRecoveryGroupRequest)
Deletes a recovery group.
deleteRecoveryGroupRequest - default CompletableFuture<DeleteRecoveryGroupResponse> deleteRecoveryGroup(Consumer<DeleteRecoveryGroupRequest.Builder> deleteRecoveryGroupRequest)
Deletes a recovery group.
This is a convenience which creates an instance of the DeleteRecoveryGroupRequest.Builder avoiding the
need to create one manually via DeleteRecoveryGroupRequest.builder()
deleteRecoveryGroupRequest - A Consumer that will call methods on DeleteRecoveryGroupRequest.Builder to create a
request.default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest)
Deletes a resource set.
deleteResourceSetRequest - default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest)
Deletes a resource set.
This is a convenience which creates an instance of the DeleteResourceSetRequest.Builder avoiding the need
to create one manually via DeleteResourceSetRequest.builder()
deleteResourceSetRequest - A Consumer that will call methods on DeleteResourceSetRequest.Builder to create a request.default CompletableFuture<GetArchitectureRecommendationsResponse> getArchitectureRecommendations(GetArchitectureRecommendationsRequest getArchitectureRecommendationsRequest)
Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.
getArchitectureRecommendationsRequest - default CompletableFuture<GetArchitectureRecommendationsResponse> getArchitectureRecommendations(Consumer<GetArchitectureRecommendationsRequest.Builder> getArchitectureRecommendationsRequest)
Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.
This is a convenience which creates an instance of the GetArchitectureRecommendationsRequest.Builder
avoiding the need to create one manually via GetArchitectureRecommendationsRequest.builder()
getArchitectureRecommendationsRequest - A Consumer that will call methods on GetArchitectureRecommendationsRequest.Builder to
create a request.default CompletableFuture<GetCellResponse> getCell(GetCellRequest getCellRequest)
Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.
getCellRequest - default CompletableFuture<GetCellResponse> getCell(Consumer<GetCellRequest.Builder> getCellRequest)
Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.
This is a convenience which creates an instance of the GetCellRequest.Builder avoiding the need to create
one manually via GetCellRequest.builder()
getCellRequest - A Consumer that will call methods on GetCellRequest.Builder to create a request.default CompletableFuture<GetCellReadinessSummaryResponse> getCellReadinessSummary(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest)
Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.
getCellReadinessSummaryRequest - default CompletableFuture<GetCellReadinessSummaryResponse> getCellReadinessSummary(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest)
Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.
This is a convenience which creates an instance of the GetCellReadinessSummaryRequest.Builder avoiding
the need to create one manually via GetCellReadinessSummaryRequest.builder()
getCellReadinessSummaryRequest - A Consumer that will call methods on GetCellReadinessSummaryRequest.Builder to create a
request.default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest)
Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.
This is a variant of
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation.
getCellReadinessSummaryRequest - default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest)
Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.
This is a variant of
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation.
This is a convenience which creates an instance of the GetCellReadinessSummaryRequest.Builder avoiding
the need to create one manually via GetCellReadinessSummaryRequest.builder()
getCellReadinessSummaryRequest - A Consumer that will call methods on GetCellReadinessSummaryRequest.Builder to create a
request.default CompletableFuture<GetReadinessCheckResponse> getReadinessCheck(GetReadinessCheckRequest getReadinessCheckRequest)
Gets details about a readiness check.
getReadinessCheckRequest - default CompletableFuture<GetReadinessCheckResponse> getReadinessCheck(Consumer<GetReadinessCheckRequest.Builder> getReadinessCheckRequest)
Gets details about a readiness check.
This is a convenience which creates an instance of the GetReadinessCheckRequest.Builder avoiding the need
to create one manually via GetReadinessCheckRequest.builder()
getReadinessCheckRequest - A Consumer that will call methods on GetReadinessCheckRequest.Builder to create a request.default CompletableFuture<GetReadinessCheckResourceStatusResponse> getReadinessCheckResourceStatus(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest)
Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.
getReadinessCheckResourceStatusRequest - default CompletableFuture<GetReadinessCheckResourceStatusResponse> getReadinessCheckResourceStatus(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest)
Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.
This is a convenience which creates an instance of the GetReadinessCheckResourceStatusRequest.Builder
avoiding the need to create one manually via GetReadinessCheckResourceStatusRequest.builder()
getReadinessCheckResourceStatusRequest - A Consumer that will call methods on GetReadinessCheckResourceStatusRequest.Builder to
create a request.default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest)
Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.
This is a variant of
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation.
getReadinessCheckResourceStatusRequest - default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest)
Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.
This is a variant of
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation.
This is a convenience which creates an instance of the GetReadinessCheckResourceStatusRequest.Builder
avoiding the need to create one manually via GetReadinessCheckResourceStatusRequest.builder()
getReadinessCheckResourceStatusRequest - A Consumer that will call methods on GetReadinessCheckResourceStatusRequest.Builder to
create a request.default CompletableFuture<GetReadinessCheckStatusResponse> getReadinessCheckStatus(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest)
Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.
getReadinessCheckStatusRequest - default CompletableFuture<GetReadinessCheckStatusResponse> getReadinessCheckStatus(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest)
Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.
This is a convenience which creates an instance of the GetReadinessCheckStatusRequest.Builder avoiding
the need to create one manually via GetReadinessCheckStatusRequest.builder()
getReadinessCheckStatusRequest - A Consumer that will call methods on GetReadinessCheckStatusRequest.Builder to create a
request.default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest)
Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.
This is a variant of
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation.
getReadinessCheckStatusRequest - default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest)
Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.
This is a variant of
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation.
This is a convenience which creates an instance of the GetReadinessCheckStatusRequest.Builder avoiding
the need to create one manually via GetReadinessCheckStatusRequest.builder()
getReadinessCheckStatusRequest - A Consumer that will call methods on GetReadinessCheckStatusRequest.Builder to create a
request.default CompletableFuture<GetRecoveryGroupResponse> getRecoveryGroup(GetRecoveryGroupRequest getRecoveryGroupRequest)
Gets details about a recovery group, including a list of the cells that are included in it.
getRecoveryGroupRequest - default CompletableFuture<GetRecoveryGroupResponse> getRecoveryGroup(Consumer<GetRecoveryGroupRequest.Builder> getRecoveryGroupRequest)
Gets details about a recovery group, including a list of the cells that are included in it.
This is a convenience which creates an instance of the GetRecoveryGroupRequest.Builder avoiding the need
to create one manually via GetRecoveryGroupRequest.builder()
getRecoveryGroupRequest - A Consumer that will call methods on GetRecoveryGroupRequest.Builder to create a request.default CompletableFuture<GetRecoveryGroupReadinessSummaryResponse> getRecoveryGroupReadinessSummary(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest)
Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.
getRecoveryGroupReadinessSummaryRequest - default CompletableFuture<GetRecoveryGroupReadinessSummaryResponse> getRecoveryGroupReadinessSummary(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest)
Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.
This is a convenience which creates an instance of the GetRecoveryGroupReadinessSummaryRequest.Builder
avoiding the need to create one manually via GetRecoveryGroupReadinessSummaryRequest.builder()
getRecoveryGroupReadinessSummaryRequest - A Consumer that will call methods on GetRecoveryGroupReadinessSummaryRequest.Builder to
create a request.default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest)
Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.
This is a variant of
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation.
getRecoveryGroupReadinessSummaryRequest - default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest)
Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.
This is a variant of
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation.
This is a convenience which creates an instance of the GetRecoveryGroupReadinessSummaryRequest.Builder
avoiding the need to create one manually via GetRecoveryGroupReadinessSummaryRequest.builder()
getRecoveryGroupReadinessSummaryRequest - A Consumer that will call methods on GetRecoveryGroupReadinessSummaryRequest.Builder to
create a request.default CompletableFuture<GetResourceSetResponse> getResourceSet(GetResourceSetRequest getResourceSetRequest)
Displays the details about a resource set, including a list of the resources in the set.
getResourceSetRequest - default CompletableFuture<GetResourceSetResponse> getResourceSet(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest)
Displays the details about a resource set, including a list of the resources in the set.
This is a convenience which creates an instance of the GetResourceSetRequest.Builder avoiding the need to
create one manually via GetResourceSetRequest.builder()
getResourceSetRequest - A Consumer that will call methods on GetResourceSetRequest.Builder to create a request.default CompletableFuture<ListCellsResponse> listCells(ListCellsRequest listCellsRequest)
Lists the cells for an account.
listCellsRequest - default CompletableFuture<ListCellsResponse> listCells(Consumer<ListCellsRequest.Builder> listCellsRequest)
Lists the cells for an account.
This is a convenience which creates an instance of the ListCellsRequest.Builder avoiding the need to
create one manually via ListCellsRequest.builder()
listCellsRequest - A Consumer that will call methods on ListCellsRequest.Builder to create a request.default ListCellsPublisher listCellsPaginator(ListCellsRequest listCellsRequest)
Lists the cells for an account.
This is a variant of
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation.
listCellsRequest - default ListCellsPublisher listCellsPaginator(Consumer<ListCellsRequest.Builder> listCellsRequest)
Lists the cells for an account.
This is a variant of
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation.
This is a convenience which creates an instance of the ListCellsRequest.Builder avoiding the need to
create one manually via ListCellsRequest.builder()
listCellsRequest - A Consumer that will call methods on ListCellsRequest.Builder to create a request.default CompletableFuture<ListCrossAccountAuthorizationsResponse> listCrossAccountAuthorizations(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest)
Lists the cross-account readiness authorizations that are in place for an account.
listCrossAccountAuthorizationsRequest - default CompletableFuture<ListCrossAccountAuthorizationsResponse> listCrossAccountAuthorizations(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest)
Lists the cross-account readiness authorizations that are in place for an account.
This is a convenience which creates an instance of the ListCrossAccountAuthorizationsRequest.Builder
avoiding the need to create one manually via ListCrossAccountAuthorizationsRequest.builder()
listCrossAccountAuthorizationsRequest - A Consumer that will call methods on ListCrossAccountAuthorizationsRequest.Builder to
create a request.default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest)
Lists the cross-account readiness authorizations that are in place for an account.
This is a variant of
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation.
listCrossAccountAuthorizationsRequest - default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest)
Lists the cross-account readiness authorizations that are in place for an account.
This is a variant of
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation.
This is a convenience which creates an instance of the ListCrossAccountAuthorizationsRequest.Builder
avoiding the need to create one manually via ListCrossAccountAuthorizationsRequest.builder()
listCrossAccountAuthorizationsRequest - A Consumer that will call methods on ListCrossAccountAuthorizationsRequest.Builder to
create a request.default CompletableFuture<ListReadinessChecksResponse> listReadinessChecks(ListReadinessChecksRequest listReadinessChecksRequest)
Lists the readiness checks for an account.
listReadinessChecksRequest - default CompletableFuture<ListReadinessChecksResponse> listReadinessChecks(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest)
Lists the readiness checks for an account.
This is a convenience which creates an instance of the ListReadinessChecksRequest.Builder avoiding the
need to create one manually via ListReadinessChecksRequest.builder()
listReadinessChecksRequest - A Consumer that will call methods on ListReadinessChecksRequest.Builder to create a
request.default ListReadinessChecksPublisher listReadinessChecksPaginator(ListReadinessChecksRequest listReadinessChecksRequest)
Lists the readiness checks for an account.
This is a variant of
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation.
listReadinessChecksRequest - default ListReadinessChecksPublisher listReadinessChecksPaginator(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest)
Lists the readiness checks for an account.
This is a variant of
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation.
This is a convenience which creates an instance of the ListReadinessChecksRequest.Builder avoiding the
need to create one manually via ListReadinessChecksRequest.builder()
listReadinessChecksRequest - A Consumer that will call methods on ListReadinessChecksRequest.Builder to create a
request.default CompletableFuture<ListRecoveryGroupsResponse> listRecoveryGroups(ListRecoveryGroupsRequest listRecoveryGroupsRequest)
Lists the recovery groups in an account.
listRecoveryGroupsRequest - default CompletableFuture<ListRecoveryGroupsResponse> listRecoveryGroups(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest)
Lists the recovery groups in an account.
This is a convenience which creates an instance of the ListRecoveryGroupsRequest.Builder avoiding the
need to create one manually via ListRecoveryGroupsRequest.builder()
listRecoveryGroupsRequest - A Consumer that will call methods on ListRecoveryGroupsRequest.Builder to create a
request.default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator(ListRecoveryGroupsRequest listRecoveryGroupsRequest)
Lists the recovery groups in an account.
This is a variant of
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation.
listRecoveryGroupsRequest - default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest)
Lists the recovery groups in an account.
This is a variant of
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation.
This is a convenience which creates an instance of the ListRecoveryGroupsRequest.Builder avoiding the
need to create one manually via ListRecoveryGroupsRequest.builder()
listRecoveryGroupsRequest - A Consumer that will call methods on ListRecoveryGroupsRequest.Builder to create a
request.default CompletableFuture<ListResourceSetsResponse> listResourceSets(ListResourceSetsRequest listResourceSetsRequest)
Lists the resource sets in an account.
listResourceSetsRequest - default CompletableFuture<ListResourceSetsResponse> listResourceSets(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest)
Lists the resource sets in an account.
This is a convenience which creates an instance of the ListResourceSetsRequest.Builder avoiding the need
to create one manually via ListResourceSetsRequest.builder()
listResourceSetsRequest - A Consumer that will call methods on ListResourceSetsRequest.Builder to create a request.default ListResourceSetsPublisher listResourceSetsPaginator(ListResourceSetsRequest listResourceSetsRequest)
Lists the resource sets in an account.
This is a variant of
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation.
listResourceSetsRequest - default ListResourceSetsPublisher listResourceSetsPaginator(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest)
Lists the resource sets in an account.
This is a variant of
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation.
This is a convenience which creates an instance of the ListResourceSetsRequest.Builder avoiding the need
to create one manually via ListResourceSetsRequest.builder()
listResourceSetsRequest - A Consumer that will call methods on ListResourceSetsRequest.Builder to create a request.default CompletableFuture<ListRulesResponse> listRules(ListRulesRequest listRulesRequest)
Lists all readiness rules, or lists the readiness rules for a specific resource type.
listRulesRequest - default CompletableFuture<ListRulesResponse> listRules(Consumer<ListRulesRequest.Builder> listRulesRequest)
Lists all readiness rules, or lists the readiness rules for a specific resource type.
This is a convenience which creates an instance of the ListRulesRequest.Builder avoiding the need to
create one manually via ListRulesRequest.builder()
listRulesRequest - A Consumer that will call methods on ListRulesRequest.Builder to create a request.default ListRulesPublisher listRulesPaginator(ListRulesRequest listRulesRequest)
Lists all readiness rules, or lists the readiness rules for a specific resource type.
This is a variant of
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation.
listRulesRequest - default ListRulesPublisher listRulesPaginator(Consumer<ListRulesRequest.Builder> listRulesRequest)
Lists all readiness rules, or lists the readiness rules for a specific resource type.
This is a variant of
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation.
This is a convenience which creates an instance of the ListRulesRequest.Builder avoiding the need to
create one manually via ListRulesRequest.builder()
listRulesRequest - A Consumer that will call methods on ListRulesRequest.Builder to create a request.default CompletableFuture<ListTagsForResourcesResponse> listTagsForResources(ListTagsForResourcesRequest listTagsForResourcesRequest)
Lists the tags for a resource.
listTagsForResourcesRequest - default CompletableFuture<ListTagsForResourcesResponse> listTagsForResources(Consumer<ListTagsForResourcesRequest.Builder> listTagsForResourcesRequest)
Lists the tags for a resource.
This is a convenience which creates an instance of the ListTagsForResourcesRequest.Builder avoiding the
need to create one manually via ListTagsForResourcesRequest.builder()
listTagsForResourcesRequest - A Consumer that will call methods on ListTagsForResourcesRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds a tag to a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds a tag to a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag from a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes a tag from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateCellResponse> updateCell(UpdateCellRequest updateCellRequest)
Updates a cell to replace the list of nested cells with a new list of nested cells.
updateCellRequest - default CompletableFuture<UpdateCellResponse> updateCell(Consumer<UpdateCellRequest.Builder> updateCellRequest)
Updates a cell to replace the list of nested cells with a new list of nested cells.
This is a convenience which creates an instance of the UpdateCellRequest.Builder avoiding the need to
create one manually via UpdateCellRequest.builder()
updateCellRequest - A Consumer that will call methods on UpdateCellRequest.Builder to create a request.default CompletableFuture<UpdateReadinessCheckResponse> updateReadinessCheck(UpdateReadinessCheckRequest updateReadinessCheckRequest)
Updates a readiness check.
updateReadinessCheckRequest - Name of a readiness check to describe.default CompletableFuture<UpdateReadinessCheckResponse> updateReadinessCheck(Consumer<UpdateReadinessCheckRequest.Builder> updateReadinessCheckRequest)
Updates a readiness check.
This is a convenience which creates an instance of the UpdateReadinessCheckRequest.Builder avoiding the
need to create one manually via UpdateReadinessCheckRequest.builder()
updateReadinessCheckRequest - A Consumer that will call methods on UpdateReadinessCheckRequest.Builder to create a
request. Name of a readiness check to describe.default CompletableFuture<UpdateRecoveryGroupResponse> updateRecoveryGroup(UpdateRecoveryGroupRequest updateRecoveryGroupRequest)
Updates a recovery group.
updateRecoveryGroupRequest - Name of a recovery group.default CompletableFuture<UpdateRecoveryGroupResponse> updateRecoveryGroup(Consumer<UpdateRecoveryGroupRequest.Builder> updateRecoveryGroupRequest)
Updates a recovery group.
This is a convenience which creates an instance of the UpdateRecoveryGroupRequest.Builder avoiding the
need to create one manually via UpdateRecoveryGroupRequest.builder()
updateRecoveryGroupRequest - A Consumer that will call methods on UpdateRecoveryGroupRequest.Builder to create a
request. Name of a recovery group.default CompletableFuture<UpdateResourceSetResponse> updateResourceSet(UpdateResourceSetRequest updateResourceSetRequest)
Updates a resource set.
updateResourceSetRequest - Name of a resource set.default CompletableFuture<UpdateResourceSetResponse> updateResourceSet(Consumer<UpdateResourceSetRequest.Builder> updateResourceSetRequest)
Updates a resource set.
This is a convenience which creates an instance of the UpdateResourceSetRequest.Builder avoiding the need
to create one manually via UpdateResourceSetRequest.builder()
updateResourceSetRequest - A Consumer that will call methods on UpdateResourceSetRequest.Builder to create a request.
Name of a resource set.Copyright © 2022. All rights reserved.