|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.SetBucketAclRequest
public class SetBucketAclRequest
Request object containing all the options for setting a bucket's Access Control List (ACL).
Constructor Summary | |
---|---|
SetBucketAclRequest(String bucketName,
AccessControlList acl)
Constructs a new SetBucketAclRequest object, ready to set the specified ACL on the specified bucket when this request is executed. |
|
SetBucketAclRequest(String bucketName,
CannedAccessControlList acl)
Constructs a new SetBucketAclRequest object, ready to set the specified canned ACL on the specified bucket when this request is executed. |
Method Summary | |
---|---|
AccessControlList |
getAcl()
Returns the custom ACL to be applied to the specified bucket when this request is executed. |
String |
getBucketName()
Returns the name of the bucket whose ACL will be modified by this request when executed. |
CannedAccessControlList |
getCannedAcl()
Returns the canned ACL to be applied to the specified bucket when this request is executed. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetBucketAclRequest(String bucketName, AccessControlList acl)
bucketName
- The name of the bucket whose ACL will be set by this request.acl
- The custom Access Control List containing the access rules to
apply to the specified bucket when this request is executed.public SetBucketAclRequest(String bucketName, CannedAccessControlList acl)
bucketName
- The name of the bucket whose ACL will be set by this request.acl
- The Canned Access Control List to apply to the specified
bucket when this request is executed.Method Detail |
---|
public String getBucketName()
public AccessControlList getAcl()
public CannedAccessControlList getCannedAcl()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |