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