public static interface ListObjectsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<ListObjectsResponse.Builder,ListObjectsResponse>
Modifier and Type | Method and Description |
---|---|
ListObjectsResponse.Builder |
commonPrefixes(Collection<CommonPrefix> commonPrefixes)
|
ListObjectsResponse.Builder |
commonPrefixes(CommonPrefix... commonPrefixes)
|
ListObjectsResponse.Builder |
commonPrefixes(Consumer<CommonPrefix.Builder>... commonPrefixes)
This is a convenience that creates an instance of the
List avoiding the need to
create one manually via List . |
ListObjectsResponse.Builder |
contents(Collection<S3Object> contents)
|
ListObjectsResponse.Builder |
contents(Consumer<S3Object.Builder>... contents)
This is a convenience that creates an instance of the
List avoiding the need to
create one manually via List . |
ListObjectsResponse.Builder |
contents(S3Object... contents)
|
ListObjectsResponse.Builder |
delimiter(String delimiter)
|
ListObjectsResponse.Builder |
encodingType(EncodingType encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
|
ListObjectsResponse.Builder |
encodingType(String 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)
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListObjectsResponse.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria.
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)
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.
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)
contents
- ListObjectsResponse.Builder contents(Consumer<S3Object.Builder>... contents)
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #contents(List)
.contents
- a consumer that will call methods on List.Builder
#contents(List)
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)
commonPrefixes
- ListObjectsResponse.Builder commonPrefixes(Consumer<CommonPrefix.Builder>... commonPrefixes)
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #commonPrefixes(List)
.commonPrefixes
- a consumer that will call methods on List.Builder
#commonPrefixes(List)
ListObjectsResponse.Builder encodingType(String encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
,
EncodingType
ListObjectsResponse.Builder encodingType(EncodingType encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
encodingType
- Encoding type used by Amazon S3 to encode object keys in the response.EncodingType
,
EncodingType
Copyright © 2019. All rights reserved.