public final class AbortMultipartUploadRequestRepresents a request to abort a multipart upload. This request is used to stop an in-progress multipart upload, deleting any previously uploaded parts.
Static Methods
builder()
public static AbortMultipartUploadRequest.Builder builder()Returns a new builder for creating AbortMultipartUploadRequest instances.
| Returns | |
|---|---|
| Type | Description |
AbortMultipartUploadRequest.Builder |
A new Builder. |
Methods
bucket()
public String bucket()Returns the name of the bucket in which the multipart upload is stored.
| Returns | |
|---|---|
| Type | Description |
String |
The bucket name. |
key()
public String key()Returns the name of the object that is being uploaded.
| Returns | |
|---|---|
| Type | Description |
String |
The object name. |
uploadId()
public String uploadId()Returns the upload ID of the multipart upload to abort.
| Returns | |
|---|---|
| Type | Description |
String |
The upload ID. |
userProject()
public String userProject()Returns the user-project. See Also: x-goog-user-project
| Returns | |
|---|---|
| Type | Description |
String |
the user-project. |