Interface EksWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface EksWaiter 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 interfaceEksWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilAddonActive
default WaiterResponse<DescribeAddonResponse> waitUntilAddonActive(DescribeAddonRequest describeAddonRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilAddonActive
default WaiterResponse<DescribeAddonResponse> waitUntilAddonActive(Consumer<DescribeAddonRequest.Builder> describeAddonRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilAddonActive
default WaiterResponse<DescribeAddonResponse> waitUntilAddonActive(DescribeAddonRequest describeAddonRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeAddonResponse> waitUntilAddonActive(Consumer<DescribeAddonRequest.Builder> describeAddonRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeAddonResponse> waitUntilAddonDeleted(DescribeAddonRequest describeAddonRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilAddonDeleted
default WaiterResponse<DescribeAddonResponse> waitUntilAddonDeleted(Consumer<DescribeAddonRequest.Builder> describeAddonRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilAddonDeleted
default WaiterResponse<DescribeAddonResponse> waitUntilAddonDeleted(DescribeAddonRequest describeAddonRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeAddonResponse> waitUntilAddonDeleted(Consumer<DescribeAddonRequest.Builder> describeAddonRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeClusterResponse> waitUntilClusterActive(DescribeClusterRequest describeClusterRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterActive
default WaiterResponse<DescribeClusterResponse> waitUntilClusterActive(Consumer<DescribeClusterRequest.Builder> describeClusterRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterActive
default WaiterResponse<DescribeClusterResponse> waitUntilClusterActive(DescribeClusterRequest describeClusterRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeClusterResponse> waitUntilClusterActive(Consumer<DescribeClusterRequest.Builder> describeClusterRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeClusterResponse> waitUntilClusterDeleted(DescribeClusterRequest describeClusterRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterDeleted
default WaiterResponse<DescribeClusterResponse> waitUntilClusterDeleted(Consumer<DescribeClusterRequest.Builder> describeClusterRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilClusterDeleted
default WaiterResponse<DescribeClusterResponse> waitUntilClusterDeleted(DescribeClusterRequest describeClusterRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeClusterResponse> waitUntilClusterDeleted(Consumer<DescribeClusterRequest.Builder> describeClusterRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileActive(DescribeFargateProfileRequest describeFargateProfileRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFargateProfileActive
default WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileActive(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFargateProfileActive
default WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileActive(DescribeFargateProfileRequest describeFargateProfileRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileActive(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileDeleted(DescribeFargateProfileRequest describeFargateProfileRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFargateProfileDeleted
default WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileDeleted(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFargateProfileDeleted
default WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileDeleted(DescribeFargateProfileRequest describeFargateProfileRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeFargateProfileResponse> waitUntilFargateProfileDeleted(Consumer<DescribeFargateProfileRequest.Builder> describeFargateProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupActive(DescribeNodegroupRequest describeNodegroupRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNodegroupActive
default WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupActive(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNodegroupActive
default WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupActive(DescribeNodegroupRequest describeNodegroupRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupActive(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupDeleted(DescribeNodegroupRequest describeNodegroupRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNodegroupDeleted
default WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupDeleted(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest)
PollsEksClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilNodegroupDeleted
default WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupDeleted(DescribeNodegroupRequest describeNodegroupRequest, WaiterOverrideConfiguration overrideConfig)
PollsEksClient.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 WaiterResponse<DescribeNodegroupResponse> waitUntilNodegroupDeleted(Consumer<DescribeNodegroupRequest.Builder> describeNodegroupRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsEksClient.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 EksWaiter.Builder builder()
Create a builder that can be used to configure and create aEksWaiter.- Returns:
- a builder
-
create
static EksWaiter create()
Create an instance ofEksWaiterwith the default configuration.A default
EksClientwill 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
EksWaiter
-
-