public static class UploadPartRequest.BuilderA builder for UploadPartRequest.
Methods
bucket(String bucket)
public UploadPartRequest.Builder bucket(String bucket)Sets the bucket to upload the part to.
| Parameter | |
|---|---|
| Name | Description |
bucket |
StringThe bucket to upload the part to. |
| Returns | |
|---|---|
| Type | Description |
UploadPartRequest.Builder |
This builder. |
build()
public UploadPartRequest build()Builds the UploadPartRequest.
| Returns | |
|---|---|
| Type | Description |
UploadPartRequest |
The built UploadPartRequest. |
crc32c(@Nullable String crc32c)
public UploadPartRequest.Builder crc32c(@Nullable String crc32c)Sets the CRC32C checksum of the part to upload.
| Parameter | |
|---|---|
| Name | Description |
crc32c |
@org.checkerframework.checker.nullness.qual.Nullable java.lang.StringThe CRC32C checksum of the part to upload. |
| Returns | |
|---|---|
| Type | Description |
UploadPartRequest.Builder |
This builder. |
key(String key)
public UploadPartRequest.Builder key(String key)Sets the key of the object to upload the part to.
| Parameter | |
|---|---|
| Name | Description |
key |
StringThe key of the object to upload the part to. |
| Returns | |
|---|---|
| Type | Description |
UploadPartRequest.Builder |
This builder. |
partNumber(int partNumber)
public UploadPartRequest.Builder partNumber(int partNumber)Sets the part number of the part to upload.
| Parameter | |
|---|---|
| Name | Description |
partNumber |
intThe part number of the part to upload. |
| Returns | |
|---|---|
| Type | Description |
UploadPartRequest.Builder |
This builder. |
uploadId(String uploadId)
public UploadPartRequest.Builder uploadId(String uploadId)Sets the upload ID of the multipart upload.
| Parameter | |
|---|---|
| Name | Description |
uploadId |
StringThe upload ID of the multipart upload. |
| Returns | |
|---|---|
| Type | Description |
UploadPartRequest.Builder |
This builder. |
userProject(String userProject)
public UploadPartRequest.Builder userProject(String userProject)Sets the user-project. See Also: x-goog-user-project
| Parameter | |
|---|---|
| Name | Description |
userProject |
StringThe user-project. |
| Returns | |
|---|---|
| Type | Description |
UploadPartRequest.Builder |
This builder. |