| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.internal | |
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
AccessControlList |
COS.getBucketAcl(GetBucketAclRequest getBucketAclRequest)
Gets the
AccessControlList (ACL) for the specified bucket. |
AccessControlList |
COSClient.getBucketAcl(GetBucketAclRequest getBucketAclRequest) |
AccessControlList |
COS.getBucketAcl(String bucketName)
Gets the
AccessControlList (ACL) for the specified bucket. |
AccessControlList |
COSClient.getBucketAcl(String bucketName) |
AccessControlList |
COS.getObjectAcl(GetObjectAclRequest getObjectAclRequest)
Gets the
AccessControlList (ACL) for the specified object in Qcloud COS. |
AccessControlList |
COSClient.getObjectAcl(GetObjectAclRequest getObjectAclRequest) |
AccessControlList |
COS.getObjectAcl(String bucketName,
String key)
Gets the
AccessControlList (ACL) for the specified object in Qcloud COS. |
AccessControlList |
COSClient.getObjectAcl(String bucketName,
String key) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
COS.setBucketAcl(String bucketName,
AccessControlList acl)
Sets the
AccessControlList for the specified bucket. |
void |
COSClient.setBucketAcl(String bucketName,
AccessControlList acl) |
void |
COS.setObjectAcl(String bucketName,
String key,
AccessControlList acl)
Sets the
CannedAccessControlList for the specified object. |
void |
COSClient.setObjectAcl(String bucketName,
String key,
AccessControlList acl) |
| 限定符和类型 | 方法和说明 |
|---|---|
AccessControlList |
XmlResponsesSaxParser.AccessControlListHandler.getAccessControlList() |
AccessControlList |
Unmarshallers.AccessControlListUnmarshaller.unmarshall(InputStream in) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
COSDefaultAclHeaderHandler.handle(AccessControlList result,
CosHttpResponse response) |
| 限定符和类型 | 方法和说明 |
|---|---|
AccessControlList |
CreateBucketRequest.getAccessControlList()
Returns the optional access control list for the new bucket.
|
AccessControlList |
CopyObjectRequest.getAccessControlList()
Returns the optional access control list for the new object.
|
AccessControlList |
PutInstructionFileRequest.getAccessControlList()
Returns the optional access control list for the new object.
|
AccessControlList |
InitiateMultipartUploadRequest.getAccessControlList()
Returns the optional access control list for the new upload.
|
AccessControlList |
AbstractPutObjectRequest.getAccessControlList()
Returns the optional access control list for the new object.
|
AccessControlList |
SetBucketAclRequest.getAcl()
Returns the custom ACL to be applied to the specified bucket when this
request is executed.
|
AccessControlList |
SetObjectAclRequest.getAcl()
Returns the custom ACL to be applied to the specified object when this request is executed.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
AclXmlFactory.convertToXmlByteArray(AccessControlList acl)
Converts the specified AccessControlList object to an XML fragment that can be sent to COS.
|
void |
CreateBucketRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new bucket.
|
void |
CopyObjectRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
void |
PutInstructionFileRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
void |
InitiateMultipartUploadRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new upload.
|
void |
AbstractPutObjectRequest.setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
CreateBucketRequest |
CreateBucketRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new bucket.
|
PutObjectRequest |
PutObjectRequest.withAccessControlList(AccessControlList accessControlList) |
CopyObjectRequest |
CopyObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
PutInstructionFileRequest |
PutInstructionFileRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new upload.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
| 构造器和说明 |
|---|
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.
|
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.
|
Copyright © 2022. All rights reserved.