@Generated(value="software.amazon.awssdk:codegen") public interface S3AsyncWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
S3AsyncWaiter.Builder |
closedefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketExists(HeadBucketRequest headBucketRequest)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketExists is met, or until it
is determined that the resource will never enter into the desired stateheadBucketRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketExists 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 HeadBucketRequest.builder()
headBucketRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketExists(HeadBucketRequest headBucketRequest, WaiterOverrideConfiguration overrideConfig)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketExists is met, or until it
is determined that the resource will never enter into the desired stateheadBucketRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketExists 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
headBucketRequest - 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<HeadBucketResponse>> waitUntilBucketNotExists(HeadBucketRequest headBucketRequest)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketNotExists is met, or until
it is determined that the resource will never enter into the desired stateheadBucketRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketNotExists 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 HeadBucketRequest.builder()
headBucketRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketNotExists(HeadBucketRequest headBucketRequest, WaiterOverrideConfiguration overrideConfig)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketNotExists is met, or until
it is determined that the resource will never enter into the desired stateheadBucketRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3AsyncClient.headBucket(software.amazon.awssdk.services.s3.model.HeadBucketRequest) API until the desired condition BucketNotExists 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
headBucketRequest - 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<HeadObjectResponse>> waitUntilObjectExists(HeadObjectRequest headObjectRequest)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectExists is met, or until it
is determined that the resource will never enter into the desired stateheadObjectRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadObjectResponse>> waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectExists 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 HeadObjectRequest.builder()
headObjectRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadObjectResponse>> waitUntilObjectExists(HeadObjectRequest headObjectRequest, WaiterOverrideConfiguration overrideConfig)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectExists is met, or until it
is determined that the resource will never enter into the desired stateheadObjectRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<HeadObjectResponse>> waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectExists 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
headObjectRequest - 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<HeadObjectResponse>> waitUntilObjectNotExists(HeadObjectRequest headObjectRequest)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectNotExists is met, or until
it is determined that the resource will never enter into the desired stateheadObjectRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadObjectResponse>> waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectNotExists 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 HeadObjectRequest.builder()
headObjectRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<HeadObjectResponse>> waitUntilObjectNotExists(HeadObjectRequest headObjectRequest, WaiterOverrideConfiguration overrideConfig)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectNotExists is met, or until
it is determined that the resource will never enter into the desired stateheadObjectRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<HeadObjectResponse>> waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3AsyncClient.headObject(software.amazon.awssdk.services.s3.model.HeadObjectRequest) API until the desired condition ObjectNotExists 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
headObjectRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersstatic S3AsyncWaiter.Builder builder()
S3AsyncWaiter.static S3AsyncWaiter create()
S3AsyncWaiter with the default configuration.
A default S3AsyncClient 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.
S3AsyncWaiterCopyright © 2020. All rights reserved.