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 This new api is in preview and is subject to breaking changes.
-
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.
-
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 This new api is in preview and is subject to breaking changes.
-
key
Sets the name of the object that is being uploaded.- 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 to abort.- 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 newAbortMultipartUploadRequestinstance.- Returns:
- A new
AbortMultipartUploadRequest. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-