public class AmazonS3Waiters extends Object
Constructor and Description |
---|
AmazonS3Waiters(AmazonS3 client)
Constructs a new AmazonS3Waiters with the given client
|
Modifier and Type | Method and Description |
---|---|
Waiter<HeadBucketRequest> |
bucketExists()
Builds a BucketExists waiter by using custom parameters waiterParameters
and other parameters defined in the waiters specification, and then polls
until it determines whether the resource entered the desired state or
not, where polling criteria is bound by either default polling strategy
or custom polling strategy.
|
Waiter<HeadBucketRequest> |
bucketNotExists()
Builds a BucketNotExists waiter by using custom parameters
waiterParameters and other parameters defined in the waiters
specification, and then polls until it determines whether the resource
entered the desired state or not, where polling criteria is bound by
either default polling strategy or custom polling strategy.
|
Waiter<GetObjectMetadataRequest> |
objectExists()
Builds a ObjectExists waiter by using custom parameters waiterParameters
and other parameters defined in the waiters specification, and then polls
until it determines whether the resource entered the desired state or
not, where polling criteria is bound by either default polling strategy
or custom polling strategy.
|
Waiter<GetObjectMetadataRequest> |
objectNotExists()
Builds a ObjectNotExists waiter by using custom parameters
waiterParameters and other parameters defined in the waiters
specification, and then polls until it determines whether the resource
entered the desired state or not, where polling criteria is bound by
either default polling strategy or custom polling strategy.
|
public AmazonS3Waiters(AmazonS3 client)
client
- Service clientpublic Waiter<HeadBucketRequest> bucketNotExists()
public Waiter<HeadBucketRequest> bucketExists()
public Waiter<GetObjectMetadataRequest> objectExists()
public Waiter<GetObjectMetadataRequest> objectNotExists()
Copyright © 2022. All rights reserved.