public class GetObjectAclRequest extends GenericRequest
Constructor and Description |
---|
GetObjectAclRequest() |
GetObjectAclRequest(String bucketName,
String objectKey,
String versionId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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, setRequesterPays
public 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
in class GenericRequest
Copyright © 2021. All rights reserved.