Interface Ec2AsyncWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe @Immutable public interface Ec2AsyncWaiter 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 interfaceEc2AsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilBundleTaskComplete
default CompletableFuture<WaiterResponse<DescribeBundleTasksResponse>> waitUntilBundleTaskComplete(DescribeBundleTasksRequest describeBundleTasksRequest)
PollsEc2AsyncClient.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)API until the desired conditionBundleTaskCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeBundleTasksRequest- 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.
-
waitUntilBundleTaskComplete
default CompletableFuture<WaiterResponse<DescribeBundleTasksResponse>> waitUntilBundleTaskComplete(Consumer<DescribeBundleTasksRequest.Builder> describeBundleTasksRequest)
PollsEc2AsyncClient.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)API until the desired conditionBundleTaskCompleteis 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
DescribeBundleTasksRequest.builder()- Parameters:
describeBundleTasksRequest- 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
-
waitUntilBundleTaskComplete
default CompletableFuture<WaiterResponse<DescribeBundleTasksResponse>> waitUntilBundleTaskComplete(DescribeBundleTasksRequest describeBundleTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)API until the desired conditionBundleTaskCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeBundleTasksRequest- 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
-
waitUntilBundleTaskComplete
default CompletableFuture<WaiterResponse<DescribeBundleTasksResponse>> waitUntilBundleTaskComplete(Consumer<DescribeBundleTasksRequest.Builder> describeBundleTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)API until the desired conditionBundleTaskCompleteis 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:
describeBundleTasksRequest- 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
-
waitUntilConversionTaskCancelled
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCancelled(DescribeConversionTasksRequest describeConversionTasksRequest)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCancelledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConversionTasksRequest- 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.
-
waitUntilConversionTaskCancelled
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCancelled(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCancelledis 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
DescribeConversionTasksRequest.builder()- Parameters:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskCancelled
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCancelled(DescribeConversionTasksRequest describeConversionTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCancelledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskCancelled
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCancelled(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCancelledis 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:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskCompleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCompleted(DescribeConversionTasksRequest describeConversionTasksRequest)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCompletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConversionTasksRequest- 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.
-
waitUntilConversionTaskCompleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCompleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCompletedis 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
DescribeConversionTasksRequest.builder()- Parameters:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskCompleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCompleted(DescribeConversionTasksRequest describeConversionTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCompletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskCompleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskCompleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskCompletedis 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:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskDeleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskDeleted(DescribeConversionTasksRequest describeConversionTasksRequest)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConversionTasksRequest- 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.
-
waitUntilConversionTaskDeleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskDeleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskDeletedis 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
DescribeConversionTasksRequest.builder()- Parameters:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskDeleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskDeleted(DescribeConversionTasksRequest describeConversionTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeConversionTasksRequest- 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
-
waitUntilConversionTaskDeleted
default CompletableFuture<WaiterResponse<DescribeConversionTasksResponse>> waitUntilConversionTaskDeleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)API until the desired conditionConversionTaskDeletedis 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:
describeConversionTasksRequest- 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
-
waitUntilCustomerGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeCustomerGatewaysResponse>> waitUntilCustomerGatewayAvailable(DescribeCustomerGatewaysRequest describeCustomerGatewaysRequest)
PollsEc2AsyncClient.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)API until the desired conditionCustomerGatewayAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeCustomerGatewaysRequest- 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.
-
waitUntilCustomerGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeCustomerGatewaysResponse>> waitUntilCustomerGatewayAvailable(Consumer<DescribeCustomerGatewaysRequest.Builder> describeCustomerGatewaysRequest)
PollsEc2AsyncClient.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)API until the desired conditionCustomerGatewayAvailableis 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
DescribeCustomerGatewaysRequest.builder()- Parameters:
describeCustomerGatewaysRequest- 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
-
waitUntilCustomerGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeCustomerGatewaysResponse>> waitUntilCustomerGatewayAvailable(DescribeCustomerGatewaysRequest describeCustomerGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)API until the desired conditionCustomerGatewayAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeCustomerGatewaysRequest- 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
-
waitUntilCustomerGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeCustomerGatewaysResponse>> waitUntilCustomerGatewayAvailable(Consumer<DescribeCustomerGatewaysRequest.Builder> describeCustomerGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)API until the desired conditionCustomerGatewayAvailableis 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:
describeCustomerGatewaysRequest- 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
-
waitUntilExportTaskCancelled
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCancelled(DescribeExportTasksRequest describeExportTasksRequest)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCancelledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeExportTasksRequest- 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.
-
waitUntilExportTaskCancelled
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCancelled(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCancelledis 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
DescribeExportTasksRequest.builder()- Parameters:
describeExportTasksRequest- 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
-
waitUntilExportTaskCancelled
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCancelled(DescribeExportTasksRequest describeExportTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCancelledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeExportTasksRequest- 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
-
waitUntilExportTaskCancelled
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCancelled(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCancelledis 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:
describeExportTasksRequest- 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
-
waitUntilExportTaskCompleted
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCompleted(DescribeExportTasksRequest describeExportTasksRequest)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCompletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeExportTasksRequest- 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.
-
waitUntilExportTaskCompleted
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCompleted(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCompletedis 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
DescribeExportTasksRequest.builder()- Parameters:
describeExportTasksRequest- 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
-
waitUntilExportTaskCompleted
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCompleted(DescribeExportTasksRequest describeExportTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCompletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeExportTasksRequest- 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
-
waitUntilExportTaskCompleted
default CompletableFuture<WaiterResponse<DescribeExportTasksResponse>> waitUntilExportTaskCompleted(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)API until the desired conditionExportTaskCompletedis 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:
describeExportTasksRequest- 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
-
waitUntilImageAvailable
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageAvailable(DescribeImagesRequest describeImagesRequest)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImagesRequest- 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.
-
waitUntilImageAvailable
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageAvailable(Consumer<DescribeImagesRequest.Builder> describeImagesRequest)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageAvailableis 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
DescribeImagesRequest.builder()- Parameters:
describeImagesRequest- 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
-
waitUntilImageAvailable
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageAvailable(DescribeImagesRequest describeImagesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImagesRequest- 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
-
waitUntilImageAvailable
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageAvailable(Consumer<DescribeImagesRequest.Builder> describeImagesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageAvailableis 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:
describeImagesRequest- 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
-
waitUntilImageExists
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageExists(DescribeImagesRequest describeImagesRequest)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImagesRequest- 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.
-
waitUntilImageExists
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageExists(Consumer<DescribeImagesRequest.Builder> describeImagesRequest)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageExistsis 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
DescribeImagesRequest.builder()- Parameters:
describeImagesRequest- 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
-
waitUntilImageExists
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageExists(DescribeImagesRequest describeImagesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImagesRequest- 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
-
waitUntilImageExists
default CompletableFuture<WaiterResponse<DescribeImagesResponse>> waitUntilImageExists(Consumer<DescribeImagesRequest.Builder> describeImagesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)API until the desired conditionImageExistsis 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:
describeImagesRequest- 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
-
waitUntilImageUsageReportAvailable
default CompletableFuture<WaiterResponse<DescribeImageUsageReportsResponse>> waitUntilImageUsageReportAvailable(DescribeImageUsageReportsRequest describeImageUsageReportsRequest)
PollsEc2AsyncClient.describeImageUsageReports(software.amazon.awssdk.services.ec2.model.DescribeImageUsageReportsRequest)API until the desired conditionImageUsageReportAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImageUsageReportsRequest- 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.
-
waitUntilImageUsageReportAvailable
default CompletableFuture<WaiterResponse<DescribeImageUsageReportsResponse>> waitUntilImageUsageReportAvailable(Consumer<DescribeImageUsageReportsRequest.Builder> describeImageUsageReportsRequest)
PollsEc2AsyncClient.describeImageUsageReports(software.amazon.awssdk.services.ec2.model.DescribeImageUsageReportsRequest)API until the desired conditionImageUsageReportAvailableis 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
DescribeImageUsageReportsRequest.builder()- Parameters:
describeImageUsageReportsRequest- 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
-
waitUntilImageUsageReportAvailable
default CompletableFuture<WaiterResponse<DescribeImageUsageReportsResponse>> waitUntilImageUsageReportAvailable(DescribeImageUsageReportsRequest describeImageUsageReportsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeImageUsageReports(software.amazon.awssdk.services.ec2.model.DescribeImageUsageReportsRequest)API until the desired conditionImageUsageReportAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImageUsageReportsRequest- 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
-
waitUntilImageUsageReportAvailable
default CompletableFuture<WaiterResponse<DescribeImageUsageReportsResponse>> waitUntilImageUsageReportAvailable(Consumer<DescribeImageUsageReportsRequest.Builder> describeImageUsageReportsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeImageUsageReports(software.amazon.awssdk.services.ec2.model.DescribeImageUsageReportsRequest)API until the desired conditionImageUsageReportAvailableis 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:
describeImageUsageReportsRequest- 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
-
waitUntilInstanceExists
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceExists(DescribeInstancesRequest describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceExists
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceExists(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceExistsis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceExists
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceExists(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceExists
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceExists(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceExistsis 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:
describeInstancesRequest- 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
-
waitUntilInstanceRunning
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRunning(DescribeInstancesRequest describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceRunning
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRunning(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceRunningis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceRunning
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRunning(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceRunning
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRunning(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceRunningis 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:
describeInstancesRequest- 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
-
waitUntilInstanceStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilInstanceStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionInstanceStatusOkis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstanceStatusRequest- 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.
-
waitUntilInstanceStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilInstanceStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionInstanceStatusOkis 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
DescribeInstanceStatusRequest.builder()- Parameters:
describeInstanceStatusRequest- 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
-
waitUntilInstanceStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilInstanceStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionInstanceStatusOkis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstanceStatusRequest- 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
-
waitUntilInstanceStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilInstanceStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionInstanceStatusOkis 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:
describeInstanceStatusRequest- 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
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis 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:
describeInstancesRequest- 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
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis 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:
describeInstancesRequest- 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
-
waitUntilInternetGatewayExists
default CompletableFuture<WaiterResponse<DescribeInternetGatewaysResponse>> waitUntilInternetGatewayExists(DescribeInternetGatewaysRequest describeInternetGatewaysRequest)
PollsEc2AsyncClient.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)API until the desired conditionInternetGatewayExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInternetGatewaysRequest- 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.
-
waitUntilInternetGatewayExists
default CompletableFuture<WaiterResponse<DescribeInternetGatewaysResponse>> waitUntilInternetGatewayExists(Consumer<DescribeInternetGatewaysRequest.Builder> describeInternetGatewaysRequest)
PollsEc2AsyncClient.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)API until the desired conditionInternetGatewayExistsis 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
DescribeInternetGatewaysRequest.builder()- Parameters:
describeInternetGatewaysRequest- 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
-
waitUntilInternetGatewayExists
default CompletableFuture<WaiterResponse<DescribeInternetGatewaysResponse>> waitUntilInternetGatewayExists(DescribeInternetGatewaysRequest describeInternetGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)API until the desired conditionInternetGatewayExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInternetGatewaysRequest- 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
-
waitUntilInternetGatewayExists
default CompletableFuture<WaiterResponse<DescribeInternetGatewaysResponse>> waitUntilInternetGatewayExists(Consumer<DescribeInternetGatewaysRequest.Builder> describeInternetGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)API until the desired conditionInternetGatewayExistsis 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:
describeInternetGatewaysRequest- 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
-
waitUntilKeyPairExists
default CompletableFuture<WaiterResponse<DescribeKeyPairsResponse>> waitUntilKeyPairExists(DescribeKeyPairsRequest describeKeyPairsRequest)
PollsEc2AsyncClient.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)API until the desired conditionKeyPairExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeKeyPairsRequest- 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.
-
waitUntilKeyPairExists
default CompletableFuture<WaiterResponse<DescribeKeyPairsResponse>> waitUntilKeyPairExists(Consumer<DescribeKeyPairsRequest.Builder> describeKeyPairsRequest)
PollsEc2AsyncClient.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)API until the desired conditionKeyPairExistsis 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
DescribeKeyPairsRequest.builder()- Parameters:
describeKeyPairsRequest- 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
-
waitUntilKeyPairExists
default CompletableFuture<WaiterResponse<DescribeKeyPairsResponse>> waitUntilKeyPairExists(DescribeKeyPairsRequest describeKeyPairsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)API until the desired conditionKeyPairExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeKeyPairsRequest- 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
-
waitUntilKeyPairExists
default CompletableFuture<WaiterResponse<DescribeKeyPairsResponse>> waitUntilKeyPairExists(Consumer<DescribeKeyPairsRequest.Builder> describeKeyPairsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)API until the desired conditionKeyPairExistsis 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:
describeKeyPairsRequest- 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
-
waitUntilNatGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayAvailable(DescribeNatGatewaysRequest describeNatGatewaysRequest)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNatGatewaysRequest- 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.
-
waitUntilNatGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayAvailable(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayAvailableis 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
DescribeNatGatewaysRequest.builder()- Parameters:
describeNatGatewaysRequest- 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
-
waitUntilNatGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayAvailable(DescribeNatGatewaysRequest describeNatGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNatGatewaysRequest- 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
-
waitUntilNatGatewayAvailable
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayAvailable(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayAvailableis 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:
describeNatGatewaysRequest- 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
-
waitUntilNatGatewayDeleted
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayDeleted(DescribeNatGatewaysRequest describeNatGatewaysRequest)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNatGatewaysRequest- 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.
-
waitUntilNatGatewayDeleted
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayDeleted(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayDeletedis 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
DescribeNatGatewaysRequest.builder()- Parameters:
describeNatGatewaysRequest- 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
-
waitUntilNatGatewayDeleted
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayDeleted(DescribeNatGatewaysRequest describeNatGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNatGatewaysRequest- 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
-
waitUntilNatGatewayDeleted
default CompletableFuture<WaiterResponse<DescribeNatGatewaysResponse>> waitUntilNatGatewayDeleted(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)API until the desired conditionNatGatewayDeletedis 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:
describeNatGatewaysRequest- 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
-
waitUntilNetworkInterfaceAvailable
default CompletableFuture<WaiterResponse<DescribeNetworkInterfacesResponse>> waitUntilNetworkInterfaceAvailable(DescribeNetworkInterfacesRequest describeNetworkInterfacesRequest)
PollsEc2AsyncClient.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)API until the desired conditionNetworkInterfaceAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNetworkInterfacesRequest- 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.
-
waitUntilNetworkInterfaceAvailable
default CompletableFuture<WaiterResponse<DescribeNetworkInterfacesResponse>> waitUntilNetworkInterfaceAvailable(Consumer<DescribeNetworkInterfacesRequest.Builder> describeNetworkInterfacesRequest)
PollsEc2AsyncClient.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)API until the desired conditionNetworkInterfaceAvailableis 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
DescribeNetworkInterfacesRequest.builder()- Parameters:
describeNetworkInterfacesRequest- 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
-
waitUntilNetworkInterfaceAvailable
default CompletableFuture<WaiterResponse<DescribeNetworkInterfacesResponse>> waitUntilNetworkInterfaceAvailable(DescribeNetworkInterfacesRequest describeNetworkInterfacesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)API until the desired conditionNetworkInterfaceAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNetworkInterfacesRequest- 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
-
waitUntilNetworkInterfaceAvailable
default CompletableFuture<WaiterResponse<DescribeNetworkInterfacesResponse>> waitUntilNetworkInterfaceAvailable(Consumer<DescribeNetworkInterfacesRequest.Builder> describeNetworkInterfacesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)API until the desired conditionNetworkInterfaceAvailableis 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:
describeNetworkInterfacesRequest- 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
-
waitUntilPasswordDataAvailable
default CompletableFuture<WaiterResponse<GetPasswordDataResponse>> waitUntilPasswordDataAvailable(GetPasswordDataRequest getPasswordDataRequest)
PollsEc2AsyncClient.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)API until the desired conditionPasswordDataAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getPasswordDataRequest- 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.
-
waitUntilPasswordDataAvailable
default CompletableFuture<WaiterResponse<GetPasswordDataResponse>> waitUntilPasswordDataAvailable(Consumer<GetPasswordDataRequest.Builder> getPasswordDataRequest)
PollsEc2AsyncClient.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)API until the desired conditionPasswordDataAvailableis 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
GetPasswordDataRequest.builder()- Parameters:
getPasswordDataRequest- 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
-
waitUntilPasswordDataAvailable
default CompletableFuture<WaiterResponse<GetPasswordDataResponse>> waitUntilPasswordDataAvailable(GetPasswordDataRequest getPasswordDataRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)API until the desired conditionPasswordDataAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getPasswordDataRequest- 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
-
waitUntilPasswordDataAvailable
default CompletableFuture<WaiterResponse<GetPasswordDataResponse>> waitUntilPasswordDataAvailable(Consumer<GetPasswordDataRequest.Builder> getPasswordDataRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)API until the desired conditionPasswordDataAvailableis 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:
getPasswordDataRequest- 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
-
waitUntilSecurityGroupExists
default CompletableFuture<WaiterResponse<DescribeSecurityGroupsResponse>> waitUntilSecurityGroupExists(DescribeSecurityGroupsRequest describeSecurityGroupsRequest)
PollsEc2AsyncClient.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)API until the desired conditionSecurityGroupExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSecurityGroupsRequest- 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.
-
waitUntilSecurityGroupExists
default CompletableFuture<WaiterResponse<DescribeSecurityGroupsResponse>> waitUntilSecurityGroupExists(Consumer<DescribeSecurityGroupsRequest.Builder> describeSecurityGroupsRequest)
PollsEc2AsyncClient.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)API until the desired conditionSecurityGroupExistsis 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
DescribeSecurityGroupsRequest.builder()- Parameters:
describeSecurityGroupsRequest- 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
-
waitUntilSecurityGroupExists
default CompletableFuture<WaiterResponse<DescribeSecurityGroupsResponse>> waitUntilSecurityGroupExists(DescribeSecurityGroupsRequest describeSecurityGroupsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)API until the desired conditionSecurityGroupExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSecurityGroupsRequest- 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
-
waitUntilSecurityGroupExists
default CompletableFuture<WaiterResponse<DescribeSecurityGroupsResponse>> waitUntilSecurityGroupExists(Consumer<DescribeSecurityGroupsRequest.Builder> describeSecurityGroupsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)API until the desired conditionSecurityGroupExistsis 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:
describeSecurityGroupsRequest- 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
-
waitUntilSecurityGroupVpcAssociationAssociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationAssociated(DescribeSecurityGroupVpcAssociationsRequest describeSecurityGroupVpcAssociationsRequest)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationAssociatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSecurityGroupVpcAssociationsRequest- 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.
-
waitUntilSecurityGroupVpcAssociationAssociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationAssociated(Consumer<DescribeSecurityGroupVpcAssociationsRequest.Builder> describeSecurityGroupVpcAssociationsRequest)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationAssociatedis 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
DescribeSecurityGroupVpcAssociationsRequest.builder()- Parameters:
describeSecurityGroupVpcAssociationsRequest- 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
-
waitUntilSecurityGroupVpcAssociationAssociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationAssociated(DescribeSecurityGroupVpcAssociationsRequest describeSecurityGroupVpcAssociationsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationAssociatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSecurityGroupVpcAssociationsRequest- 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
-
waitUntilSecurityGroupVpcAssociationAssociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationAssociated(Consumer<DescribeSecurityGroupVpcAssociationsRequest.Builder> describeSecurityGroupVpcAssociationsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationAssociatedis 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:
describeSecurityGroupVpcAssociationsRequest- 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
-
waitUntilSecurityGroupVpcAssociationDisassociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationDisassociated(DescribeSecurityGroupVpcAssociationsRequest describeSecurityGroupVpcAssociationsRequest)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationDisassociatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSecurityGroupVpcAssociationsRequest- 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.
-
waitUntilSecurityGroupVpcAssociationDisassociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationDisassociated(Consumer<DescribeSecurityGroupVpcAssociationsRequest.Builder> describeSecurityGroupVpcAssociationsRequest)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationDisassociatedis 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
DescribeSecurityGroupVpcAssociationsRequest.builder()- Parameters:
describeSecurityGroupVpcAssociationsRequest- 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
-
waitUntilSecurityGroupVpcAssociationDisassociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationDisassociated(DescribeSecurityGroupVpcAssociationsRequest describeSecurityGroupVpcAssociationsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationDisassociatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSecurityGroupVpcAssociationsRequest- 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
-
waitUntilSecurityGroupVpcAssociationDisassociated
default CompletableFuture<WaiterResponse<DescribeSecurityGroupVpcAssociationsResponse>> waitUntilSecurityGroupVpcAssociationDisassociated(Consumer<DescribeSecurityGroupVpcAssociationsRequest.Builder> describeSecurityGroupVpcAssociationsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeSecurityGroupVpcAssociations(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupVpcAssociationsRequest)API until the desired conditionSecurityGroupVpcAssociationDisassociatedis 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:
describeSecurityGroupVpcAssociationsRequest- 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
-
waitUntilSnapshotCompleted
default CompletableFuture<WaiterResponse<DescribeSnapshotsResponse>> waitUntilSnapshotCompleted(DescribeSnapshotsRequest describeSnapshotsRequest)
PollsEc2AsyncClient.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)API until the desired conditionSnapshotCompletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSnapshotsRequest- 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.
-
waitUntilSnapshotCompleted
default CompletableFuture<WaiterResponse<DescribeSnapshotsResponse>> waitUntilSnapshotCompleted(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest)
PollsEc2AsyncClient.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)API until the desired conditionSnapshotCompletedis 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
DescribeSnapshotsRequest.builder()- Parameters:
describeSnapshotsRequest- 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
-
waitUntilSnapshotCompleted
default CompletableFuture<WaiterResponse<DescribeSnapshotsResponse>> waitUntilSnapshotCompleted(DescribeSnapshotsRequest describeSnapshotsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)API until the desired conditionSnapshotCompletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSnapshotsRequest- 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
-
waitUntilSnapshotCompleted
default CompletableFuture<WaiterResponse<DescribeSnapshotsResponse>> waitUntilSnapshotCompleted(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)API until the desired conditionSnapshotCompletedis 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:
describeSnapshotsRequest- 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
-
waitUntilSnapshotImported
default CompletableFuture<WaiterResponse<DescribeImportSnapshotTasksResponse>> waitUntilSnapshotImported(DescribeImportSnapshotTasksRequest describeImportSnapshotTasksRequest)
PollsEc2AsyncClient.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)API until the desired conditionSnapshotImportedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImportSnapshotTasksRequest- 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.
-
waitUntilSnapshotImported
default CompletableFuture<WaiterResponse<DescribeImportSnapshotTasksResponse>> waitUntilSnapshotImported(Consumer<DescribeImportSnapshotTasksRequest.Builder> describeImportSnapshotTasksRequest)
PollsEc2AsyncClient.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)API until the desired conditionSnapshotImportedis 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
DescribeImportSnapshotTasksRequest.builder()- Parameters:
describeImportSnapshotTasksRequest- 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
-
waitUntilSnapshotImported
default CompletableFuture<WaiterResponse<DescribeImportSnapshotTasksResponse>> waitUntilSnapshotImported(DescribeImportSnapshotTasksRequest describeImportSnapshotTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)API until the desired conditionSnapshotImportedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeImportSnapshotTasksRequest- 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
-
waitUntilSnapshotImported
default CompletableFuture<WaiterResponse<DescribeImportSnapshotTasksResponse>> waitUntilSnapshotImported(Consumer<DescribeImportSnapshotTasksRequest.Builder> describeImportSnapshotTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)API until the desired conditionSnapshotImportedis 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:
describeImportSnapshotTasksRequest- 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
-
waitUntilSpotInstanceRequestFulfilled
default CompletableFuture<WaiterResponse<DescribeSpotInstanceRequestsResponse>> waitUntilSpotInstanceRequestFulfilled(DescribeSpotInstanceRequestsRequest describeSpotInstanceRequestsRequest)
PollsEc2AsyncClient.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)API until the desired conditionSpotInstanceRequestFulfilledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSpotInstanceRequestsRequest- 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.
-
waitUntilSpotInstanceRequestFulfilled
default CompletableFuture<WaiterResponse<DescribeSpotInstanceRequestsResponse>> waitUntilSpotInstanceRequestFulfilled(Consumer<DescribeSpotInstanceRequestsRequest.Builder> describeSpotInstanceRequestsRequest)
PollsEc2AsyncClient.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)API until the desired conditionSpotInstanceRequestFulfilledis 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
DescribeSpotInstanceRequestsRequest.builder()- Parameters:
describeSpotInstanceRequestsRequest- 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
-
waitUntilSpotInstanceRequestFulfilled
default CompletableFuture<WaiterResponse<DescribeSpotInstanceRequestsResponse>> waitUntilSpotInstanceRequestFulfilled(DescribeSpotInstanceRequestsRequest describeSpotInstanceRequestsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)API until the desired conditionSpotInstanceRequestFulfilledis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSpotInstanceRequestsRequest- 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
-
waitUntilSpotInstanceRequestFulfilled
default CompletableFuture<WaiterResponse<DescribeSpotInstanceRequestsResponse>> waitUntilSpotInstanceRequestFulfilled(Consumer<DescribeSpotInstanceRequestsRequest.Builder> describeSpotInstanceRequestsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)API until the desired conditionSpotInstanceRequestFulfilledis 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:
describeSpotInstanceRequestsRequest- 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
-
waitUntilStoreImageTaskComplete
default CompletableFuture<WaiterResponse<DescribeStoreImageTasksResponse>> waitUntilStoreImageTaskComplete(DescribeStoreImageTasksRequest describeStoreImageTasksRequest)
PollsEc2AsyncClient.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)API until the desired conditionStoreImageTaskCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStoreImageTasksRequest- 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.
-
waitUntilStoreImageTaskComplete
default CompletableFuture<WaiterResponse<DescribeStoreImageTasksResponse>> waitUntilStoreImageTaskComplete(Consumer<DescribeStoreImageTasksRequest.Builder> describeStoreImageTasksRequest)
PollsEc2AsyncClient.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)API until the desired conditionStoreImageTaskCompleteis 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
DescribeStoreImageTasksRequest.builder()- Parameters:
describeStoreImageTasksRequest- 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
-
waitUntilStoreImageTaskComplete
default CompletableFuture<WaiterResponse<DescribeStoreImageTasksResponse>> waitUntilStoreImageTaskComplete(DescribeStoreImageTasksRequest describeStoreImageTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)API until the desired conditionStoreImageTaskCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStoreImageTasksRequest- 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
-
waitUntilStoreImageTaskComplete
default CompletableFuture<WaiterResponse<DescribeStoreImageTasksResponse>> waitUntilStoreImageTaskComplete(Consumer<DescribeStoreImageTasksRequest.Builder> describeStoreImageTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)API until the desired conditionStoreImageTaskCompleteis 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:
describeStoreImageTasksRequest- 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
-
waitUntilSubnetAvailable
default CompletableFuture<WaiterResponse<DescribeSubnetsResponse>> waitUntilSubnetAvailable(DescribeSubnetsRequest describeSubnetsRequest)
PollsEc2AsyncClient.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)API until the desired conditionSubnetAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSubnetsRequest- 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.
-
waitUntilSubnetAvailable
default CompletableFuture<WaiterResponse<DescribeSubnetsResponse>> waitUntilSubnetAvailable(Consumer<DescribeSubnetsRequest.Builder> describeSubnetsRequest)
PollsEc2AsyncClient.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)API until the desired conditionSubnetAvailableis 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
DescribeSubnetsRequest.builder()- Parameters:
describeSubnetsRequest- 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
-
waitUntilSubnetAvailable
default CompletableFuture<WaiterResponse<DescribeSubnetsResponse>> waitUntilSubnetAvailable(DescribeSubnetsRequest describeSubnetsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)API until the desired conditionSubnetAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeSubnetsRequest- 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
-
waitUntilSubnetAvailable
default CompletableFuture<WaiterResponse<DescribeSubnetsResponse>> waitUntilSubnetAvailable(Consumer<DescribeSubnetsRequest.Builder> describeSubnetsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)API until the desired conditionSubnetAvailableis 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:
describeSubnetsRequest- 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
-
waitUntilSystemStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilSystemStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionSystemStatusOkis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstanceStatusRequest- 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.
-
waitUntilSystemStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilSystemStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionSystemStatusOkis 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
DescribeInstanceStatusRequest.builder()- Parameters:
describeInstanceStatusRequest- 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
-
waitUntilSystemStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilSystemStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionSystemStatusOkis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstanceStatusRequest- 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
-
waitUntilSystemStatusOk
default CompletableFuture<WaiterResponse<DescribeInstanceStatusResponse>> waitUntilSystemStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)API until the desired conditionSystemStatusOkis 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:
describeInstanceStatusRequest- 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
-
waitUntilVolumeAvailable
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeAvailable(DescribeVolumesRequest describeVolumesRequest)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVolumesRequest- 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.
-
waitUntilVolumeAvailable
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeAvailable(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeAvailableis 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
DescribeVolumesRequest.builder()- Parameters:
describeVolumesRequest- 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
-
waitUntilVolumeAvailable
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeAvailable(DescribeVolumesRequest describeVolumesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVolumesRequest- 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
-
waitUntilVolumeAvailable
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeAvailable(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeAvailableis 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:
describeVolumesRequest- 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
-
waitUntilVolumeDeleted
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeDeleted(DescribeVolumesRequest describeVolumesRequest)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVolumesRequest- 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.
-
waitUntilVolumeDeleted
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeDeleted(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeDeletedis 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
DescribeVolumesRequest.builder()- Parameters:
describeVolumesRequest- 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
-
waitUntilVolumeDeleted
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeDeleted(DescribeVolumesRequest describeVolumesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVolumesRequest- 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
-
waitUntilVolumeDeleted
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeDeleted(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeDeletedis 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:
describeVolumesRequest- 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
-
waitUntilVolumeInUse
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeInUse(DescribeVolumesRequest describeVolumesRequest)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeInUseis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVolumesRequest- 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.
-
waitUntilVolumeInUse
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeInUse(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeInUseis 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
DescribeVolumesRequest.builder()- Parameters:
describeVolumesRequest- 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
-
waitUntilVolumeInUse
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeInUse(DescribeVolumesRequest describeVolumesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeInUseis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVolumesRequest- 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
-
waitUntilVolumeInUse
default CompletableFuture<WaiterResponse<DescribeVolumesResponse>> waitUntilVolumeInUse(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)API until the desired conditionVolumeInUseis 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:
describeVolumesRequest- 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
-
waitUntilVpcAvailable
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcAvailable(DescribeVpcsRequest describeVpcsRequest)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcsRequest- 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.
-
waitUntilVpcAvailable
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcAvailable(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcAvailableis 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
DescribeVpcsRequest.builder()- Parameters:
describeVpcsRequest- 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
-
waitUntilVpcAvailable
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcAvailable(DescribeVpcsRequest describeVpcsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcsRequest- 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
-
waitUntilVpcAvailable
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcAvailable(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcAvailableis 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:
describeVpcsRequest- 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
-
waitUntilVpcExists
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcExists(DescribeVpcsRequest describeVpcsRequest)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcsRequest- 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.
-
waitUntilVpcExists
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcExists(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcExistsis 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
DescribeVpcsRequest.builder()- Parameters:
describeVpcsRequest- 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
-
waitUntilVpcExists
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcExists(DescribeVpcsRequest describeVpcsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcsRequest- 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
-
waitUntilVpcExists
default CompletableFuture<WaiterResponse<DescribeVpcsResponse>> waitUntilVpcExists(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)API until the desired conditionVpcExistsis 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:
describeVpcsRequest- 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
-
waitUntilVpcPeeringConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionDeleted(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcPeeringConnectionsRequest- 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.
-
waitUntilVpcPeeringConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionDeleted(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionDeletedis 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
DescribeVpcPeeringConnectionsRequest.builder()- Parameters:
describeVpcPeeringConnectionsRequest- 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
-
waitUntilVpcPeeringConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionDeleted(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcPeeringConnectionsRequest- 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
-
waitUntilVpcPeeringConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionDeleted(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionDeletedis 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:
describeVpcPeeringConnectionsRequest- 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
-
waitUntilVpcPeeringConnectionExists
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionExists(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcPeeringConnectionsRequest- 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.
-
waitUntilVpcPeeringConnectionExists
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionExists(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionExistsis 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
DescribeVpcPeeringConnectionsRequest.builder()- Parameters:
describeVpcPeeringConnectionsRequest- 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
-
waitUntilVpcPeeringConnectionExists
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionExists(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpcPeeringConnectionsRequest- 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
-
waitUntilVpcPeeringConnectionExists
default CompletableFuture<WaiterResponse<DescribeVpcPeeringConnectionsResponse>> waitUntilVpcPeeringConnectionExists(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)API until the desired conditionVpcPeeringConnectionExistsis 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:
describeVpcPeeringConnectionsRequest- 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
-
waitUntilVpnConnectionAvailable
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionAvailable(DescribeVpnConnectionsRequest describeVpnConnectionsRequest)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpnConnectionsRequest- 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.
-
waitUntilVpnConnectionAvailable
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionAvailable(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionAvailableis 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
DescribeVpnConnectionsRequest.builder()- Parameters:
describeVpnConnectionsRequest- 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
-
waitUntilVpnConnectionAvailable
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionAvailable(DescribeVpnConnectionsRequest describeVpnConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpnConnectionsRequest- 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
-
waitUntilVpnConnectionAvailable
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionAvailable(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionAvailableis 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:
describeVpnConnectionsRequest- 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
-
waitUntilVpnConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionDeleted(DescribeVpnConnectionsRequest describeVpnConnectionsRequest)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpnConnectionsRequest- 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.
-
waitUntilVpnConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionDeleted(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionDeletedis 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
DescribeVpnConnectionsRequest.builder()- Parameters:
describeVpnConnectionsRequest- 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
-
waitUntilVpnConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionDeleted(DescribeVpnConnectionsRequest describeVpnConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeVpnConnectionsRequest- 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
-
waitUntilVpnConnectionDeleted
default CompletableFuture<WaiterResponse<DescribeVpnConnectionsResponse>> waitUntilVpnConnectionDeleted(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2AsyncClient.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)API until the desired conditionVpnConnectionDeletedis 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:
describeVpnConnectionsRequest- 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 Ec2AsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aEc2AsyncWaiter.- Returns:
- a builder
-
create
static Ec2AsyncWaiter create()
Create an instance ofEc2AsyncWaiterwith the default configuration.A default
Ec2AsyncClientwill 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
Ec2AsyncWaiter
-
-