Example usage for Java com.amazonaws.services.s3.model ListObjectsRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
ListObjectsRequest() Constructs a new ListObjectsRequest object. | |
ListObjectsRequest(String bucketName, String prefix, String marker, String delimiter, Integer maxKeys) Constructs a new ListObjectsRequest object and initializes all required and optional object fields. |
String | getBucketName() Gets the name of the Amazon S3 bucket whose objects are to be listed. |
String | getDelimiter() Gets the optional delimiter parameter that causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be combined into a single result element in the ObjectListing#getCommonPrefixes() list. |
String | getMarker() Gets the optional marker parameter indicating where in the bucket to begin listing. |
Integer | getMaxKeys() Gets the optional maxKeys parameter indicating the maximum number of keys to include in the response. |
String | getPrefix() Gets the optional prefix parameter and restricts the response to keys that begin with the specified prefix. |
void | setBucketName(String bucketName) Sets the name of the Amazon S3 bucket whose objects are to be listed. |
void | setDelimiter(String delimiter) Sets the optional delimiter parameter that causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be combined into a single result element in the ObjectListing#getCommonPrefixes() list. |
void | setMarker(String marker) Sets the optional marker parameter indicating where in the bucket to begin listing. |
void | setMaxKeys(Integer maxKeys) Sets the optional maxKeys parameter indicating the maximum number of keys to include in the response. |
void | setPrefix(String prefix) Sets the optional prefix parameter, restricting the response to keys that begin with the specified prefix. |
void | setRequestCredentials(AWSCredentials credentials) Sets the optional credentials to use for this request, overriding the default credentials set at the client level. |
ListObjectsRequest | withBucketName(String bucketName) Sets the name of the Amazon S3 bucket whose objects are to be listed. |
ListObjectsRequest | withDelimiter(String delimiter) Sets the optional delimiter parameter that causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be rolled up into a single result element in the ObjectListing#getCommonPrefixes() list. |
ListObjectsRequest | withMaxKeys(Integer maxKeys) Sets the optional maxKeys parameter indicating the maximum number of keys to include in the response. |
ListObjectsRequest | withPrefix(String prefix) Sets the optional prefix parameter restricting the response to keys that begin with the specified prefix. |