Interface EksAsyncWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface EksAsyncWaiter 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 interfaceEksAsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilAddonActive
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonActive(DescribeAddonRequest describeAddonRequest)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeAddonRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilAddonActive
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonActive(Consumer<DescribeAddonRequest.Builder> describeAddonRequest)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonActiveis 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
DescribeAddonRequest.builder()- Parameters:
describeAddonRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilAddonActive
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonActive(DescribeAddonRequest describeAddonRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeAddonRequest- 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
-
waitUntilAddonActive
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonActive(Consumer<DescribeAddonRequest.Builder> describeAddonRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonActiveis 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:
describeAddonRequest- 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
-
waitUntilAddonDeleted
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonDeleted(DescribeAddonRequest describeAddonRequest)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeAddonRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilAddonDeleted
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonDeleted(Consumer<DescribeAddonRequest.Builder> describeAddonRequest)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonDeletedis 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
DescribeAddonRequest.builder()- Parameters:
describeAddonRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilAddonDeleted
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonDeleted(DescribeAddonRequest describeAddonRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeAddonRequest- 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
-
waitUntilAddonDeleted
default CompletableFuture<WaiterResponse<DescribeAddonResponse>> waitUntilAddonDeleted(Consumer<DescribeAddonRequest.Builder> describeAddonRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeAddon(software.amazon.awssdk.services.eks.model.DescribeAddonRequest)API until the desired conditionAddonDeletedis 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:
describeAddonRequest- 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
-
waitUntilClusterActive
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterActive(DescribeClusterRequest describeClusterRequest)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilClusterActive
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterActive(Consumer<DescribeClusterRequest.Builder> describeClusterRequest)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterActiveis 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
DescribeClusterRequest.builder()- Parameters:
describeClusterRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterActive
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterActive(DescribeClusterRequest describeClusterRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- 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
-
waitUntilClusterActive
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterActive(Consumer<DescribeClusterRequest.Builder> describeClusterRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterActiveis 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:
describeClusterRequest- 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
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(DescribeClusterRequest describeClusterRequest)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(Consumer<DescribeClusterRequest.Builder> describeClusterRequest)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis 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
DescribeClusterRequest.builder()- Parameters:
describeClusterRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(DescribeClusterRequest describeClusterRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeClusterRequest- 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
-
waitUntilClusterDeleted
default CompletableFuture<WaiterResponse<DescribeClusterResponse>> waitUntilClusterDeleted(Consumer<DescribeClusterRequest.Builder> describeClusterRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeCluster(software.amazon.awssdk.services.eks.model.DescribeClusterRequest)API until the desired conditionClusterDeletedis 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:
describeClusterRequest- 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
-
waitUntilFargateProfileActive
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileActive(DescribeFargateProfileRequest describeFargateProfileRequest)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeFargateProfileRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilFargateProfileActive
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileActive(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileActiveis 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
DescribeFargateProfileRequest.builder()- Parameters:
describeFargateProfileRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFargateProfileActive
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileActive(DescribeFargateProfileRequest describeFargateProfileRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeFargateProfileRequest- 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
-
waitUntilFargateProfileActive
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileActive(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileActiveis 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:
describeFargateProfileRequest- 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
-
waitUntilFargateProfileDeleted
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileDeleted(DescribeFargateProfileRequest describeFargateProfileRequest)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeFargateProfileRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilFargateProfileDeleted
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileDeleted(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileDeletedis 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
DescribeFargateProfileRequest.builder()- Parameters:
describeFargateProfileRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFargateProfileDeleted
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileDeleted(DescribeFargateProfileRequest describeFargateProfileRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeFargateProfileRequest- 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
-
waitUntilFargateProfileDeleted
default CompletableFuture<WaiterResponse<DescribeFargateProfileResponse>> waitUntilFargateProfileDeleted(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeFargateProfile(software.amazon.awssdk.services.eks.model.DescribeFargateProfileRequest)API until the desired conditionFargateProfileDeletedis 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:
describeFargateProfileRequest- 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
-
waitUntilNodegroupActive
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupActive(DescribeNodegroupRequest describeNodegroupRequest)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNodegroupRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilNodegroupActive
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupActive(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupActiveis 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
DescribeNodegroupRequest.builder()- Parameters:
describeNodegroupRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNodegroupActive
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupActive(DescribeNodegroupRequest describeNodegroupRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNodegroupRequest- 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
-
waitUntilNodegroupActive
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupActive(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupActiveis 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:
describeNodegroupRequest- 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
-
waitUntilNodegroupDeleted
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupDeleted(DescribeNodegroupRequest describeNodegroupRequest)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNodegroupRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilNodegroupDeleted
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupDeleted(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupDeletedis 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
DescribeNodegroupRequest.builder()- Parameters:
describeNodegroupRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNodegroupDeleted
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupDeleted(DescribeNodegroupRequest describeNodegroupRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeNodegroupRequest- 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
-
waitUntilNodegroupDeleted
default CompletableFuture<WaiterResponse<DescribeNodegroupResponse>> waitUntilNodegroupDeleted(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksAsyncClient.describeNodegroup(software.amazon.awssdk.services.eks.model.DescribeNodegroupRequest)API until the desired conditionNodegroupDeletedis 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:
describeNodegroupRequest- 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 EksAsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aEksAsyncWaiter.- Returns:
- a builder
-
create
static EksAsyncWaiter create()
Create an instance ofEksAsyncWaiterwith the default configuration.A default
EksAsyncClientwill 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
EksAsyncWaiter
-
-