Class AbortMultipartUploadRequest
java.lang.Object
com.google.cloud.storage.multipartupload.model.AbortMultipartUploadRequest
Represents a request to abort a multipart upload. This request is used to stop an in-progress
multipart upload, deleting any previously uploaded parts.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder for creatingAbortMultipartUploadRequestinstances. -
Method Summary
Modifier and TypeMethodDescriptionbucket()Returns the name of the bucket in which the multipart upload is stored.builder()Returns a new builder for creatingAbortMultipartUploadRequestinstances.key()Returns the name of the object that is being uploaded.uploadId()Returns the upload ID of the multipart upload to abort.
-
Method Details
-
bucket
Returns the name of the bucket in which the multipart upload is stored.- Returns:
- The bucket name.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
key
Returns the name of the object that is being uploaded.- Returns:
- The object name.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
uploadId
Returns the upload ID of the multipart upload to abort.- Returns:
- The upload ID.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
builder
Returns a new builder for creatingAbortMultipartUploadRequestinstances.- Returns:
- A new
AbortMultipartUploadRequest.Builder. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-