public class AbortMultipartUploadRequest extends GenericUploadRequest
Required Parameters: BucketName, Key, UploadId
trafficLimitBitPS| Constructor and Description |
|---|
AbortMultipartUploadRequest(String bucketName,
String key,
String uploadId)
Constructs a new request to abort a multipart upload.
|
| Modifier and Type | Method and Description |
|---|---|
AbortMultipartUploadRequest |
withBucketName(String bucketName)
Sets the name of the bucket containing the multipart upload to abort and returns the updated object
so that additional calls can be chained together.
|
AbortMultipartUploadRequest |
withKey(String key)
Sets the key of the multipart upload to abort and returns the updated AbortMultipartUploadRequest object
so that additional method calls can be chained together.
|
AbortMultipartUploadRequest |
withRequestCredentials(BceCredentials credentials) |
AbortMultipartUploadRequest |
withUploadId(String uploadId)
Sets the ID of the multipart upload to abort, and returns this updated AbortMultipartUploadRequest object
so that additional method calls can be chained together.
|
getUploadId, setUploadIdgetKey, setKeygetBucketName, setBucketNamegetRequestCredentials, setRequestCredentialspublic AbortMultipartUploadRequest(String bucketName, String key, String uploadId)
bucketName - The name of the bucket containing the multipart upload to abort.key - The key of the multipart upload to abort.uploadId - The ID of the multipart upload to abort.public AbortMultipartUploadRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic AbortMultipartUploadRequest withBucketName(String bucketName)
withBucketName in class GenericBucketRequestbucketName - The name of the bucket containing the multipart upload to abort.public AbortMultipartUploadRequest withKey(String key)
withKey in class GenericObjectRequestkey - The key of the multipart upload to abort.public AbortMultipartUploadRequest withUploadId(String uploadId)
withUploadId in class GenericUploadRequestuploadId - The ID of the multipart upload to abort.Copyright © 2023. All rights reserved.