| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
COSEncryptionClient.deleteObject(DeleteObjectRequest req) |
void |
COSClient.deleteObject(DeleteObjectRequest deleteObjectRequest) |
void |
COS.deleteObject(DeleteObjectRequest deleteObjectRequest)
Deletes the specified object in the specified bucket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DeleteObjectRequest |
DeleteObjectRequest.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.
|
DeleteObjectRequest |
DeleteObjectRequest.withKey(String key)
Sets the key of the object to delete and returns this object, enabling additional method
calls to be chained together.
|
Copyright © 2020. All rights reserved.