public class DeleteObjectRequest extends GenericRequest
| 构造器和说明 |
|---|
DeleteObjectRequest() |
DeleteObjectRequest(String bucketName,
String objectKey)
Constructor
|
DeleteObjectRequest(String bucketName,
String objectKey,
String versionId)
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBucketName()
Obtain the name of the bucket to which the to-be-deleted object belongs.
|
String |
getObjectKey()
Obtain the name of the object to be deleted.
|
String |
getVersionId()
Obtain the version ID of the object to be deleted.
|
void |
setBucketName(String bucketName)
Set the name of the bucket to which the to-be-deleted object belongs.
|
void |
setObjectKey(String objectKey)
Set the name of the object to be deleted.
|
void |
setVersionId(String versionId)
Set the version ID of the object to be deleted.
|
String |
toString() |
isRequesterPays, setRequesterPayspublic DeleteObjectRequest()
public DeleteObjectRequest(String bucketName, String objectKey)
bucketName - Bucket nameobjectKey - Object namepublic String getVersionId()
public void setVersionId(String versionId)
versionId - Version ID of the object to be deletedpublic String getBucketName()
public void setBucketName(String bucketName)
bucketName - Name of the bucket to which the to-be-deleted object belongspublic String getObjectKey()
public void setObjectKey(String objectKey)
objectKey - Name of the object to be deletedpublic String toString()
toString 在类中 GenericRequestCopyright © 2021. All rights reserved.