com.netease.cloud.services.nos.model
public class SetBucketAclRequest extends WebServiceRequest
logID, logSeq
Constructor and Description |
---|
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.
|
SetBucketAclRequest(String bucketName,
String acl) |
Modifier and Type | Method and Description |
---|---|
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.
|
addSpecialHeader, copyPrivateRequestParameters, getAndIncrementLogSeq, getLogID, getLogSeq, getRequestClientOptions, getRequestCredentials, getToken, needSetLogInfo, setLogID, setLogSeq, setRequestCredentials, setToken
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 CannedAccessControlList getCannedAcl()
Copyright © 2017. All Rights Reserved.