Interface RdsAsyncWaiter
-
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface RdsAsyncWaiter 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 interface
RdsAsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilDBClusterAvailable
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterAvailable(DescribeDbClustersRequest describeDbClustersRequest)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClustersRequest
- 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.
-
waitUntilDBClusterAvailable
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterAvailable(Consumer<DescribeDbClustersRequest.Builder> describeDbClustersRequest)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterAvailable
is 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
DescribeDbClustersRequest.builder()
- Parameters:
describeDbClustersRequest
- 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
-
waitUntilDBClusterAvailable
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterAvailable(DescribeDbClustersRequest describeDbClustersRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClustersRequest
- 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
-
waitUntilDBClusterAvailable
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterAvailable(Consumer<DescribeDbClustersRequest.Builder> describeDbClustersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterAvailable
is 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:
describeDbClustersRequest
- 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
-
waitUntilDBClusterDeleted
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterDeleted(DescribeDbClustersRequest describeDbClustersRequest)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClustersRequest
- 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.
-
waitUntilDBClusterDeleted
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterDeleted(Consumer<DescribeDbClustersRequest.Builder> describeDbClustersRequest)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterDeleted
is 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
DescribeDbClustersRequest.builder()
- Parameters:
describeDbClustersRequest
- 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
-
waitUntilDBClusterDeleted
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterDeleted(DescribeDbClustersRequest describeDbClustersRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClustersRequest
- 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
-
waitUntilDBClusterDeleted
default CompletableFuture<WaiterResponse<DescribeDbClustersResponse>> waitUntilDBClusterDeleted(Consumer<DescribeDbClustersRequest.Builder> describeDbClustersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBClusters(software.amazon.awssdk.services.rds.model.DescribeDbClustersRequest)
API until the desired conditionDBClusterDeleted
is 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:
describeDbClustersRequest
- 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
-
waitUntilDBClusterSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotAvailable(DescribeDbClusterSnapshotsRequest describeDbClusterSnapshotsRequest)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClusterSnapshotsRequest
- 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.
-
waitUntilDBClusterSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotAvailable(Consumer<DescribeDbClusterSnapshotsRequest.Builder> describeDbClusterSnapshotsRequest)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotAvailable
is 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
DescribeDbClusterSnapshotsRequest.builder()
- Parameters:
describeDbClusterSnapshotsRequest
- 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
-
waitUntilDBClusterSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotAvailable(DescribeDbClusterSnapshotsRequest describeDbClusterSnapshotsRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClusterSnapshotsRequest
- 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
-
waitUntilDBClusterSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotAvailable(Consumer<DescribeDbClusterSnapshotsRequest.Builder> describeDbClusterSnapshotsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotAvailable
is 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:
describeDbClusterSnapshotsRequest
- 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
-
waitUntilDBClusterSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotDeleted(DescribeDbClusterSnapshotsRequest describeDbClusterSnapshotsRequest)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClusterSnapshotsRequest
- 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.
-
waitUntilDBClusterSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotDeleted(Consumer<DescribeDbClusterSnapshotsRequest.Builder> describeDbClusterSnapshotsRequest)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotDeleted
is 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
DescribeDbClusterSnapshotsRequest.builder()
- Parameters:
describeDbClusterSnapshotsRequest
- 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
-
waitUntilDBClusterSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotDeleted(DescribeDbClusterSnapshotsRequest describeDbClusterSnapshotsRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbClusterSnapshotsRequest
- 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
-
waitUntilDBClusterSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbClusterSnapshotsResponse>> waitUntilDBClusterSnapshotDeleted(Consumer<DescribeDbClusterSnapshotsRequest.Builder> describeDbClusterSnapshotsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBClusterSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbClusterSnapshotsRequest)
API until the desired conditionDBClusterSnapshotDeleted
is 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:
describeDbClusterSnapshotsRequest
- 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
-
waitUntilDBInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceAvailable(DescribeDbInstancesRequest describeDbInstancesRequest)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbInstancesRequest
- 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.
-
waitUntilDBInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceAvailable(Consumer<DescribeDbInstancesRequest.Builder> describeDbInstancesRequest)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceAvailable
is 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
DescribeDbInstancesRequest.builder()
- Parameters:
describeDbInstancesRequest
- 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
-
waitUntilDBInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceAvailable(DescribeDbInstancesRequest describeDbInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbInstancesRequest
- 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
-
waitUntilDBInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceAvailable(Consumer<DescribeDbInstancesRequest.Builder> describeDbInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceAvailable
is 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:
describeDbInstancesRequest
- 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
-
waitUntilDBInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceDeleted(DescribeDbInstancesRequest describeDbInstancesRequest)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbInstancesRequest
- 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.
-
waitUntilDBInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceDeleted(Consumer<DescribeDbInstancesRequest.Builder> describeDbInstancesRequest)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceDeleted
is 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
DescribeDbInstancesRequest.builder()
- Parameters:
describeDbInstancesRequest
- 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
-
waitUntilDBInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceDeleted(DescribeDbInstancesRequest describeDbInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbInstancesRequest
- 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
-
waitUntilDBInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeDbInstancesResponse>> waitUntilDBInstanceDeleted(Consumer<DescribeDbInstancesRequest.Builder> describeDbInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBInstances(software.amazon.awssdk.services.rds.model.DescribeDbInstancesRequest)
API until the desired conditionDBInstanceDeleted
is 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:
describeDbInstancesRequest
- 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
-
waitUntilDBSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotAvailable(DescribeDbSnapshotsRequest describeDbSnapshotsRequest)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbSnapshotsRequest
- 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.
-
waitUntilDBSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotAvailable(Consumer<DescribeDbSnapshotsRequest.Builder> describeDbSnapshotsRequest)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotAvailable
is 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
DescribeDbSnapshotsRequest.builder()
- Parameters:
describeDbSnapshotsRequest
- 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
-
waitUntilDBSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotAvailable(DescribeDbSnapshotsRequest describeDbSnapshotsRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbSnapshotsRequest
- 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
-
waitUntilDBSnapshotAvailable
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotAvailable(Consumer<DescribeDbSnapshotsRequest.Builder> describeDbSnapshotsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotAvailable
is 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:
describeDbSnapshotsRequest
- 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
-
waitUntilDBSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotDeleted(DescribeDbSnapshotsRequest describeDbSnapshotsRequest)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbSnapshotsRequest
- 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.
-
waitUntilDBSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotDeleted(Consumer<DescribeDbSnapshotsRequest.Builder> describeDbSnapshotsRequest)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotDeleted
is 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
DescribeDbSnapshotsRequest.builder()
- Parameters:
describeDbSnapshotsRequest
- 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
-
waitUntilDBSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotDeleted(DescribeDbSnapshotsRequest describeDbSnapshotsRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDbSnapshotsRequest
- 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
-
waitUntilDBSnapshotDeleted
default CompletableFuture<WaiterResponse<DescribeDbSnapshotsResponse>> waitUntilDBSnapshotDeleted(Consumer<DescribeDbSnapshotsRequest.Builder> describeDbSnapshotsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeDBSnapshots(software.amazon.awssdk.services.rds.model.DescribeDbSnapshotsRequest)
API until the desired conditionDBSnapshotDeleted
is 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:
describeDbSnapshotsRequest
- 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
-
waitUntilTenantDatabaseAvailable
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseAvailable(DescribeTenantDatabasesRequest describeTenantDatabasesRequest)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTenantDatabasesRequest
- 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.
-
waitUntilTenantDatabaseAvailable
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseAvailable(Consumer<DescribeTenantDatabasesRequest.Builder> describeTenantDatabasesRequest)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseAvailable
is 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
DescribeTenantDatabasesRequest.builder()
- Parameters:
describeTenantDatabasesRequest
- 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
-
waitUntilTenantDatabaseAvailable
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseAvailable(DescribeTenantDatabasesRequest describeTenantDatabasesRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseAvailable
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTenantDatabasesRequest
- 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
-
waitUntilTenantDatabaseAvailable
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseAvailable(Consumer<DescribeTenantDatabasesRequest.Builder> describeTenantDatabasesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseAvailable
is 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:
describeTenantDatabasesRequest
- 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
-
waitUntilTenantDatabaseDeleted
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseDeleted(DescribeTenantDatabasesRequest describeTenantDatabasesRequest)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTenantDatabasesRequest
- 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.
-
waitUntilTenantDatabaseDeleted
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseDeleted(Consumer<DescribeTenantDatabasesRequest.Builder> describeTenantDatabasesRequest)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseDeleted
is 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
DescribeTenantDatabasesRequest.builder()
- Parameters:
describeTenantDatabasesRequest
- 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
-
waitUntilTenantDatabaseDeleted
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseDeleted(DescribeTenantDatabasesRequest describeTenantDatabasesRequest, WaiterOverrideConfiguration overrideConfig)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTenantDatabasesRequest
- 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
-
waitUntilTenantDatabaseDeleted
default CompletableFuture<WaiterResponse<DescribeTenantDatabasesResponse>> waitUntilTenantDatabaseDeleted(Consumer<DescribeTenantDatabasesRequest.Builder> describeTenantDatabasesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsRdsAsyncClient.describeTenantDatabases(software.amazon.awssdk.services.rds.model.DescribeTenantDatabasesRequest)
API until the desired conditionTenantDatabaseDeleted
is 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:
describeTenantDatabasesRequest
- 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 RdsAsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aRdsAsyncWaiter
.- Returns:
- a builder
-
create
static RdsAsyncWaiter create()
Create an instance ofRdsAsyncWaiter
with the default configuration.A default
RdsAsyncClient
will 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
RdsAsyncWaiter
-
-