Class CreateMultipartUploadResponse.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.CreateMultipartUploadResponse.Builder
- Enclosing class:
- CreateMultipartUploadResponse
A builder for
CreateMultipartUploadResponse objects.- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Method Summary
Modifier and TypeMethodDescriptionSets the bucket name for the multipart upload.build()Builds a newCreateMultipartUploadResponseobject.Sets the key (object name) for the multipart upload.Sets the upload ID for the multipart upload.
-
Method Details
-
bucket
Sets the bucket name for the multipart upload.- 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 key (object name) for the multipart upload.- Parameters:
key- The object key.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
uploadId
Sets the upload ID for 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.
-
build
Builds a newCreateMultipartUploadResponseobject.- Returns:
- A new
CreateMultipartUploadResponseobject. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-