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)
Sets the value of the CommonPrefixes property for this object.
|
ListObjectsResponse.Builder |
commonPrefixes(CommonPrefix... commonPrefixes)
Sets the value of the CommonPrefixes property for this object.
|
ListObjectsResponse.Builder |
commonPrefixes(Consumer<CommonPrefix.Builder>... commonPrefixes)
Sets the value of the CommonPrefixes property for this object.
|
ListObjectsResponse.Builder |
contents(Collection<S3Object> contents)
Sets the value of the Contents property for this object.
|
ListObjectsResponse.Builder |
contents(Consumer<S3Object.Builder>... contents)
Sets the value of the Contents property for this object.
|
ListObjectsResponse.Builder |
contents(S3Object... contents)
Sets the value of the Contents property for this object.
|
ListObjectsResponse.Builder |
delimiter(String delimiter)
Sets the value of the Delimiter property for this object.
|
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)
Sets the value of the Marker property for this object.
|
ListObjectsResponse.Builder |
maxKeys(Integer maxKeys)
Sets the value of the MaxKeys property for this object.
|
ListObjectsResponse.Builder |
name(String name)
Sets the value of the Name property for this object.
|
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)
Sets the value of the Prefix property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
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
- The new value for the Marker property for this object.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
- The new value for the Contents property for this object.ListObjectsResponse.Builder contents(S3Object... contents)
contents
- The new value for the Contents property for this object.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
- The new value for the Name property for this object.ListObjectsResponse.Builder prefix(String prefix)
prefix
- The new value for the Prefix property for this object.ListObjectsResponse.Builder delimiter(String delimiter)
delimiter
- The new value for the Delimiter property for this object.ListObjectsResponse.Builder maxKeys(Integer maxKeys)
maxKeys
- The new value for the MaxKeys property for this object.ListObjectsResponse.Builder commonPrefixes(Collection<CommonPrefix> commonPrefixes)
commonPrefixes
- The new value for the CommonPrefixes property for this object.ListObjectsResponse.Builder commonPrefixes(CommonPrefix... commonPrefixes)
commonPrefixes
- The new value for the CommonPrefixes property for this object.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.