CopyableBuilder<ListObjectsResponse.Builder,ListObjectsResponse>
, SdkBuilder<ListObjectsResponse.Builder,ListObjectsResponse>
public static interface ListObjectsResponse.Builder extends CopyableBuilder<ListObjectsResponse.Builder,ListObjectsResponse>
Modifier and Type | Method | Description |
---|---|---|
ListObjectsResponse.Builder |
commonPrefixes(Collection<CommonPrefix> commonPrefixes) |
|
ListObjectsResponse.Builder |
commonPrefixes(CommonPrefix... commonPrefixes) |
NOTE: This method appends the values to the existing list (if any).
|
ListObjectsResponse.Builder |
contents(Collection<S3Object> contents) |
|
ListObjectsResponse.Builder |
contents(S3Object... contents) |
NOTE: This method appends the values to the existing list (if any).
|
ListObjectsResponse.Builder |
delimiter(String delimiter) |
|
ListObjectsResponse.Builder |
encodingType(String encodingType) |
Encoding type used by Amazon S3 to encode object keys in the response.
|
ListObjectsResponse.Builder |
encodingType(EncodingType encodingType) |
Encoding type used by Amazon S3 to encode object keys in the response.
|
ListObjectsResponse.Builder |
isTruncated(Boolean isTruncated) |
A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search
criteria.
|
ListObjectsResponse.Builder |
marker(String marker) |
|
ListObjectsResponse.Builder |
maxKeys(Integer maxKeys) |
|
ListObjectsResponse.Builder |
name(String name) |
|
ListObjectsResponse.Builder |
nextMarker(String nextMarker) |
When response is truncated (the IsTruncated element value in the response is true), you can use the key name
in this field as marker in the subsequent request to get next set of objects.
|
ListObjectsResponse.Builder |
prefix(String prefix) |
copy
apply, build
ListObjectsResponse.Builder isTruncated(Boolean isTruncated)
isTruncated
- A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search
criteria.ListObjectsResponse.Builder marker(String marker)
marker
- ListObjectsResponse.Builder nextMarker(String nextMarker)
nextMarker
- When response is truncated (the IsTruncated element value in the response is true), you can use the
key name in this field as marker in the subsequent request to get next set of objects. Amazon S3 lists
objects in alphabetical order Note: This element is returned only if you have delimiter request
parameter specified. If response does not include the NextMaker and it is truncated, you can use the
value of the last Key in the response as the marker in the subsequent request to get the next set of
object keys.ListObjectsResponse.Builder contents(Collection<S3Object> contents)
contents
- ListObjectsResponse.Builder contents(S3Object... contents)
NOTE: This method appends the values to the existing list (if any). Use
#setContents(java.util.Collection)
or #withContents(java.util.Collection)
if you want to
override the existing values.
contents
- ListObjectsResponse.Builder name(String name)
name
- ListObjectsResponse.Builder prefix(String prefix)
prefix
- ListObjectsResponse.Builder delimiter(String delimiter)
delimiter
- ListObjectsResponse.Builder maxKeys(Integer maxKeys)
maxKeys
- ListObjectsResponse.Builder commonPrefixes(Collection<CommonPrefix> commonPrefixes)
commonPrefixes
- ListObjectsResponse.Builder commonPrefixes(CommonPrefix... commonPrefixes)
NOTE: This method appends the values to the existing list (if any). Use
#setCommonPrefixes(java.util.Collection)
or #withCommonPrefixes(java.util.Collection)
if you
want to override the existing values.
commonPrefixes
- ListObjectsResponse.Builder encodingType(String encodingType)
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
ListObjectsResponse.Builder encodingType(EncodingType encodingType)
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.