| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
COSClient.deleteVersion(DeleteVersionRequest deleteVersionRequest) |
void |
COS.deleteVersion(DeleteVersionRequest deleteVersionRequest)
Deletes a specific version of the specified object in the specified bucket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DeleteVersionRequest |
DeleteVersionRequest.withBucketName(String bucketName)
Sets the name of the Qcloud COS bucket containing the object to delete and returns this
object, enabling additional method calls to be chained together.
|
DeleteVersionRequest |
DeleteVersionRequest.withKey(String key)
Sets the key of the object to delete and returns this object, enabling additional method
calls to be chained together.
|
DeleteVersionRequest |
DeleteVersionRequest.withVersionId(String versionId)
Sets the version ID uniquely identifying which version of the object to
delete
Returns this
DeleteVersionRequest, enabling additional method
calls to be chained together. |
Copyright © 2020. All rights reserved.