Interface Ec2Waiter
-
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface Ec2Waiter extends SdkAutoCloseable
Waiter utility class that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state. This can be created using the staticbuilder()
method
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Ec2Waiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilBundleTaskComplete
default WaiterResponse<DescribeBundleTasksResponse> waitUntilBundleTaskComplete(DescribeBundleTasksRequest describeBundleTasksRequest)
PollsEc2Client.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)
API until the desired conditionBundleTaskComplete
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBundleTaskComplete
default WaiterResponse<DescribeBundleTasksResponse> waitUntilBundleTaskComplete(Consumer<DescribeBundleTasksRequest.Builder> describeBundleTasksRequest)
PollsEc2Client.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)
API until the desired conditionBundleTaskComplete
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeBundleTasksRequest.builder()
- Parameters:
describeBundleTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBundleTaskComplete
default WaiterResponse<DescribeBundleTasksResponse> waitUntilBundleTaskComplete(DescribeBundleTasksRequest describeBundleTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)
API until the desired conditionBundleTaskComplete
is 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 WaiterResponse<DescribeBundleTasksResponse> waitUntilBundleTaskComplete(Consumer<DescribeBundleTasksRequest.Builder> describeBundleTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeBundleTasks(software.amazon.awssdk.services.ec2.model.DescribeBundleTasksRequest)
API until the desired conditionBundleTaskComplete
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCancelled(DescribeConversionTasksRequest describeConversionTasksRequest)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCancelled
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilConversionTaskCancelled
default WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCancelled(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCancelled
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeConversionTasksRequest.builder()
- Parameters:
describeConversionTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilConversionTaskCancelled
default WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCancelled(DescribeConversionTasksRequest describeConversionTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCancelled
is 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 WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCancelled(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCancelled
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCompleted(DescribeConversionTasksRequest describeConversionTasksRequest)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCompleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilConversionTaskCompleted
default WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCompleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCompleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeConversionTasksRequest.builder()
- Parameters:
describeConversionTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilConversionTaskCompleted
default WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCompleted(DescribeConversionTasksRequest describeConversionTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCompleted
is 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 WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskCompleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskCompleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskDeleted(DescribeConversionTasksRequest describeConversionTasksRequest)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskDeleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilConversionTaskDeleted
default WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskDeleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeConversionTasksRequest.builder()
- Parameters:
describeConversionTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilConversionTaskDeleted
default WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskDeleted(DescribeConversionTasksRequest describeConversionTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskDeleted
is 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 WaiterResponse<DescribeConversionTasksResponse> waitUntilConversionTaskDeleted(Consumer<DescribeConversionTasksRequest.Builder> describeConversionTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeConversionTasks(software.amazon.awssdk.services.ec2.model.DescribeConversionTasksRequest)
API until the desired conditionConversionTaskDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeCustomerGatewaysResponse> waitUntilCustomerGatewayAvailable(DescribeCustomerGatewaysRequest describeCustomerGatewaysRequest)
PollsEc2Client.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)
API until the desired conditionCustomerGatewayAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilCustomerGatewayAvailable
default WaiterResponse<DescribeCustomerGatewaysResponse> waitUntilCustomerGatewayAvailable(Consumer<DescribeCustomerGatewaysRequest.Builder> describeCustomerGatewaysRequest)
PollsEc2Client.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)
API until the desired conditionCustomerGatewayAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeCustomerGatewaysRequest.builder()
- Parameters:
describeCustomerGatewaysRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilCustomerGatewayAvailable
default WaiterResponse<DescribeCustomerGatewaysResponse> waitUntilCustomerGatewayAvailable(DescribeCustomerGatewaysRequest describeCustomerGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)
API until the desired conditionCustomerGatewayAvailable
is 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 WaiterResponse<DescribeCustomerGatewaysResponse> waitUntilCustomerGatewayAvailable(Consumer<DescribeCustomerGatewaysRequest.Builder> describeCustomerGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeCustomerGateways(software.amazon.awssdk.services.ec2.model.DescribeCustomerGatewaysRequest)
API until the desired conditionCustomerGatewayAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCancelled(DescribeExportTasksRequest describeExportTasksRequest)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCancelled
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilExportTaskCancelled
default WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCancelled(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCancelled
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeExportTasksRequest.builder()
- Parameters:
describeExportTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilExportTaskCancelled
default WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCancelled(DescribeExportTasksRequest describeExportTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCancelled
is 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 WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCancelled(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCancelled
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCompleted(DescribeExportTasksRequest describeExportTasksRequest)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCompleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilExportTaskCompleted
default WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCompleted(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCompleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeExportTasksRequest.builder()
- Parameters:
describeExportTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilExportTaskCompleted
default WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCompleted(DescribeExportTasksRequest describeExportTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCompleted
is 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 WaiterResponse<DescribeExportTasksResponse> waitUntilExportTaskCompleted(Consumer<DescribeExportTasksRequest.Builder> describeExportTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeExportTasks(software.amazon.awssdk.services.ec2.model.DescribeExportTasksRequest)
API until the desired conditionExportTaskCompleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeImagesResponse> waitUntilImageAvailable(DescribeImagesRequest describeImagesRequest)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImageAvailable
default WaiterResponse<DescribeImagesResponse> waitUntilImageAvailable(Consumer<DescribeImagesRequest.Builder> describeImagesRequest)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeImagesRequest.builder()
- Parameters:
describeImagesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImageAvailable
default WaiterResponse<DescribeImagesResponse> waitUntilImageAvailable(DescribeImagesRequest describeImagesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageAvailable
is 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 WaiterResponse<DescribeImagesResponse> waitUntilImageAvailable(Consumer<DescribeImagesRequest.Builder> describeImagesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeImagesResponse> waitUntilImageExists(DescribeImagesRequest describeImagesRequest)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageExists
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImageExists
default WaiterResponse<DescribeImagesResponse> waitUntilImageExists(Consumer<DescribeImagesRequest.Builder> describeImagesRequest)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeImagesRequest.builder()
- Parameters:
describeImagesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilImageExists
default WaiterResponse<DescribeImagesResponse> waitUntilImageExists(DescribeImagesRequest describeImagesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageExists
is 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 WaiterResponse<DescribeImagesResponse> waitUntilImageExists(Consumer<DescribeImagesRequest.Builder> describeImagesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeImages(software.amazon.awssdk.services.ec2.model.DescribeImagesRequest)
API until the desired conditionImageExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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
-
waitUntilInstanceExists
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceExists(DescribeInstancesRequest describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceExists
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceExists
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceExists(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeInstancesRequest.builder()
- Parameters:
describeInstancesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceExists
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceExists(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceExists
is 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 WaiterResponse<DescribeInstancesResponse> waitUntilInstanceExists(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeInstancesResponse> waitUntilInstanceRunning(DescribeInstancesRequest describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceRunning
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceRunning
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceRunning(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceRunning
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeInstancesRequest.builder()
- Parameters:
describeInstancesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceRunning
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceRunning(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceRunning
is 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 WaiterResponse<DescribeInstancesResponse> waitUntilInstanceRunning(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceRunning
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeInstanceStatusResponse> waitUntilInstanceStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionInstanceStatusOk
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceStatusOk
default WaiterResponse<DescribeInstanceStatusResponse> waitUntilInstanceStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionInstanceStatusOk
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeInstanceStatusRequest.builder()
- Parameters:
describeInstanceStatusRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceStatusOk
default WaiterResponse<DescribeInstanceStatusResponse> waitUntilInstanceStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionInstanceStatusOk
is 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 WaiterResponse<DescribeInstanceStatusResponse> waitUntilInstanceStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionInstanceStatusOk
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeInstancesResponse> waitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceStopped
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceStopped
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceStopped
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeInstancesRequest.builder()
- Parameters:
describeInstancesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceStopped
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceStopped
is 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 WaiterResponse<DescribeInstancesResponse> waitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceStopped
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeInstancesResponse> waitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceTerminated
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceTerminated
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceTerminated
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeInstancesRequest.builder()
- Parameters:
describeInstancesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInstanceTerminated
default WaiterResponse<DescribeInstancesResponse> waitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceTerminated
is 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 WaiterResponse<DescribeInstancesResponse> waitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeInstances(software.amazon.awssdk.services.ec2.model.DescribeInstancesRequest)
API until the desired conditionInstanceTerminated
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeInternetGatewaysResponse> waitUntilInternetGatewayExists(DescribeInternetGatewaysRequest describeInternetGatewaysRequest)
PollsEc2Client.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)
API until the desired conditionInternetGatewayExists
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInternetGatewayExists
default WaiterResponse<DescribeInternetGatewaysResponse> waitUntilInternetGatewayExists(Consumer<DescribeInternetGatewaysRequest.Builder> describeInternetGatewaysRequest)
PollsEc2Client.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)
API until the desired conditionInternetGatewayExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeInternetGatewaysRequest.builder()
- Parameters:
describeInternetGatewaysRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInternetGatewayExists
default WaiterResponse<DescribeInternetGatewaysResponse> waitUntilInternetGatewayExists(DescribeInternetGatewaysRequest describeInternetGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)
API until the desired conditionInternetGatewayExists
is 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 WaiterResponse<DescribeInternetGatewaysResponse> waitUntilInternetGatewayExists(Consumer<DescribeInternetGatewaysRequest.Builder> describeInternetGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeInternetGateways(software.amazon.awssdk.services.ec2.model.DescribeInternetGatewaysRequest)
API until the desired conditionInternetGatewayExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeKeyPairsResponse> waitUntilKeyPairExists(DescribeKeyPairsRequest describeKeyPairsRequest)
PollsEc2Client.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)
API until the desired conditionKeyPairExists
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilKeyPairExists
default WaiterResponse<DescribeKeyPairsResponse> waitUntilKeyPairExists(Consumer<DescribeKeyPairsRequest.Builder> describeKeyPairsRequest)
PollsEc2Client.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)
API until the desired conditionKeyPairExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeKeyPairsRequest.builder()
- Parameters:
describeKeyPairsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilKeyPairExists
default WaiterResponse<DescribeKeyPairsResponse> waitUntilKeyPairExists(DescribeKeyPairsRequest describeKeyPairsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)
API until the desired conditionKeyPairExists
is 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 WaiterResponse<DescribeKeyPairsResponse> waitUntilKeyPairExists(Consumer<DescribeKeyPairsRequest.Builder> describeKeyPairsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeKeyPairs(software.amazon.awssdk.services.ec2.model.DescribeKeyPairsRequest)
API until the desired conditionKeyPairExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayAvailable(DescribeNatGatewaysRequest describeNatGatewaysRequest)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNatGatewayAvailable
default WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayAvailable(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeNatGatewaysRequest.builder()
- Parameters:
describeNatGatewaysRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNatGatewayAvailable
default WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayAvailable(DescribeNatGatewaysRequest describeNatGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayAvailable
is 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 WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayAvailable(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayDeleted(DescribeNatGatewaysRequest describeNatGatewaysRequest)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayDeleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNatGatewayDeleted
default WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayDeleted(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeNatGatewaysRequest.builder()
- Parameters:
describeNatGatewaysRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNatGatewayDeleted
default WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayDeleted(DescribeNatGatewaysRequest describeNatGatewaysRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayDeleted
is 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 WaiterResponse<DescribeNatGatewaysResponse> waitUntilNatGatewayDeleted(Consumer<DescribeNatGatewaysRequest.Builder> describeNatGatewaysRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeNatGateways(software.amazon.awssdk.services.ec2.model.DescribeNatGatewaysRequest)
API until the desired conditionNatGatewayDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeNetworkInterfacesResponse> waitUntilNetworkInterfaceAvailable(DescribeNetworkInterfacesRequest describeNetworkInterfacesRequest)
PollsEc2Client.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)
API until the desired conditionNetworkInterfaceAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNetworkInterfaceAvailable
default WaiterResponse<DescribeNetworkInterfacesResponse> waitUntilNetworkInterfaceAvailable(Consumer<DescribeNetworkInterfacesRequest.Builder> describeNetworkInterfacesRequest)
PollsEc2Client.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)
API until the desired conditionNetworkInterfaceAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeNetworkInterfacesRequest.builder()
- Parameters:
describeNetworkInterfacesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNetworkInterfaceAvailable
default WaiterResponse<DescribeNetworkInterfacesResponse> waitUntilNetworkInterfaceAvailable(DescribeNetworkInterfacesRequest describeNetworkInterfacesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)
API until the desired conditionNetworkInterfaceAvailable
is 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 WaiterResponse<DescribeNetworkInterfacesResponse> waitUntilNetworkInterfaceAvailable(Consumer<DescribeNetworkInterfacesRequest.Builder> describeNetworkInterfacesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeNetworkInterfaces(software.amazon.awssdk.services.ec2.model.DescribeNetworkInterfacesRequest)
API until the desired conditionNetworkInterfaceAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<GetPasswordDataResponse> waitUntilPasswordDataAvailable(GetPasswordDataRequest getPasswordDataRequest)
PollsEc2Client.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)
API until the desired conditionPasswordDataAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPasswordDataAvailable
default WaiterResponse<GetPasswordDataResponse> waitUntilPasswordDataAvailable(Consumer<GetPasswordDataRequest.Builder> getPasswordDataRequest)
PollsEc2Client.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)
API until the desired conditionPasswordDataAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetPasswordDataRequest.builder()
- Parameters:
getPasswordDataRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPasswordDataAvailable
default WaiterResponse<GetPasswordDataResponse> waitUntilPasswordDataAvailable(GetPasswordDataRequest getPasswordDataRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)
API until the desired conditionPasswordDataAvailable
is 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 WaiterResponse<GetPasswordDataResponse> waitUntilPasswordDataAvailable(Consumer<GetPasswordDataRequest.Builder> getPasswordDataRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.getPasswordData(software.amazon.awssdk.services.ec2.model.GetPasswordDataRequest)
API until the desired conditionPasswordDataAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeSecurityGroupsResponse> waitUntilSecurityGroupExists(DescribeSecurityGroupsRequest describeSecurityGroupsRequest)
PollsEc2Client.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)
API until the desired conditionSecurityGroupExists
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSecurityGroupExists
default WaiterResponse<DescribeSecurityGroupsResponse> waitUntilSecurityGroupExists(Consumer<DescribeSecurityGroupsRequest.Builder> describeSecurityGroupsRequest)
PollsEc2Client.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)
API until the desired conditionSecurityGroupExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeSecurityGroupsRequest.builder()
- Parameters:
describeSecurityGroupsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSecurityGroupExists
default WaiterResponse<DescribeSecurityGroupsResponse> waitUntilSecurityGroupExists(DescribeSecurityGroupsRequest describeSecurityGroupsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)
API until the desired conditionSecurityGroupExists
is 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 WaiterResponse<DescribeSecurityGroupsResponse> waitUntilSecurityGroupExists(Consumer<DescribeSecurityGroupsRequest.Builder> describeSecurityGroupsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeSecurityGroups(software.amazon.awssdk.services.ec2.model.DescribeSecurityGroupsRequest)
API until the desired conditionSecurityGroupExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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
-
waitUntilSnapshotCompleted
default WaiterResponse<DescribeSnapshotsResponse> waitUntilSnapshotCompleted(DescribeSnapshotsRequest describeSnapshotsRequest)
PollsEc2Client.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)
API until the desired conditionSnapshotCompleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSnapshotCompleted
default WaiterResponse<DescribeSnapshotsResponse> waitUntilSnapshotCompleted(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest)
PollsEc2Client.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)
API until the desired conditionSnapshotCompleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeSnapshotsRequest.builder()
- Parameters:
describeSnapshotsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSnapshotCompleted
default WaiterResponse<DescribeSnapshotsResponse> waitUntilSnapshotCompleted(DescribeSnapshotsRequest describeSnapshotsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)
API until the desired conditionSnapshotCompleted
is 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 WaiterResponse<DescribeSnapshotsResponse> waitUntilSnapshotCompleted(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeSnapshots(software.amazon.awssdk.services.ec2.model.DescribeSnapshotsRequest)
API until the desired conditionSnapshotCompleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeImportSnapshotTasksResponse> waitUntilSnapshotImported(DescribeImportSnapshotTasksRequest describeImportSnapshotTasksRequest)
PollsEc2Client.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)
API until the desired conditionSnapshotImported
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSnapshotImported
default WaiterResponse<DescribeImportSnapshotTasksResponse> waitUntilSnapshotImported(Consumer<DescribeImportSnapshotTasksRequest.Builder> describeImportSnapshotTasksRequest)
PollsEc2Client.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)
API until the desired conditionSnapshotImported
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeImportSnapshotTasksRequest.builder()
- Parameters:
describeImportSnapshotTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSnapshotImported
default WaiterResponse<DescribeImportSnapshotTasksResponse> waitUntilSnapshotImported(DescribeImportSnapshotTasksRequest describeImportSnapshotTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)
API until the desired conditionSnapshotImported
is 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 WaiterResponse<DescribeImportSnapshotTasksResponse> waitUntilSnapshotImported(Consumer<DescribeImportSnapshotTasksRequest.Builder> describeImportSnapshotTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeImportSnapshotTasks(software.amazon.awssdk.services.ec2.model.DescribeImportSnapshotTasksRequest)
API until the desired conditionSnapshotImported
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeSpotInstanceRequestsResponse> waitUntilSpotInstanceRequestFulfilled(DescribeSpotInstanceRequestsRequest describeSpotInstanceRequestsRequest)
PollsEc2Client.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)
API until the desired conditionSpotInstanceRequestFulfilled
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSpotInstanceRequestFulfilled
default WaiterResponse<DescribeSpotInstanceRequestsResponse> waitUntilSpotInstanceRequestFulfilled(Consumer<DescribeSpotInstanceRequestsRequest.Builder> describeSpotInstanceRequestsRequest)
PollsEc2Client.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)
API until the desired conditionSpotInstanceRequestFulfilled
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeSpotInstanceRequestsRequest.builder()
- Parameters:
describeSpotInstanceRequestsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSpotInstanceRequestFulfilled
default WaiterResponse<DescribeSpotInstanceRequestsResponse> waitUntilSpotInstanceRequestFulfilled(DescribeSpotInstanceRequestsRequest describeSpotInstanceRequestsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)
API until the desired conditionSpotInstanceRequestFulfilled
is 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 WaiterResponse<DescribeSpotInstanceRequestsResponse> waitUntilSpotInstanceRequestFulfilled(Consumer<DescribeSpotInstanceRequestsRequest.Builder> describeSpotInstanceRequestsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeSpotInstanceRequests(software.amazon.awssdk.services.ec2.model.DescribeSpotInstanceRequestsRequest)
API until the desired conditionSpotInstanceRequestFulfilled
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeStoreImageTasksResponse> waitUntilStoreImageTaskComplete(DescribeStoreImageTasksRequest describeStoreImageTasksRequest)
PollsEc2Client.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)
API until the desired conditionStoreImageTaskComplete
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStoreImageTaskComplete
default WaiterResponse<DescribeStoreImageTasksResponse> waitUntilStoreImageTaskComplete(Consumer<DescribeStoreImageTasksRequest.Builder> describeStoreImageTasksRequest)
PollsEc2Client.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)
API until the desired conditionStoreImageTaskComplete
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeStoreImageTasksRequest.builder()
- Parameters:
describeStoreImageTasksRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStoreImageTaskComplete
default WaiterResponse<DescribeStoreImageTasksResponse> waitUntilStoreImageTaskComplete(DescribeStoreImageTasksRequest describeStoreImageTasksRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)
API until the desired conditionStoreImageTaskComplete
is 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 WaiterResponse<DescribeStoreImageTasksResponse> waitUntilStoreImageTaskComplete(Consumer<DescribeStoreImageTasksRequest.Builder> describeStoreImageTasksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeStoreImageTasks(software.amazon.awssdk.services.ec2.model.DescribeStoreImageTasksRequest)
API until the desired conditionStoreImageTaskComplete
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeSubnetsResponse> waitUntilSubnetAvailable(DescribeSubnetsRequest describeSubnetsRequest)
PollsEc2Client.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)
API until the desired conditionSubnetAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSubnetAvailable
default WaiterResponse<DescribeSubnetsResponse> waitUntilSubnetAvailable(Consumer<DescribeSubnetsRequest.Builder> describeSubnetsRequest)
PollsEc2Client.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)
API until the desired conditionSubnetAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeSubnetsRequest.builder()
- Parameters:
describeSubnetsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSubnetAvailable
default WaiterResponse<DescribeSubnetsResponse> waitUntilSubnetAvailable(DescribeSubnetsRequest describeSubnetsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)
API until the desired conditionSubnetAvailable
is 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 WaiterResponse<DescribeSubnetsResponse> waitUntilSubnetAvailable(Consumer<DescribeSubnetsRequest.Builder> describeSubnetsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeSubnets(software.amazon.awssdk.services.ec2.model.DescribeSubnetsRequest)
API until the desired conditionSubnetAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeInstanceStatusResponse> waitUntilSystemStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionSystemStatusOk
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSystemStatusOk
default WaiterResponse<DescribeInstanceStatusResponse> waitUntilSystemStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionSystemStatusOk
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeInstanceStatusRequest.builder()
- Parameters:
describeInstanceStatusRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilSystemStatusOk
default WaiterResponse<DescribeInstanceStatusResponse> waitUntilSystemStatusOk(DescribeInstanceStatusRequest describeInstanceStatusRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionSystemStatusOk
is 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 WaiterResponse<DescribeInstanceStatusResponse> waitUntilSystemStatusOk(Consumer<DescribeInstanceStatusRequest.Builder> describeInstanceStatusRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeInstanceStatus(software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusRequest)
API until the desired conditionSystemStatusOk
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVolumesResponse> waitUntilVolumeAvailable(DescribeVolumesRequest describeVolumesRequest)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVolumeAvailable
default WaiterResponse<DescribeVolumesResponse> waitUntilVolumeAvailable(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVolumesRequest.builder()
- Parameters:
describeVolumesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVolumeAvailable
default WaiterResponse<DescribeVolumesResponse> waitUntilVolumeAvailable(DescribeVolumesRequest describeVolumesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeAvailable
is 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 WaiterResponse<DescribeVolumesResponse> waitUntilVolumeAvailable(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVolumesResponse> waitUntilVolumeDeleted(DescribeVolumesRequest describeVolumesRequest)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeDeleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVolumeDeleted
default WaiterResponse<DescribeVolumesResponse> waitUntilVolumeDeleted(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVolumesRequest.builder()
- Parameters:
describeVolumesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVolumeDeleted
default WaiterResponse<DescribeVolumesResponse> waitUntilVolumeDeleted(DescribeVolumesRequest describeVolumesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeDeleted
is 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 WaiterResponse<DescribeVolumesResponse> waitUntilVolumeDeleted(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVolumesResponse> waitUntilVolumeInUse(DescribeVolumesRequest describeVolumesRequest)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeInUse
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVolumeInUse
default WaiterResponse<DescribeVolumesResponse> waitUntilVolumeInUse(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeInUse
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVolumesRequest.builder()
- Parameters:
describeVolumesRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVolumeInUse
default WaiterResponse<DescribeVolumesResponse> waitUntilVolumeInUse(DescribeVolumesRequest describeVolumesRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeInUse
is 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 WaiterResponse<DescribeVolumesResponse> waitUntilVolumeInUse(Consumer<DescribeVolumesRequest.Builder> describeVolumesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVolumes(software.amazon.awssdk.services.ec2.model.DescribeVolumesRequest)
API until the desired conditionVolumeInUse
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVpcsResponse> waitUntilVpcAvailable(DescribeVpcsRequest describeVpcsRequest)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcAvailable
default WaiterResponse<DescribeVpcsResponse> waitUntilVpcAvailable(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVpcsRequest.builder()
- Parameters:
describeVpcsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcAvailable
default WaiterResponse<DescribeVpcsResponse> waitUntilVpcAvailable(DescribeVpcsRequest describeVpcsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcAvailable
is 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 WaiterResponse<DescribeVpcsResponse> waitUntilVpcAvailable(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVpcsResponse> waitUntilVpcExists(DescribeVpcsRequest describeVpcsRequest)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcExists
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcExists
default WaiterResponse<DescribeVpcsResponse> waitUntilVpcExists(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVpcsRequest.builder()
- Parameters:
describeVpcsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcExists
default WaiterResponse<DescribeVpcsResponse> waitUntilVpcExists(DescribeVpcsRequest describeVpcsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcExists
is 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 WaiterResponse<DescribeVpcsResponse> waitUntilVpcExists(Consumer<DescribeVpcsRequest.Builder> describeVpcsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVpcs(software.amazon.awssdk.services.ec2.model.DescribeVpcsRequest)
API until the desired conditionVpcExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionDeleted(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionDeleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcPeeringConnectionDeleted
default WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionDeleted(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVpcPeeringConnectionsRequest.builder()
- Parameters:
describeVpcPeeringConnectionsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcPeeringConnectionDeleted
default WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionDeleted(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionDeleted
is 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 WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionDeleted(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionExists(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionExists
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcPeeringConnectionExists
default WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionExists(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVpcPeeringConnectionsRequest.builder()
- Parameters:
describeVpcPeeringConnectionsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpcPeeringConnectionExists
default WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionExists(DescribeVpcPeeringConnectionsRequest describeVpcPeeringConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionExists
is 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 WaiterResponse<DescribeVpcPeeringConnectionsResponse> waitUntilVpcPeeringConnectionExists(Consumer<DescribeVpcPeeringConnectionsRequest.Builder> describeVpcPeeringConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVpcPeeringConnections(software.amazon.awssdk.services.ec2.model.DescribeVpcPeeringConnectionsRequest)
API until the desired conditionVpcPeeringConnectionExists
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionAvailable(DescribeVpnConnectionsRequest describeVpnConnectionsRequest)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionAvailable
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpnConnectionAvailable
default WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionAvailable(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVpnConnectionsRequest.builder()
- Parameters:
describeVpnConnectionsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpnConnectionAvailable
default WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionAvailable(DescribeVpnConnectionsRequest describeVpnConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionAvailable
is 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 WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionAvailable(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionAvailable
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionDeleted(DescribeVpnConnectionsRequest describeVpnConnectionsRequest)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionDeleted
is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpnConnectionDeleted
default WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionDeleted(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeVpnConnectionsRequest.builder()
- Parameters:
describeVpnConnectionsRequest
- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilVpnConnectionDeleted
default WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionDeleted(DescribeVpnConnectionsRequest describeVpnConnectionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionDeleted
is 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 WaiterResponse<DescribeVpnConnectionsResponse> waitUntilVpnConnectionDeleted(Consumer<DescribeVpnConnectionsRequest.Builder> describeVpnConnectionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEc2Client.describeVpnConnections(software.amazon.awssdk.services.ec2.model.DescribeVpnConnectionsRequest)
API until the desired conditionVpnConnectionDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
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 Ec2Waiter.Builder builder()
Create a builder that can be used to configure and create aEc2Waiter
.- Returns:
- a builder
-
create
static Ec2Waiter create()
Create an instance ofEc2Waiter
with the default configuration.A default
Ec2Client
will be created to poll resources. It is recommended to share a single instance of the waiter created via this method. If it is not desirable to share a waiter instance, invokeSdkAutoCloseable.close()
to release the resources once the waiter is not needed.- Returns:
- an instance of
Ec2Waiter
-
-