public class SetBucketAclRequest extends AmazonWebServiceRequest implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private AccessControlList |
acl
The custom ACL to apply to the specified bucket.
|
private java.lang.String |
bucketName
The name of the bucket whose ACL is being set.
|
private CannedAccessControlList |
cannedAcl
The canned ACL to apply to the specified bucket.
|
NOOP
Constructor and Description |
---|
SetBucketAclRequest(java.lang.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(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
AccessControlList |
getAcl()
Returns the custom ACL to be applied to the specified bucket when this
request is executed.
|
java.lang.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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String bucketName
private AccessControlList acl
private CannedAccessControlList cannedAcl
public SetBucketAclRequest(java.lang.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(java.lang.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.public java.lang.String getBucketName()
public AccessControlList getAcl()
public CannedAccessControlList getCannedAcl()