public static class ListPartsRequest.BuilderA builder for ListPartsRequest.
Methods
bucket(String bucket)
public ListPartsRequest.Builder bucket(String bucket)Sets the bucket name.
| Parameter | |
|---|---|
| Name | Description |
bucket |
Stringthe bucket name. |
| Returns | |
|---|---|
| Type | Description |
ListPartsRequest.Builder |
this builder. |
build()
public ListPartsRequest build()Builds a new ListPartsRequest object.
| Returns | |
|---|---|
| Type | Description |
ListPartsRequest |
a new ListPartsRequest object. |
key(String key)
public ListPartsRequest.Builder key(String key)Sets the object name.
| Parameter | |
|---|---|
| Name | Description |
key |
Stringthe object name. |
| Returns | |
|---|---|
| Type | Description |
ListPartsRequest.Builder |
this builder. |
maxParts(Integer maxParts)
public ListPartsRequest.Builder maxParts(Integer maxParts)Sets the maximum number of parts to return.
| Parameter | |
|---|---|
| Name | Description |
maxParts |
Integerthe maximum number of parts to return. |
| Returns | |
|---|---|
| Type | Description |
ListPartsRequest.Builder |
this builder. |
partNumberMarker(Integer partNumberMarker)
public ListPartsRequest.Builder partNumberMarker(Integer partNumberMarker)Sets the part number marker.
| Parameter | |
|---|---|
| Name | Description |
partNumberMarker |
Integerthe part number marker. |
| Returns | |
|---|---|
| Type | Description |
ListPartsRequest.Builder |
this builder. |
uploadId(String uploadId)
public ListPartsRequest.Builder uploadId(String uploadId)Sets the upload ID.
| Parameter | |
|---|---|
| Name | Description |
uploadId |
Stringthe upload ID. |
| Returns | |
|---|---|
| Type | Description |
ListPartsRequest.Builder |
this builder. |
userProject(String userProject)
public ListPartsRequest.Builder userProject(String userProject)Sets the user-project. See Also: x-goog-user-project
| Parameter | |
|---|---|
| Name | Description |
userProject |
StringThe user-project. |
| Returns | |
|---|---|
| Type | Description |
ListPartsRequest.Builder |
This builder. |