public static final class ListMultipartUploadsResponse.BuilderA builder for ListMultipartUploadsResponse.
Methods
bucket(String bucket)
public ListMultipartUploadsResponse.Builder bucket(String bucket)Sets the bucket that contains the multipart uploads.
| Parameter | |
|---|---|
| Name | Description |
bucket |
StringThe bucket name. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
build()
public ListMultipartUploadsResponse build()Builds the response.
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse |
The built response. |
commonPrefixes(ImmutableList<String> commonPrefixes)
public ListMultipartUploadsResponse.Builder commonPrefixes(ImmutableList<String> commonPrefixes)If you specify a delimiter in the request, this element is returned.
| Parameter | |
|---|---|
| Name | Description |
commonPrefixes |
com.google.common.collect.ImmutableList<String>The common prefixes. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
delimiter(String delimiter)
public ListMultipartUploadsResponse.Builder delimiter(String delimiter)Sets the delimiter applied to the request.
| Parameter | |
|---|---|
| Name | Description |
delimiter |
StringThe delimiter applied to the request. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
encodingType(String encodingType)
public ListMultipartUploadsResponse.Builder encodingType(String encodingType)Sets the encoding type used by Cloud Storage to encode object names in the response.
| Parameter | |
|---|---|
| Name | Description |
encodingType |
StringThe encoding type. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
keyMarker(String keyMarker)
public ListMultipartUploadsResponse.Builder keyMarker(String keyMarker)Sets the key at or after which the listing began.
| Parameter | |
|---|---|
| Name | Description |
keyMarker |
StringThe key marker. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
maxUploads(int maxUploads)
public ListMultipartUploadsResponse.Builder maxUploads(int maxUploads)Sets the maximum number of uploads to return.
| Parameter | |
|---|---|
| Name | Description |
maxUploads |
intThe maximum number of uploads. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
nextKeyMarker(String nextKeyMarker)
public ListMultipartUploadsResponse.Builder nextKeyMarker(String nextKeyMarker)Sets the key after which listing should begin.
| Parameter | |
|---|---|
| Name | Description |
nextKeyMarker |
StringThe key after which listing should begin. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
nextUploadIdMarker(String nextUploadIdMarker)
public ListMultipartUploadsResponse.Builder nextUploadIdMarker(String nextUploadIdMarker)Sets the upload ID after which listing should begin.
| Parameter | |
|---|---|
| Name | Description |
nextUploadIdMarker |
StringThe upload ID after which listing should begin. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
prefix(String prefix)
public ListMultipartUploadsResponse.Builder prefix(String prefix)Sets the prefix applied to the request.
| Parameter | |
|---|---|
| Name | Description |
prefix |
StringThe prefix applied to the request. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
truncated(boolean isTruncated)
public ListMultipartUploadsResponse.Builder truncated(boolean isTruncated)Sets the flag indicating whether or not the returned results are truncated.
| Parameter | |
|---|---|
| Name | Description |
isTruncated |
booleanThe flag indicating whether or not the returned results are truncated. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
uploadIdMarker(String uploadIdMarker)
public ListMultipartUploadsResponse.Builder uploadIdMarker(String uploadIdMarker)Sets the upload ID at or after which the listing began.
| Parameter | |
|---|---|
| Name | Description |
uploadIdMarker |
StringThe upload ID marker. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |
uploads(ImmutableList<MultipartUpload> uploads)
public ListMultipartUploadsResponse.Builder uploads(ImmutableList<MultipartUpload> uploads)Sets the list of multipart uploads.
| Parameter | |
|---|---|
| Name | Description |
uploads |
com.google.common.collect.ImmutableList<MultipartUpload>The list of multipart uploads. |
| Returns | |
|---|---|
| Type | Description |
ListMultipartUploadsResponse.Builder |
This builder. |