Interface DatabaseMigrationWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface DatabaseMigrationWaiter 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 interfaceDatabaseMigrationWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilEndpointDeleted
default WaiterResponse<DescribeEndpointsResponse> waitUntilEndpointDeleted(DescribeEndpointsRequest describeEndpointsRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEndpointDeleted
default WaiterResponse<DescribeEndpointsResponse> waitUntilEndpointDeleted(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEndpointDeleted
default WaiterResponse<DescribeEndpointsResponse> waitUntilEndpointDeleted(DescribeEndpointsRequest describeEndpointsRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeEndpointsResponse> waitUntilEndpointDeleted(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceAvailable(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationInstanceAvailable
default WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceAvailable(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationInstanceAvailable
default WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceAvailable(DescribeReplicationInstancesRequest describeReplicationInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceAvailable(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceDeleted(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationInstanceDeleted
default WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceDeleted(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationInstanceDeleted
default WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceDeleted(DescribeReplicationInstancesRequest describeReplicationInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationInstancesResponse> waitUntilReplicationInstanceDeleted(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskDeleted(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskDeleted
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskDeleted(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskDeleted
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskDeleted(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskDeleted(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskReady(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskReady
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskReady(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskReady
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskReady(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskReady(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskRunning(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskRunning
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskRunning(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskRunning
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskRunning(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskRunning(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskStopped(DescribeReplicationTasksRequest describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskStopped
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskStopped(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilReplicationTaskStopped
default WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskStopped(DescribeReplicationTasksRequest describeReplicationTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeReplicationTasksResponse> waitUntilReplicationTaskStopped(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeConnectionsResponse> waitUntilTestConnectionSucceeds(DescribeConnectionsRequest describeConnectionsRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTestConnectionSucceeds
default WaiterResponse<DescribeConnectionsResponse> waitUntilTestConnectionSucceeds(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest)
PollsDatabaseMigrationClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTestConnectionSucceeds
default WaiterResponse<DescribeConnectionsResponse> waitUntilTestConnectionSucceeds(DescribeConnectionsRequest describeConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsDatabaseMigrationClient.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 WaiterResponse<DescribeConnectionsResponse> waitUntilTestConnectionSucceeds(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDatabaseMigrationClient.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 DatabaseMigrationWaiter.Builder builder()
Create a builder that can be used to configure and create aDatabaseMigrationWaiter.- Returns:
- a builder
-
create
static DatabaseMigrationWaiter create()
Create an instance ofDatabaseMigrationWaiterwith the default configuration.A default
DatabaseMigrationClientwill 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
DatabaseMigrationWaiter
-
-