public class SetObjectAclRequest extends AmazonWebServiceRequest
NOOP
Constructor and Description |
---|
SetObjectAclRequest(String bucketName,
String key,
AccessControlList acl)
Constructs a new SetObjectAclRequest object, ready to set the specified
ACL on the specified object when this request is executed.
|
SetObjectAclRequest(String bucketName,
String key,
CannedAccessControlList acl)
Constructs a new SetObjectAclRequest object, ready to set the specified
ACL on the specified object when this request is executed.
|
SetObjectAclRequest(String bucketName,
String key,
String versionId,
AccessControlList acl)
Constructs a new SetObjectAclRequest object, ready to set the specified
ACL on the specified object when this request is executed.
|
SetObjectAclRequest(String bucketName,
String key,
String versionId,
CannedAccessControlList acl)
Constructs a new SetObjectAclRequest object, ready to set the specified
ACL on the specified object when this request is executed.
|
Modifier and Type | Method and Description |
---|---|
AccessControlList |
getAcl()
Returns the custom ACL to be applied to the specified object when this
request is executed.
|
String |
getBucketName()
Returns the name of the bucket containing the object whose ACL is being
set.
|
CannedAccessControlList |
getCannedAcl()
Returns the canned ACL to be applied to the specified object when this
request is executed.
|
String |
getKey()
Returns the name of the object whose ACL is being set.
|
String |
getVersionId()
Returns the version ID of the object version whose ACL is being set.
|
clone, copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public SetObjectAclRequest(String bucketName, String key, AccessControlList acl)
bucketName
- The name of the bucket containing the object whose ACL is
being set.key
- The name of the object whose ACL is being set.acl
- The custom Access Control List containing the access rules to
apply to the specified bucket when this request is executed.public SetObjectAclRequest(String bucketName, String key, CannedAccessControlList acl)
bucketName
- The name of the bucket containing the object whose ACL is
being set.key
- The name of the object whose ACL is being set.acl
- The Canned Access Control List to apply to the specified
bucket when this request is executed.public SetObjectAclRequest(String bucketName, String key, String versionId, AccessControlList acl)
bucketName
- The name of the bucket containing the object whose ACL is
being set.key
- The name of the object whose ACL is being set.versionId
- The version ID of the object version whose ACL is being set.acl
- The custom Access Control List containing the access rules to
apply to the specified bucket when this request is executed.public SetObjectAclRequest(String bucketName, String key, String versionId, CannedAccessControlList acl)
bucketName
- The name of the bucket containing the object whose ACL is
being set.key
- The name of the object whose ACL is being set.versionId
- The version ID of the object version whose ACL is being set.acl
- The Canned Access Control List to apply to the specified
bucket when this request is executed.public String getBucketName()
public String getKey()
public String getVersionId()
public AccessControlList getAcl()
public CannedAccessControlList getCannedAcl()
Copyright © 2015. All rights reserved.