Interface ElasticLoadBalancingV2Waiter
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
builder()
method-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aElasticLoadBalancingV2Waiter
.static ElasticLoadBalancingV2Waiter
create()
Create an instance ofElasticLoadBalancingV2Waiter
with the default configuration.waitUntilLoadBalancerAvailable
(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilLoadBalancerAvailable
(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerAvailable
is met, or until it is determined that the resource will never enter into the desired state.waitUntilLoadBalancerAvailable
(DescribeLoadBalancersRequest describeLoadBalancersRequest) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerAvailable
is met, or until it is determined that the resource will never enter into the desired statewaitUntilLoadBalancerAvailable
(DescribeLoadBalancersRequest describeLoadBalancersRequest, WaiterOverrideConfiguration overrideConfig) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerAvailable
is met, or until it is determined that the resource will never enter into the desired statewaitUntilLoadBalancerExists
(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerExists
is met, or until it is determined that the resource will never enter into the desired state.waitUntilLoadBalancerExists
(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerExists
is met, or until it is determined that the resource will never enter into the desired state.waitUntilLoadBalancerExists
(DescribeLoadBalancersRequest describeLoadBalancersRequest) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerExists
is met, or until it is determined that the resource will never enter into the desired statewaitUntilLoadBalancerExists
(DescribeLoadBalancersRequest describeLoadBalancersRequest, WaiterOverrideConfiguration overrideConfig) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerExists
is met, or until it is determined that the resource will never enter into the desired statewaitUntilLoadBalancersDeleted
(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancersDeleted
is met, or until it is determined that the resource will never enter into the desired state.waitUntilLoadBalancersDeleted
(Consumer<DescribeLoadBalancersRequest.Builder> describeLoadBalancersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancersDeleted
is met, or until it is determined that the resource will never enter into the desired state.waitUntilLoadBalancersDeleted
(DescribeLoadBalancersRequest describeLoadBalancersRequest) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancersDeleted
is met, or until it is determined that the resource will never enter into the desired statewaitUntilLoadBalancersDeleted
(DescribeLoadBalancersRequest describeLoadBalancersRequest, WaiterOverrideConfiguration overrideConfig) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancersDeleted
is met, or until it is determined that the resource will never enter into the desired statewaitUntilTargetDeregistered
(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetDeregistered
is met, or until it is determined that the resource will never enter into the desired state.waitUntilTargetDeregistered
(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetDeregistered
is met, or until it is determined that the resource will never enter into the desired state.waitUntilTargetDeregistered
(DescribeTargetHealthRequest describeTargetHealthRequest) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetDeregistered
is met, or until it is determined that the resource will never enter into the desired statewaitUntilTargetDeregistered
(DescribeTargetHealthRequest describeTargetHealthRequest, WaiterOverrideConfiguration overrideConfig) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetDeregistered
is met, or until it is determined that the resource will never enter into the desired statewaitUntilTargetInService
(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetInService
is met, or until it is determined that the resource will never enter into the desired state.waitUntilTargetInService
(Consumer<DescribeTargetHealthRequest.Builder> describeTargetHealthRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetInService
is met, or until it is determined that the resource will never enter into the desired state.waitUntilTargetInService
(DescribeTargetHealthRequest describeTargetHealthRequest) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetInService
is met, or until it is determined that the resource will never enter into the desired statewaitUntilTargetInService
(DescribeTargetHealthRequest describeTargetHealthRequest, WaiterOverrideConfiguration overrideConfig) PollsElasticLoadBalancingV2Client.describeTargetHealth(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeTargetHealthRequest)
API until the desired conditionTargetInService
is met, or until it is determined that the resource will never enter into the desired stateMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Method Details
-
waitUntilLoadBalancerAvailable
default WaiterResponse<DescribeLoadBalancersResponse> waitUntilLoadBalancerAvailable(DescribeLoadBalancersRequest describeLoadBalancersRequest) PollsElasticLoadBalancingV2Client.describeLoadBalancers(software.amazon.awssdk.services.elasticloadbalancingv2.model.DescribeLoadBalancersRequest)
API until the desired conditionLoadBalancerAvailable
is 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 conditionLoadBalancerAvailable
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
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 conditionLoadBalancerAvailable
is 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 conditionLoadBalancerAvailable
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:
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 conditionLoadBalancerExists
is 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 conditionLoadBalancerExists
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
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 conditionLoadBalancerExists
is 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 conditionLoadBalancerExists
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:
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 conditionLoadBalancersDeleted
is 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 conditionLoadBalancersDeleted
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
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 conditionLoadBalancersDeleted
is 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 conditionLoadBalancersDeleted
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:
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 conditionTargetDeregistered
is 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 conditionTargetDeregistered
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
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 conditionTargetDeregistered
is 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 conditionTargetDeregistered
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:
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 conditionTargetInService
is 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 conditionTargetInService
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
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 conditionTargetInService
is 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 conditionTargetInService
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:
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
Create a builder that can be used to configure and create aElasticLoadBalancingV2Waiter
.- Returns:
- a builder
-
create
Create an instance ofElasticLoadBalancingV2Waiter
with the default configuration.A default
ElasticLoadBalancingV2Client
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
ElasticLoadBalancingV2Waiter
-