public class SetBucketAclRequest extends CosServiceRequest implements Serializable
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getCosCredentials, getCustomQueryParameters, getCustomRequestHeaders, getFixedEndpointAddr, getGeneralProgressListener, getReadLimit, getRequestClientOptions, putCustomQueryParameter, putCustomRequestHeader, setCosCredentials, setFixedEndpointAddr, setGeneralProgressListener, withGeneralProgressListenerpublic 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.public String getBucketName()
public AccessControlList getAcl()
public CannedAccessControlList getCannedAcl()
Copyright © 2022. All rights reserved.