Class CompleteMultipartUploadRequest.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.CompleteMultipartUploadRequest.Builder
- Enclosing class:
- CompleteMultipartUploadRequest
Builder for
CompleteMultipartUploadRequest.- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Method Summary
Modifier and TypeMethodDescriptionSets the bucket name.build()Builds theCompleteMultipartUploadRequestobject.Sets the object name.multipartUpload(CompletedMultipartUpload completedMultipartUpload) Sets theCompletedMultipartUploadpayload for this request.Sets the upload ID of the multipart upload.
-
Method Details
-
bucket
Sets the bucket name.- Parameters:
bucket- The bucket name.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
key
Sets the object name.- Parameters:
key- The object name.- 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.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
multipartUpload
@BetaApi public CompleteMultipartUploadRequest.Builder multipartUpload(CompletedMultipartUpload completedMultipartUpload) Sets theCompletedMultipartUploadpayload for this request.- Parameters:
completedMultipartUpload- TheCompletedMultipartUploadpayload.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
build
Builds theCompleteMultipartUploadRequestobject.- Returns:
- The new
CompleteMultipartUploadRequestobject. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-