Class CompleteMultipartUploadResponse.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.CompleteMultipartUploadResponse.Builder
- Enclosing class:
- CompleteMultipartUploadResponse
Builder for
CompleteMultipartUploadResponse.- Since:
- 2.60.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the bucket name.build()Builds theCompleteMultipartUploadResponseobject.Sets the CRC32C checksum of the completed object.Sets the ETag of the completed object.Sets the object name.Sets the URL of the completed object.
-
Method Details
-
location
Sets the URL of the completed object.- Parameters:
location- The URL of the completed object.- Returns:
- This builder.
- Since:
- 2.60.0
-
bucket
Sets the bucket name.- Parameters:
bucket- The bucket name.- Returns:
- This builder.
- Since:
- 2.60.0
-
key
Sets the object name.- Parameters:
key- The object name.- Returns:
- This builder.
- Since:
- 2.60.0
-
etag
Sets the ETag of the completed object.- Parameters:
etag- The ETag of the completed object.- Returns:
- This builder.
- Since:
- 2.60.0
-
crc32c
Sets the CRC32C checksum of the completed object.- Parameters:
crc32c- The CRC32C checksum of the completed object.- Returns:
- This builder.
- Since:
- 2.60.0
-
build
Builds theCompleteMultipartUploadResponseobject.- Returns:
- The new
CompleteMultipartUploadResponseobject. - Since:
- 2.60.0
-