Interface ListObjectVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListObjectVersionsResponse.Builder,
,ListObjectVersionsResponse> S3Response.Builder
,SdkBuilder<ListObjectVersionsResponse.Builder,
,ListObjectVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListObjectVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncommonPrefixes
(Collection<CommonPrefix> commonPrefixes) All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.commonPrefixes
(Consumer<CommonPrefix.Builder>... commonPrefixes) All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.commonPrefixes
(CommonPrefix... commonPrefixes) All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.deleteMarkers
(Collection<DeleteMarkerEntry> deleteMarkers) Container for an object that is a delete marker.deleteMarkers
(Consumer<DeleteMarkerEntry.Builder>... deleteMarkers) Container for an object that is a delete marker.deleteMarkers
(DeleteMarkerEntry... deleteMarkers) Container for an object that is a delete marker.The delimiter grouping the included keys.encodingType
(String encodingType) Encoding type used by Amazon S3 to encode object key names in the XML response.encodingType
(EncodingType encodingType) Encoding type used by Amazon S3 to encode object key names in the XML response.isTruncated
(Boolean isTruncated) A flag that indicates whether Amazon S3 returned all of the results that satisfied the search criteria.Marks the last key returned in a truncated response.Specifies the maximum number of objects to return.The bucket name.nextKeyMarker
(String nextKeyMarker) When the number of responses exceeds the value ofMaxKeys
,NextKeyMarker
specifies the first key not returned that satisfies the search criteria.nextVersionIdMarker
(String nextVersionIdMarker) When the number of responses exceeds the value ofMaxKeys
,NextVersionIdMarker
specifies the first object version not returned that satisfies the search criteria.Selects objects that start with the value supplied by this parameter.requestCharged
(String requestCharged) Sets the value of the RequestCharged property for this object.requestCharged
(RequestCharged requestCharged) Sets the value of the RequestCharged property for this object.versionIdMarker
(String versionIdMarker) Marks the last version of the key returned in a truncated response.versions
(Collection<ObjectVersion> versions) Container for version information.versions
(Consumer<ObjectVersion.Builder>... versions) Container for version information.versions
(ObjectVersion... versions) Container for version information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
isTruncated
A flag that indicates whether Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request by using the
NextKeyMarker
andNextVersionIdMarker
response parameters as a starting place in another request to return the rest of the results.- Parameters:
isTruncated
- A flag that indicates whether Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request by using theNextKeyMarker
andNextVersionIdMarker
response parameters as a starting place in another request to return the rest of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyMarker
Marks the last key returned in a truncated response.
- Parameters:
keyMarker
- Marks the last key returned in a truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionIdMarker
Marks the last version of the key returned in a truncated response.
- Parameters:
versionIdMarker
- Marks the last version of the key returned in a truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextKeyMarker
When the number of responses exceeds the value of
MaxKeys
,NextKeyMarker
specifies the first key not returned that satisfies the search criteria. Use this value for the key-marker request parameter in a subsequent request.- Parameters:
nextKeyMarker
- When the number of responses exceeds the value ofMaxKeys
,NextKeyMarker
specifies the first key not returned that satisfies the search criteria. Use this value for the key-marker request parameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextVersionIdMarker
When the number of responses exceeds the value of
MaxKeys
,NextVersionIdMarker
specifies the first object version not returned that satisfies the search criteria. Use this value for theversion-id-marker
request parameter in a subsequent request.- Parameters:
nextVersionIdMarker
- When the number of responses exceeds the value ofMaxKeys
,NextVersionIdMarker
specifies the first object version not returned that satisfies the search criteria. Use this value for theversion-id-marker
request parameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
Container for version information.
- Parameters:
versions
- Container for version information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
Container for version information.
- Parameters:
versions
- Container for version information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
Container for version information.
This is a convenience method that creates an instance of theObjectVersion.Builder
avoiding the need to create one manually viaObjectVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversions(List<ObjectVersion>)
.- Parameters:
versions
- a consumer that will call methods onObjectVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deleteMarkers
Container for an object that is a delete marker.
- Parameters:
deleteMarkers
- Container for an object that is a delete marker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteMarkers
Container for an object that is a delete marker.
- Parameters:
deleteMarkers
- Container for an object that is a delete marker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteMarkers
ListObjectVersionsResponse.Builder deleteMarkers(Consumer<DeleteMarkerEntry.Builder>... deleteMarkers) Container for an object that is a delete marker.
This is a convenience method that creates an instance of theDeleteMarkerEntry.Builder
avoiding the need to create one manually viaDeleteMarkerEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeleteMarkers(List<DeleteMarkerEntry>)
.- Parameters:
deleteMarkers
- a consumer that will call methods onDeleteMarkerEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The bucket name.
- Parameters:
name
- The bucket name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
Selects objects that start with the value supplied by this parameter.
- Parameters:
prefix
- Selects objects that start with the value supplied by this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delimiter
The delimiter grouping the included keys. A delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element in
CommonPrefixes
. These groups are counted as one result against themax-keys
limitation. These keys are not returned elsewhere in the response.- Parameters:
delimiter
- The delimiter grouping the included keys. A delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element inCommonPrefixes
. These groups are counted as one result against themax-keys
limitation. These keys are not returned elsewhere in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxKeys
Specifies the maximum number of objects to return.
- Parameters:
maxKeys
- Specifies the maximum number of objects to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonPrefixes
All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
- Parameters:
commonPrefixes
- All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonPrefixes
All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
- Parameters:
commonPrefixes
- All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonPrefixes
All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
This is a convenience method that creates an instance of theCommonPrefix.Builder
avoiding the need to create one manually viaCommonPrefix.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommonPrefixes(List<CommonPrefix>)
.- Parameters:
commonPrefixes
- a consumer that will call methods onCommonPrefix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encodingType
Encoding type used by Amazon S3 to encode object key names in the XML response.
If you specify the
encoding-type
request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:KeyMarker, NextKeyMarker, Prefix, Key
, andDelimiter
.- Parameters:
encodingType
- Encoding type used by Amazon S3 to encode object key names in the XML response.If you specify the
encoding-type
request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:KeyMarker, NextKeyMarker, Prefix, Key
, andDelimiter
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encodingType
Encoding type used by Amazon S3 to encode object key names in the XML response.
If you specify the
encoding-type
request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:KeyMarker, NextKeyMarker, Prefix, Key
, andDelimiter
.- Parameters:
encodingType
- Encoding type used by Amazon S3 to encode object key names in the XML response.If you specify the
encoding-type
request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:KeyMarker, NextKeyMarker, Prefix, Key
, andDelimiter
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged
- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged
- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-