@Generated(value="software.amazon.awssdk:codegen") public interface S3Waiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
S3Waiter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static S3Waiter.Builder |
builder()
Create a builder that can be used to configure and create a
S3Waiter. |
static S3Waiter |
create()
Create an instance of
S3Waiter with the default configuration. |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
Polls
S3Client.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. |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3Client.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. |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketExists(HeadBucketRequest headBucketRequest)
Polls
S3Client.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 |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketExists(HeadBucketRequest headBucketRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3Client.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 |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
Polls
S3Client.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. |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3Client.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. |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketNotExists(HeadBucketRequest headBucketRequest)
Polls
S3Client.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 |
default WaiterResponse<HeadBucketResponse> |
waitUntilBucketNotExists(HeadBucketRequest headBucketRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3Client.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 |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
Polls
S3Client.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. |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3Client.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. |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectExists(HeadObjectRequest headObjectRequest)
Polls
S3Client.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 |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectExists(HeadObjectRequest headObjectRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3Client.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 |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
Polls
S3Client.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. |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
S3Client.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. |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectNotExists(HeadObjectRequest headObjectRequest)
Polls
S3Client.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 |
default WaiterResponse<HeadObjectResponse> |
waitUntilObjectNotExists(HeadObjectRequest headObjectRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
S3Client.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 |
closedefault WaiterResponse<HeadBucketResponse> waitUntilBucketExists(HeadBucketRequest headBucketRequest)
S3Client.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 WaiterResponse<HeadBucketResponse> waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
S3Client.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 WaiterResponse<HeadBucketResponse> waitUntilBucketExists(HeadBucketRequest headBucketRequest, WaiterOverrideConfiguration overrideConfig)
S3Client.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 WaiterResponse<HeadBucketResponse> waitUntilBucketExists(Consumer<HeadBucketRequest.Builder> headBucketRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3Client.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 WaiterResponse<HeadBucketResponse> waitUntilBucketNotExists(HeadBucketRequest headBucketRequest)
S3Client.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 WaiterResponse<HeadBucketResponse> waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest)
S3Client.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 WaiterResponse<HeadBucketResponse> waitUntilBucketNotExists(HeadBucketRequest headBucketRequest, WaiterOverrideConfiguration overrideConfig)
S3Client.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 WaiterResponse<HeadBucketResponse> waitUntilBucketNotExists(Consumer<HeadBucketRequest.Builder> headBucketRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectExists(HeadObjectRequest headObjectRequest)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectExists(HeadObjectRequest headObjectRequest, WaiterOverrideConfiguration overrideConfig)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectExists(Consumer<HeadObjectRequest.Builder> headObjectRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectNotExists(HeadObjectRequest headObjectRequest)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectNotExists(HeadObjectRequest headObjectRequest, WaiterOverrideConfiguration overrideConfig)
S3Client.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 WaiterResponse<HeadObjectResponse> waitUntilObjectNotExists(Consumer<HeadObjectRequest.Builder> headObjectRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
S3Client.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 S3Waiter.Builder builder()
S3Waiter.static S3Waiter create()
S3Waiter with the default configuration.
A default S3Client 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.
S3WaiterCopyright © 2020. All rights reserved.