Interface ElastiCacheAsyncWaiter
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
builder() method-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aElastiCacheAsyncWaiter.static ElastiCacheAsyncWaitercreate()Create an instance ofElastiCacheAsyncWaiterwith the default configuration.waitUntilCacheClusterAvailable(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilCacheClusterAvailable(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilCacheClusterAvailable(DescribeCacheClustersRequest describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilCacheClusterAvailable(DescribeCacheClustersRequest describeCacheClustersRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilCacheClusterDeleted(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilCacheClusterDeleted(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilCacheClusterDeleted(DescribeCacheClustersRequest describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis met, or until it is determined that the resource will never enter into the desired statewaitUntilCacheClusterDeleted(DescribeCacheClustersRequest describeCacheClustersRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis met, or until it is determined that the resource will never enter into the desired statewaitUntilReplicationGroupAvailable(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilReplicationGroupAvailable(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis met, or until it is determined that the resource will never enter into the desired state.waitUntilReplicationGroupAvailable(DescribeReplicationGroupsRequest describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilReplicationGroupAvailable(DescribeReplicationGroupsRequest describeReplicationGroupsRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis met, or until it is determined that the resource will never enter into the desired statewaitUntilReplicationGroupDeleted(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilReplicationGroupDeleted(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis met, or until it is determined that the resource will never enter into the desired state.waitUntilReplicationGroupDeleted(DescribeReplicationGroupsRequest describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis met, or until it is determined that the resource will never enter into the desired statewaitUntilReplicationGroupDeleted(DescribeReplicationGroupsRequest describeReplicationGroupsRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis 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
-
waitUntilCacheClusterAvailable
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterAvailable(DescribeCacheClustersRequest describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeCacheClustersRequest- 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.
-
waitUntilCacheClusterAvailable
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterAvailable(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis 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
DescribeCacheClustersRequest.builder()- Parameters:
describeCacheClustersRequest- 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
-
waitUntilCacheClusterAvailable
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterAvailable(DescribeCacheClustersRequest describeCacheClustersRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeCacheClustersRequest- 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
-
waitUntilCacheClusterAvailable
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterAvailable(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterAvailableis 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:
describeCacheClustersRequest- 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
-
waitUntilCacheClusterDeleted
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterDeleted(DescribeCacheClustersRequest describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeCacheClustersRequest- 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.
-
waitUntilCacheClusterDeleted
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterDeleted(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis 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
DescribeCacheClustersRequest.builder()- Parameters:
describeCacheClustersRequest- 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
-
waitUntilCacheClusterDeleted
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterDeleted(DescribeCacheClustersRequest describeCacheClustersRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeCacheClustersRequest- 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
-
waitUntilCacheClusterDeleted
default CompletableFuture<WaiterResponse<DescribeCacheClustersResponse>> waitUntilCacheClusterDeleted(Consumer<DescribeCacheClustersRequest.Builder> describeCacheClustersRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeCacheClusters(software.amazon.awssdk.services.elasticache.model.DescribeCacheClustersRequest)API until the desired conditionCacheClusterDeletedis 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:
describeCacheClustersRequest- 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
-
waitUntilReplicationGroupAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupAvailable(DescribeReplicationGroupsRequest describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationGroupsRequest- 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.
-
waitUntilReplicationGroupAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupAvailable(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis 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
DescribeReplicationGroupsRequest.builder()- Parameters:
describeReplicationGroupsRequest- 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
-
waitUntilReplicationGroupAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupAvailable(DescribeReplicationGroupsRequest describeReplicationGroupsRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationGroupsRequest- 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
-
waitUntilReplicationGroupAvailable
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupAvailable(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupAvailableis 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:
describeReplicationGroupsRequest- 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
-
waitUntilReplicationGroupDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupDeleted(DescribeReplicationGroupsRequest describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationGroupsRequest- 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.
-
waitUntilReplicationGroupDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupDeleted(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis 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
DescribeReplicationGroupsRequest.builder()- Parameters:
describeReplicationGroupsRequest- 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
-
waitUntilReplicationGroupDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupDeleted(DescribeReplicationGroupsRequest describeReplicationGroupsRequest, WaiterOverrideConfiguration overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeReplicationGroupsRequest- 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
-
waitUntilReplicationGroupDeleted
default CompletableFuture<WaiterResponse<DescribeReplicationGroupsResponse>> waitUntilReplicationGroupDeleted(Consumer<DescribeReplicationGroupsRequest.Builder> describeReplicationGroupsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsElastiCacheAsyncClient.describeReplicationGroups(software.amazon.awssdk.services.elasticache.model.DescribeReplicationGroupsRequest)API until the desired conditionReplicationGroupDeletedis 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:
describeReplicationGroupsRequest- 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 aElastiCacheAsyncWaiter.- Returns:
- a builder
-
create
Create an instance ofElastiCacheAsyncWaiterwith the default configuration.A default
ElastiCacheAsyncClientwill 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
ElastiCacheAsyncWaiter
-