Package org.jclouds.s3
Class S3
java.lang.Object
org.jclouds.s3.S3
Utilities for using S3.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PagedIterable
<ObjectMetadata> listBucket
(S3Client s3Client, String bucket, ListBucketOptions options) List all objects in a bucket, in a way that manages pagination, based on the criteria in theListBucketOptions
passed in.
-
Constructor Details
-
S3
public S3()
-
-
Method Details
-
listBucket
public static PagedIterable<ObjectMetadata> listBucket(S3Client s3Client, String bucket, ListBucketOptions options) List all objects in a bucket, in a way that manages pagination, based on the criteria in theListBucketOptions
passed in. ex.continueAfterEachPage = listBucket(s3Client, bucket, options).concat();
- Parameters:
s3Client
- theS3Client
to use for the requestsbucket
- the bucket to listoptions
- theListBucketOptions
describing the listBucket requests- Returns:
- iterable of objects fitting the criteria
- See Also:
-