public static S3Objects withPrefix ( AmazonS3 s3 , String bucketName , String prefix ) { S3Objects objects = new S3Objects ( s3 , bucketName ) ; objects . prefix = prefix ; return objects ; }
Constructs an iterable that covers the objects in an Amazon S3 bucket where the key begins with the given prefix .