Interface DatabaseMigrationAsyncWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface DatabaseMigrationAsyncWaiter 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 interfaceDatabaseMigrationAsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilEndpointDeleted
default CompletableFuture<WaiterResponse<DescribeEndpointsResponse>> waitUntilEndpointDeleted(DescribeEndpointsRequest describeEndpointsRequest)
PollsDatabaseMigrationAsyncClient.describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)API until the desired conditionEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeEndpointsRequest- 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.
-
waitUntilEndpointDeleted
default CompletableFuture<WaiterResponse<DescribeEndpointsResponse>> waitUntilEndpointDeleted(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)
PollsDatabaseMigrationAsyncClient.describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)API until the desired conditionEndpointDeletedis 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
DescribeEndpointsRequest.builder()- Parameters:
describeEndpointsRequest- 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
-
waitUntilEndpointDeleted
default CompletableFuture<WaiterResponse<DescribeEndpointsResponse>> waitUntilEndpointDeleted(DescribeEndpointsRequest describeEndpointsRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)API until the desired conditionEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeEndpointsRequest- 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
-
waitUntilEndpointDeleted
default CompletableFuture<WaiterResponse<DescribeEndpointsResponse>> waitUntilEndpointDeleted(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)API until the desired conditionEndpointDeletedis 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:
describeEndpointsRequest- 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
-
waitUntilReplicationInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceAvailable(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationInstancesRequest- 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.
-
waitUntilReplicationInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceAvailable(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceAvailableis 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
DescribeReplicationInstancesRequest.builder()- Parameters:
describeReplicationInstancesRequest- 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
-
waitUntilReplicationInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceAvailable(DescribeReplicationInstancesRequest describeReplicationInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationInstancesRequest- 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
-
waitUntilReplicationInstanceAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceAvailable(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceAvailableis 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:
describeReplicationInstancesRequest- 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
-
waitUntilReplicationInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceDeleted(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationInstancesRequest- 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.
-
waitUntilReplicationInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceDeleted(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceDeletedis 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
DescribeReplicationInstancesRequest.builder()- Parameters:
describeReplicationInstancesRequest- 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
-
waitUntilReplicationInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceDeleted(DescribeReplicationInstancesRequest describeReplicationInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationInstancesRequest- 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
-
waitUntilReplicationInstanceDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationInstancesResponse>> waitUntilReplicationInstanceDeleted(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)API until the desired conditionReplicationInstanceDeletedis 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:
describeReplicationInstancesRequest- 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
-
waitUntilReplicationTaskDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskDeleted(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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.
-
waitUntilReplicationTaskDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskDeleted(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskDeletedis 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
DescribeReplicationTasksRequest.builder()- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskDeleted(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskDeleted(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskDeletedis 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:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskReady
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskReady(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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.
-
waitUntilReplicationTaskReady
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskReady(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskReadyis 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
DescribeReplicationTasksRequest.builder()- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskReady
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskReady(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskReady
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskReady(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskReadyis 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:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskRunning
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskRunning(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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.
-
waitUntilReplicationTaskRunning
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskRunning(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskRunningis 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
DescribeReplicationTasksRequest.builder()- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskRunning
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskRunning(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskRunning
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskRunning(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskRunningis 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:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskStopped
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskStopped(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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.
-
waitUntilReplicationTaskStopped
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskStopped(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskStoppedis 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
DescribeReplicationTasksRequest.builder()- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskStopped
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskStopped(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationTasksRequest- 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
-
waitUntilReplicationTaskStopped
default CompletableFuture<WaiterResponse<DescribeReplicationTasksResponse>> waitUntilReplicationTaskStopped(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)API until the desired conditionReplicationTaskStoppedis 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:
describeReplicationTasksRequest- 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
-
waitUntilTestConnectionSucceeds
default CompletableFuture<WaiterResponse<DescribeConnectionsResponse>> waitUntilTestConnectionSucceeds(DescribeConnectionsRequest describeConnectionsRequest)
PollsDatabaseMigrationAsyncClient.describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)API until the desired conditionTestConnectionSucceedsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConnectionsRequest- 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.
-
waitUntilTestConnectionSucceeds
default CompletableFuture<WaiterResponse<DescribeConnectionsResponse>> waitUntilTestConnectionSucceeds(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest)
PollsDatabaseMigrationAsyncClient.describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)API until the desired conditionTestConnectionSucceedsis 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
DescribeConnectionsRequest.builder()- Parameters:
describeConnectionsRequest- 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
-
waitUntilTestConnectionSucceeds
default CompletableFuture<WaiterResponse<DescribeConnectionsResponse>> waitUntilTestConnectionSucceeds(DescribeConnectionsRequest describeConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationAsyncClient.describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)API until the desired conditionTestConnectionSucceedsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConnectionsRequest- 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
-
waitUntilTestConnectionSucceeds
default CompletableFuture<WaiterResponse<DescribeConnectionsResponse>> waitUntilTestConnectionSucceeds(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationAsyncClient.describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)API until the desired conditionTestConnectionSucceedsis 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:
describeConnectionsRequest- 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 DatabaseMigrationAsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aDatabaseMigrationAsyncWaiter.- Returns:
- a builder
-
create
static DatabaseMigrationAsyncWaiter create()
Create an instance ofDatabaseMigrationAsyncWaiterwith the default configuration.A default
DatabaseMigrationAsyncClientwill 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
DatabaseMigrationAsyncWaiter
-
-