@Generated(value="com.ibm.cos.v2:codegen") @ThreadSafe @Immutable public interface S3AsyncWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
S3AsyncWaiter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static S3AsyncWaiter.Builder |
builder()
Create a builder that can be used to configure and create a
S3AsyncWaiter. |
static S3AsyncWaiter |
create()
Create an instance of
S3AsyncWaiter with the default configuration. |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketExists(HeadBucketRequest headBucketRequest)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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 |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketExists(HeadBucketRequest headBucketRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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 |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketNotExists(HeadBucketRequest headBucketRequest)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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 |
default CompletableFuture<WaiterResponse<HeadBucketResponse>> |
waitUntilBucketNotExists(HeadBucketRequest headBucketRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3AsyncClient.headBucket(com.ibm.cos.v2.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 |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectExists(HeadObjectRequest headObjectRequest)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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 |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectExists(HeadObjectRequest headObjectRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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 |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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. |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectNotExists(HeadObjectRequest headObjectRequest)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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 |
default CompletableFuture<WaiterResponse<HeadObjectResponse>> |
waitUntilObjectNotExists(HeadObjectRequest headObjectRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3AsyncClient.headObject(com.ibm.cos.v2.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 |
closedefault CompletableFuture<WaiterResponse<HeadBucketResponse>> waitUntilBucketExists(HeadBucketRequest headBucketRequest)
S3AsyncClient.headBucket(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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(com.ibm.cos.v2.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 © 2026. All rights reserved.