Interface ListMultipartUploadsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMultipartUploadsResponse.Builder,ListMultipartUploadsResponse>,S3Response.Builder,SdkBuilder<ListMultipartUploadsResponse.Builder,ListMultipartUploadsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMultipartUploadsResponse
@Mutable @NotThreadSafe public static interface ListMultipartUploadsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<ListMultipartUploadsResponse.Builder,ListMultipartUploadsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMultipartUploadsResponse.Builderbucket(String bucket)The name of the bucket to which the multipart upload was initiated.ListMultipartUploadsResponse.BuildercommonPrefixes(Collection<CommonPrefix> commonPrefixes)If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in aCommonPrefixeselement.ListMultipartUploadsResponse.BuildercommonPrefixes(Consumer<CommonPrefix.Builder>... commonPrefixes)If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in aCommonPrefixeselement.ListMultipartUploadsResponse.BuildercommonPrefixes(CommonPrefix... commonPrefixes)If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in aCommonPrefixeselement.ListMultipartUploadsResponse.Builderdelimiter(String delimiter)Contains the delimiter you specified in the request.ListMultipartUploadsResponse.BuilderencodingType(String encodingType)Encoding type used by Amazon S3 to encode object keys in the response.ListMultipartUploadsResponse.BuilderencodingType(EncodingType encodingType)Encoding type used by Amazon S3 to encode object keys in the response.ListMultipartUploadsResponse.BuilderisTruncated(Boolean isTruncated)Indicates whether the returned list of multipart uploads is truncated.ListMultipartUploadsResponse.BuilderkeyMarker(String keyMarker)The key at or after which the listing began.ListMultipartUploadsResponse.BuildermaxUploads(Integer maxUploads)Maximum number of multipart uploads that could have been included in the response.ListMultipartUploadsResponse.BuildernextKeyMarker(String nextKeyMarker)When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request.ListMultipartUploadsResponse.BuildernextUploadIdMarker(String nextUploadIdMarker)When a list is truncated, this element specifies the value that should be used for theupload-id-markerrequest parameter in a subsequent request.ListMultipartUploadsResponse.Builderprefix(String prefix)When a prefix is provided in the request, this field contains the specified prefix.ListMultipartUploadsResponse.BuilderrequestCharged(String requestCharged)Sets the value of the RequestCharged property for this object.ListMultipartUploadsResponse.BuilderrequestCharged(RequestCharged requestCharged)Sets the value of the RequestCharged property for this object.ListMultipartUploadsResponse.BuilderuploadIdMarker(String uploadIdMarker)Together with key-marker, specifies the multipart upload after which listing should begin.ListMultipartUploadsResponse.Builderuploads(Collection<MultipartUpload> uploads)Container for elements related to a particular multipart upload.ListMultipartUploadsResponse.Builderuploads(Consumer<MultipartUpload.Builder>... uploads)Container for elements related to a particular multipart upload.ListMultipartUploadsResponse.Builderuploads(MultipartUpload... uploads)Container for elements related to a particular multipart upload.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
bucket
ListMultipartUploadsResponse.Builder bucket(String bucket)
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
- Parameters:
bucket- The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyMarker
ListMultipartUploadsResponse.Builder keyMarker(String keyMarker)
The key at or after which the listing began.
- Parameters:
keyMarker- The key at or after which the listing began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadIdMarker
ListMultipartUploadsResponse.Builder uploadIdMarker(String uploadIdMarker)
Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads for a key equal to the key-marker might be included in the list only if they have an upload ID lexicographically greater than the specified
upload-id-marker.This functionality is not supported for directory buckets.
- Parameters:
uploadIdMarker- Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads for a key equal to the key-marker might be included in the list only if they have an upload ID lexicographically greater than the specifiedupload-id-marker.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextKeyMarker
ListMultipartUploadsResponse.Builder nextKeyMarker(String nextKeyMarker)
When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request.
- Parameters:
nextKeyMarker- When a list is truncated, this element specifies the value that should be used 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.
-
prefix
ListMultipartUploadsResponse.Builder prefix(String prefix)
When a prefix is provided in the request, this field contains the specified prefix. The result contains only keys starting with the specified prefix.
Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.- Parameters:
prefix- When a prefix is provided in the request, this field contains the specified prefix. The result contains only keys starting with the specified prefix.Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delimiter
ListMultipartUploadsResponse.Builder delimiter(String delimiter)
Contains the delimiter you specified in the request. If you don't specify a delimiter in your request, this element is absent from the response.
Directory buckets - For directory buckets,
/is the only supported delimiter.- Parameters:
delimiter- Contains the delimiter you specified in the request. If you don't specify a delimiter in your request, this element is absent from the response.Directory buckets - For directory buckets,
/is the only supported delimiter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextUploadIdMarker
ListMultipartUploadsResponse.Builder nextUploadIdMarker(String nextUploadIdMarker)
When a list is truncated, this element specifies the value that should be used for the
upload-id-markerrequest parameter in a subsequent request.This functionality is not supported for directory buckets.
- Parameters:
nextUploadIdMarker- When a list is truncated, this element specifies the value that should be used for theupload-id-markerrequest parameter in a subsequent request.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxUploads
ListMultipartUploadsResponse.Builder maxUploads(Integer maxUploads)
Maximum number of multipart uploads that could have been included in the response.
- Parameters:
maxUploads- Maximum number of multipart uploads that could have been included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
ListMultipartUploadsResponse.Builder isTruncated(Boolean isTruncated)
Indicates whether the returned list of multipart uploads is truncated. A value of true indicates that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploads.
- Parameters:
isTruncated- Indicates whether the returned list of multipart uploads is truncated. A value of true indicates that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploads
ListMultipartUploadsResponse.Builder uploads(Collection<MultipartUpload> uploads)
Container for elements related to a particular multipart upload. A response can contain zero or more
Uploadelements.- Parameters:
uploads- Container for elements related to a particular multipart upload. A response can contain zero or moreUploadelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploads
ListMultipartUploadsResponse.Builder uploads(MultipartUpload... uploads)
Container for elements related to a particular multipart upload. A response can contain zero or more
Uploadelements.- Parameters:
uploads- Container for elements related to a particular multipart upload. A response can contain zero or moreUploadelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploads
ListMultipartUploadsResponse.Builder uploads(Consumer<MultipartUpload.Builder>... uploads)
Container for elements related to a particular multipart upload. A response can contain zero or more
This is a convenience method that creates an instance of theUploadelements.MultipartUpload.Builderavoiding the need to create one manually viaMultipartUpload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#uploads(List.) - Parameters:
uploads- a consumer that will call methods onMultipartUpload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#uploads(java.util.Collection)
-
commonPrefixes
ListMultipartUploadsResponse.Builder commonPrefixes(Collection<CommonPrefix> commonPrefixes)
If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in a
CommonPrefixeselement. The distinct key prefixes are returned in thePrefixchild element.Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.- Parameters:
commonPrefixes- If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in aCommonPrefixeselement. The distinct key prefixes are returned in thePrefixchild element.Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonPrefixes
ListMultipartUploadsResponse.Builder commonPrefixes(CommonPrefix... commonPrefixes)
If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in a
CommonPrefixeselement. The distinct key prefixes are returned in thePrefixchild element.Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.- Parameters:
commonPrefixes- If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in aCommonPrefixeselement. The distinct key prefixes are returned in thePrefixchild element.Directory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonPrefixes
ListMultipartUploadsResponse.Builder commonPrefixes(Consumer<CommonPrefix.Builder>... commonPrefixes)
If you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in a
CommonPrefixeselement. The distinct key prefixes are returned in thePrefixchild element. This is a convenience method that creates an instance of theDirectory buckets - For directory buckets, only prefixes that end in a delimiter (
/) are supported.CommonPrefix.Builderavoiding the need to create one manually viaCommonPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#commonPrefixes(List.) - 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:
#commonPrefixes(java.util.Collection)
-
encodingType
ListMultipartUploadsResponse.Builder encodingType(String encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
If you specify the
encoding-typerequest parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:Delimiter,KeyMarker,Prefix,NextKeyMarker,Key.- Parameters:
encodingType- Encoding type used by Amazon S3 to encode object keys in the response.If you specify the
encoding-typerequest parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:Delimiter,KeyMarker,Prefix,NextKeyMarker,Key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncodingType,EncodingType
-
encodingType
ListMultipartUploadsResponse.Builder encodingType(EncodingType encodingType)
Encoding type used by Amazon S3 to encode object keys in the response.
If you specify the
encoding-typerequest parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:Delimiter,KeyMarker,Prefix,NextKeyMarker,Key.- Parameters:
encodingType- Encoding type used by Amazon S3 to encode object keys in the response.If you specify the
encoding-typerequest parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:Delimiter,KeyMarker,Prefix,NextKeyMarker,Key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncodingType,EncodingType
-
requestCharged
ListMultipartUploadsResponse.Builder requestCharged(String 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,RequestCharged
-
requestCharged
ListMultipartUploadsResponse.Builder requestCharged(RequestCharged 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,RequestCharged
-
-