Package | Description |
---|---|
com.qcloud.cos | |
com.qcloud.cos.model |
Modifier and Type | Method and Description |
---|---|
void |
COS.setBucketAcl(String bucketName,
CannedAccessControlList acl)
Sets the
CannedAccessControlList for the specified bucket. |
void |
COSClient.setBucketAcl(String bucketName,
CannedAccessControlList acl) |
void |
COS.setObjectAcl(String bucketName,
String key,
CannedAccessControlList acl)
Sets the
CannedAccessControlList for the specified object. |
void |
COSClient.setObjectAcl(String bucketName,
String key,
CannedAccessControlList acl) |
Modifier and Type | Method and Description |
---|---|
CannedAccessControlList |
AccessControlList.getCannedAccessControl()
according to the returned x-cos-acl header and grantList, to judge the bucket or object acl, the cases are below:
1.
|
CannedAccessControlList |
CopyObjectRequest.getCannedAccessControlList()
Gets the canned ACL to use for the new, copied object.
|
CannedAccessControlList |
CreateBucketRequest.getCannedAcl()
Returns the optional Canned ACL to set for the new bucket.
|
CannedAccessControlList |
SetBucketAclRequest.getCannedAcl()
Returns the canned ACL to be applied to the specified bucket when this
request is executed.
|
CannedAccessControlList |
PutInstructionFileRequest.getCannedAcl()
Gets the optional pre-configured access control policy to use for the new object.
|
CannedAccessControlList |
SetObjectAclRequest.getCannedAcl()
Returns the canned ACL to be applied to the specified object when this request is executed.
|
CannedAccessControlList |
AbstractPutObjectRequest.getCannedAcl()
Gets the optional pre-configured access control policy to use for the new object.
|
CannedAccessControlList |
InitiateMultipartUploadRequest.getCannedACL()
Returns the optional canned Access Control List (ACL) to set permissions for the new object
created when the multipart upload is completed.
|
static CannedAccessControlList |
CannedAccessControlList.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CannedAccessControlList[] |
CannedAccessControlList.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CopyObjectRequest.setCannedAccessControlList(CannedAccessControlList cannedACL)
Sets the canned ACL to use for the newly copied object.
|
void |
CreateBucketRequest.setCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional Canned ACL to set for the new bucket.
|
void |
PutInstructionFileRequest.setCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new object.
|
void |
AbstractPutObjectRequest.setCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new object.
|
void |
InitiateMultipartUploadRequest.setCannedACL(CannedAccessControlList cannedACL)
Sets the optional canned Access Control List (ACL) to set permissions for the new object
created when the multipart upload is completed.
|
CopyObjectRequest |
CopyObjectRequest.withCannedAccessControlList(CannedAccessControlList cannedACL)
Sets the canned ACL to use for the newly copied object, and returns this
CopyObjectRequest , enabling additional method calls to be chained together. |
CreateBucketRequest |
CreateBucketRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional Canned ACL to set for the new bucket, and returns this updated object so
that additional method calls can be chained together.
|
PutObjectRequest |
PutObjectRequest.withCannedAcl(CannedAccessControlList cannedAcl) |
PutInstructionFileRequest |
PutInstructionFileRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new object.
|
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withCannedACL(CannedAccessControlList acl)
Sets the optional canned Access Control List (ACL) to set permissions for the new object
created when the multipart upload is completed.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new object.
|
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.
|
SetObjectAclRequest(String bucketName,
String key,
CannedAccessControlList acl)
Constructs a new SetObjectAclRequest object, ready to set the specified ACL on the specified
object when this request is executed.
|
Copyright © 2024. All rights reserved.