| Package | Description |
|---|---|
| com.baidubce.services.bos | |
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
void |
BosClient.setBucketAcl(String bucketName,
CannedAccessControlList acl)
Sets the CannedAccessControlList for the specified Bos bucket using one of
the pre-configured
CannedAccessControlLists. |
void |
BosClient.setObjectAcl(String bucketName,
String objectKey,
CannedAccessControlList acl)
Set Object Acl for specified object in the specified bucket.
|
| Modifier and Type | Method and Description |
|---|---|
CannedAccessControlList |
SetObjectAclRequest.getCannedAcl()
Gets the cannedAcl of Object Acl.
|
CannedAccessControlList |
SetBucketAclRequest.getCannedAcl()
Returns the canned ACL to be applied to the specified bucket when this
request is executed.
|
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 |
SetObjectAclRequest.setCannedAcl(CannedAccessControlList cannedAcl)
Sets the cannedAcl of Object Acl.
|
void |
SetBucketAclRequest.setCannedAcl(CannedAccessControlList cannedAcl)
Sets the canned ACL to be applied to the specified bucket when this
request is executed.
|
SetBucketAclRequest |
SetBucketAclRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the canned ACL to be applied to the specified bucket when this
request is executed.
|
| Constructor and Description |
|---|
SetBucketAclRequest(String bucketName,
CannedAccessControlList cannedAcl)
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 cannedAcl)
Constructs a new SetObjectAclRequest object, ready to set the specified,
canned ACL on the specified bucket/object when this request is executed.
|
Copyright © 2020. All rights reserved.