Interface ElasticLoadBalancingV2Waiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface ElasticLoadBalancingV2Waiter 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 interfaceElasticLoadBalancingV2Waiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilLoadBalancerAvailable
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerAvailable(DescribeLoadBalancersRequest describeLoadBalancersRequest)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeLoadBalancersRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLoadBalancerAvailable
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerAvailable(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerAvailableis 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
DescribeLoadBalancersRequest.builder()- Parameters:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancerAvailable
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerAvailable(DescribeLoadBalancersRequest describeLoadBalancersRequest, WaiterOverrideConfiguration overrideConfig)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancerAvailable
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerAvailable(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerAvailableis 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:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancerExists
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerExists(DescribeLoadBalancersRequest describeLoadBalancersRequest)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeLoadBalancersRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLoadBalancerExists
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerExists(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerExistsis 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
DescribeLoadBalancersRequest.builder()- Parameters:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancerExists
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerExists(DescribeLoadBalancersRequest describeLoadBalancersRequest, WaiterOverrideConfiguration overrideConfig)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancerExists
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerExists(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancerExistsis 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:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancersDeleted
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancersDeleted(DescribeLoadBalancersRequest describeLoadBalancersRequest)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancersDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeLoadBalancersRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLoadBalancersDeleted
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancersDeleted(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancersDeletedis 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
DescribeLoadBalancersRequest.builder()- Parameters:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancersDeleted
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancersDeleted(DescribeLoadBalancersRequest describeLoadBalancersRequest, WaiterOverrideConfiguration overrideConfig)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancersDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeLoadBalancersRequest- 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
-
waitUntilLoadBalancersDeleted
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancersDeleted(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)API until the desired conditionLoadBalancersDeletedis 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:
describeLoadBalancersRequest- 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
-
waitUntilTargetDeregistered
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetDeregistered(DescribeTargetHealthRequest describeTargetHealthRequest)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetDeregisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTargetHealthRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTargetDeregistered
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetDeregistered(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetDeregisteredis 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
DescribeTargetHealthRequest.builder()- Parameters:
describeTargetHealthRequest- 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
-
waitUntilTargetDeregistered
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetDeregistered(DescribeTargetHealthRequest describeTargetHealthRequest, WaiterOverrideConfiguration overrideConfig)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetDeregisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTargetHealthRequest- 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
-
waitUntilTargetDeregistered
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetDeregistered(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetDeregisteredis 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:
describeTargetHealthRequest- 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
-
waitUntilTargetInService
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetInService(DescribeTargetHealthRequest describeTargetHealthRequest)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetInServiceis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTargetHealthRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTargetInService
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetInService(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetInServiceis 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
DescribeTargetHealthRequest.builder()- Parameters:
describeTargetHealthRequest- 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
-
waitUntilTargetInService
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetInService(DescribeTargetHealthRequest describeTargetHealthRequest, WaiterOverrideConfiguration overrideConfig)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetInServiceis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTargetHealthRequest- 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
-
waitUntilTargetInService
default WaiterResponse<DescribeTargetHealthResponse> waitUntilTargetInService(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)API until the desired conditionTargetInServiceis 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:
describeTargetHealthRequest- 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 ElasticLoadBalancingV2Waiter.Builder builder()
Create a builder that can be used to configure and create aElasticLoadBalancingV2Waiter.- Returns:
- a builder
-
create
static ElasticLoadBalancingV2Waiter create()
Create an instance ofElasticLoadBalancingV2Waiterwith the default configuration.A default
ElasticLoadBalancingV2Clientwill 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
ElasticLoadBalancingV2Waiter
-
-