Package org.jclouds.s3
Class S3
- java.lang.Object
-
- org.jclouds.s3.S3
-
public class S3 extends Object
Utilities for using S3.
-
-
Constructor Summary
Constructors Constructor Description S3()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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 theListBucketOptionspassed in.
-
-
-
Method Detail
-
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 theListBucketOptionspassed in. ex.continueAfterEachPage = listBucket(s3Client, bucket, options).concat();
- Parameters:
s3Client- theS3Clientto use for the requestsbucket- the bucket to listoptions- theListBucketOptionsdescribing the listBucket requests- Returns:
- iterable of objects fitting the criteria
- See Also:
PagedIterable
-
-