Class UploadPartRequest.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.UploadPartRequest.Builder
- Enclosing class:
- UploadPartRequest
A builder for
UploadPartRequest.- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Method Summary
Modifier and TypeMethodDescriptionSets the bucket to upload the part to.build()Builds theUploadPartRequest.Sets the key of the object to upload the part to.partNumber(int partNumber) Sets the part number of the part to upload.Sets the upload ID of the multipart upload.
-
Method Details
-
bucket
Sets the bucket to upload the part to.- Parameters:
bucket- The bucket to upload the part to.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
key
Sets the key of the object to upload the part to.- Parameters:
key- The key of the object to upload the part to.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
partNumber
Sets the part number of the part to upload.- Parameters:
partNumber- The part number of the part to upload.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
uploadId
Sets the upload ID of the multipart upload.- Parameters:
uploadId- The upload ID of the multipart upload.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
build
Builds theUploadPartRequest.- Returns:
- The built
UploadPartRequest. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-