@Generated(value="software.amazon.awssdk:codegen") public interface CloudFrontAsyncWaiter extends SdkAutoCloseable
builder()
methodModifier and Type | Interface and Description |
---|---|
static interface |
CloudFrontAsyncWaiter.Builder |
close
default CompletableFuture<WaiterResponse<GetDistributionResponse>> waitUntilDistributionDeployed(GetDistributionRequest getDistributionRequest)
CloudFrontAsyncClient.getDistribution(software.amazon.awssdk.services.cloudfront.model.GetDistributionRequest)
API until the desired condition DistributionDeployed
is met, or until it is determined that the resource will never enter into the desired stategetDistributionRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetDistributionResponse>> waitUntilDistributionDeployed(Consumer<GetDistributionRequest.Builder> getDistributionRequest)
CloudFrontAsyncClient.getDistribution(software.amazon.awssdk.services.cloudfront.model.GetDistributionRequest)
API until the desired condition DistributionDeployed
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 GetDistributionRequest.builder()
getDistributionRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetDistributionResponse>> waitUntilDistributionDeployed(GetDistributionRequest getDistributionRequest, WaiterOverrideConfiguration overrideConfig)
CloudFrontAsyncClient.getDistribution(software.amazon.awssdk.services.cloudfront.model.GetDistributionRequest)
API until the desired condition DistributionDeployed
is met, or until it is determined that the resource will never enter into the desired stategetDistributionRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetDistributionResponse>> waitUntilDistributionDeployed(Consumer<GetDistributionRequest.Builder> getDistributionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudFrontAsyncClient.getDistribution(software.amazon.awssdk.services.cloudfront.model.GetDistributionRequest)
API until the desired condition DistributionDeployed
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
getDistributionRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetInvalidationResponse>> waitUntilInvalidationCompleted(GetInvalidationRequest getInvalidationRequest)
CloudFrontAsyncClient.getInvalidation(software.amazon.awssdk.services.cloudfront.model.GetInvalidationRequest)
API until the desired condition InvalidationCompleted
is met, or until it is determined that the resource will never enter into the desired stategetInvalidationRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetInvalidationResponse>> waitUntilInvalidationCompleted(Consumer<GetInvalidationRequest.Builder> getInvalidationRequest)
CloudFrontAsyncClient.getInvalidation(software.amazon.awssdk.services.cloudfront.model.GetInvalidationRequest)
API until the desired condition InvalidationCompleted
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 GetInvalidationRequest.builder()
getInvalidationRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetInvalidationResponse>> waitUntilInvalidationCompleted(GetInvalidationRequest getInvalidationRequest, WaiterOverrideConfiguration overrideConfig)
CloudFrontAsyncClient.getInvalidation(software.amazon.awssdk.services.cloudfront.model.GetInvalidationRequest)
API until the desired condition InvalidationCompleted
is met, or until it is determined that the resource will never enter into the desired stategetInvalidationRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetInvalidationResponse>> waitUntilInvalidationCompleted(Consumer<GetInvalidationRequest.Builder> getInvalidationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudFrontAsyncClient.getInvalidation(software.amazon.awssdk.services.cloudfront.model.GetInvalidationRequest)
API until the desired condition InvalidationCompleted
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
getInvalidationRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetStreamingDistributionResponse>> waitUntilStreamingDistributionDeployed(GetStreamingDistributionRequest getStreamingDistributionRequest)
CloudFrontAsyncClient.getStreamingDistribution(software.amazon.awssdk.services.cloudfront.model.GetStreamingDistributionRequest)
API until the desired condition
StreamingDistributionDeployed
is met, or until it is determined that the resource will never enter into
the desired stategetStreamingDistributionRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetStreamingDistributionResponse>> waitUntilStreamingDistributionDeployed(Consumer<GetStreamingDistributionRequest.Builder> getStreamingDistributionRequest)
CloudFrontAsyncClient.getStreamingDistribution(software.amazon.awssdk.services.cloudfront.model.GetStreamingDistributionRequest)
API until the desired condition
StreamingDistributionDeployed
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 GetStreamingDistributionRequest.builder()
getStreamingDistributionRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetStreamingDistributionResponse>> waitUntilStreamingDistributionDeployed(GetStreamingDistributionRequest getStreamingDistributionRequest, WaiterOverrideConfiguration overrideConfig)
CloudFrontAsyncClient.getStreamingDistribution(software.amazon.awssdk.services.cloudfront.model.GetStreamingDistributionRequest)
API until the desired condition
StreamingDistributionDeployed
is met, or until it is determined that the resource will never enter into
the desired stategetStreamingDistributionRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetStreamingDistributionResponse>> waitUntilStreamingDistributionDeployed(Consumer<GetStreamingDistributionRequest.Builder> getStreamingDistributionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudFrontAsyncClient.getStreamingDistribution(software.amazon.awssdk.services.cloudfront.model.GetStreamingDistributionRequest)
API until the desired condition
StreamingDistributionDeployed
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
getStreamingDistributionRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersstatic CloudFrontAsyncWaiter.Builder builder()
CloudFrontAsyncWaiter
.static CloudFrontAsyncWaiter create()
CloudFrontAsyncWaiter
with the default configuration.
A default CloudFrontAsyncClient
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, invoke
SdkAutoCloseable.close()
to release the resources once the waiter is not needed.
CloudFrontAsyncWaiter
Copyright © 2021. All rights reserved.