Class AbortMultipartUploadRequest.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.AbortMultipartUploadRequest.Builder
- Enclosing class:
- AbortMultipartUploadRequest
A builder for creating
AbortMultipartUploadRequest instances.- Since:
- 2.60.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the name of the bucket in which the multipart upload is stored.build()Builds a newAbortMultipartUploadRequestinstance.Sets the name of the object that is being uploaded.Sets the upload ID of the multipart upload to abort.userProject(String userProject) Sets the user-project.
-
Method Details
-
bucket
Sets the name of the bucket in which the multipart upload is stored.- Parameters:
bucket- The bucket name.- Returns:
- This builder.
- Since:
- 2.60.0
-
key
Sets the name of the object that is being uploaded.- Parameters:
key- The object name.- Returns:
- This builder.
- Since:
- 2.60.0
-
uploadId
Sets the upload ID of the multipart upload to abort.- Parameters:
uploadId- The upload ID.- Returns:
- This builder.
- Since:
- 2.60.0
-
userProject
Sets the user-project.- Parameters:
userProject- The user-project.- Returns:
- This builder.
- Since:
- 2.61.0
- See Also:
-
build
Builds a newAbortMultipartUploadRequestinstance.- Returns:
- A new
AbortMultipartUploadRequest. - Since:
- 2.60.0
-