Interface Route53RecoveryControlConfigAsyncWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface Route53RecoveryControlConfigAsyncWaiter extends SdkAutoCloseable
Waiter utility class that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state. This can be created using the staticbuilder()method
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRoute53RecoveryControlConfigAsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilClusterCreated
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterCreated(DescribeClusterRequest describeClusterRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilClusterCreated
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterCreated(Consumer<DescribeClusterRequest.Builder> describeClusterRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterCreatedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeClusterRequest.builder()- Parameters:
describeClusterRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterCreated
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterCreated(DescribeClusterRequest describeClusterRequest, WaiterOverrideConfiguration overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterCreated
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterCreated(Consumer<DescribeClusterRequest.Builder> describeClusterRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterCreatedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeClusterRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(DescribeClusterRequest describeClusterRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(Consumer<DescribeClusterRequest.Builder> describeClusterRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeClusterRequest.builder()- Parameters:
describeClusterRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(DescribeClusterRequest describeClusterRequest, WaiterOverrideConfiguration overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(Consumer<DescribeClusterRequest.Builder> describeClusterRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeCluster(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeClusterRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilControlPanelCreated
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelCreated(DescribeControlPanelRequest describeControlPanelRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeControlPanelRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilControlPanelCreated
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelCreated(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelCreatedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeControlPanelRequest.builder()- Parameters:
describeControlPanelRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilControlPanelCreated
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelCreated(DescribeControlPanelRequest describeControlPanelRequest, WaiterOverrideConfiguration overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeControlPanelRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilControlPanelCreated
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelCreated(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelCreatedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeControlPanelRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilControlPanelDeleted
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelDeleted(DescribeControlPanelRequest describeControlPanelRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeControlPanelRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilControlPanelDeleted
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelDeleted(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelDeletedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeControlPanelRequest.builder()- Parameters:
describeControlPanelRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilControlPanelDeleted
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelDeleted(DescribeControlPanelRequest describeControlPanelRequest, WaiterOverrideConfiguration overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeControlPanelRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilControlPanelDeleted
default CompletableFuture<WaiterResponse<DescribeControlPanelResponse>> waitUntilControlPanelDeleted(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeControlPanel(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeControlPanelRequest)API until the desired conditionControlPanelDeletedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeControlPanelRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilRoutingControlCreated
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlCreated(DescribeRoutingControlRequest describeRoutingControlRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeRoutingControlRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilRoutingControlCreated
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlCreated(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlCreatedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeRoutingControlRequest.builder()- Parameters:
describeRoutingControlRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilRoutingControlCreated
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlCreated(DescribeRoutingControlRequest describeRoutingControlRequest, WaiterOverrideConfiguration overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeRoutingControlRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilRoutingControlCreated
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlCreated(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlCreatedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeRoutingControlRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilRoutingControlDeleted
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlDeleted(DescribeRoutingControlRequest describeRoutingControlRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeRoutingControlRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilRoutingControlDeleted
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlDeleted(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlDeletedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeRoutingControlRequest.builder()- Parameters:
describeRoutingControlRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilRoutingControlDeleted
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlDeleted(DescribeRoutingControlRequest describeRoutingControlRequest, WaiterOverrideConfiguration overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeRoutingControlRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilRoutingControlDeleted
default CompletableFuture<WaiterResponse<DescribeRoutingControlResponse>> waitUntilRoutingControlDeleted(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRoute53RecoveryControlConfigAsyncClient.describeRoutingControl(software.amazon.awssdk.services.route53recoverycontrolconfig.model.DescribeRoutingControlRequest)API until the desired conditionRoutingControlDeletedis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeRoutingControlRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
builder
static Route53RecoveryControlConfigAsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aRoute53RecoveryControlConfigAsyncWaiter.- Returns:
- a builder
-
create
static Route53RecoveryControlConfigAsyncWaiter create()
Create an instance ofRoute53RecoveryControlConfigAsyncWaiterwith the default configuration.A default
Route53RecoveryControlConfigAsyncClientwill be created to poll resources. It is recommended to share a single instance of the waiter created via this method. If it is not desirable to share a waiter instance, invokeSdkAutoCloseable.close()to release the resources once the waiter is not needed.- Returns:
- an instance of
Route53RecoveryControlConfigAsyncWaiter
-
-