| Package | Description |
|---|---|
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
Grant |
Grant.withCondition(Condition condition)
Sets the condtion of Bucket Acl.
|
Grant |
Grant.withEffect(String effect)
Sets effect of Bucket Acl
|
Grant |
Grant.withGrantee(List<Grantee> grantee)
Sets the grantee being granted a permission by this grant.
|
Grant |
Grant.withNotResource(List<String> notResource)
Sets notResource of Bucket Acl.
|
Grant |
Grant.withPermission(List<Permission> permission)
Sets the permission being granted to the grantee by this grant.
|
Grant |
Grant.withResource(List<String> resource)
Sets the resource of Bucket Acl.
|
| Modifier and Type | Method and Description |
|---|---|
List<Grant> |
GetBucketAclResponse.getAccessControlList()
Gets the accessControlList of this bucket.
|
List<Grant> |
SetObjectAclRequest.getAccessControlList()
Gets the accessControlList of Object Acl.
|
List<Grant> |
GetObjectAclResponse.getAccessControlList()
Gets the accessControlList of this bucket/object.
|
List<Grant> |
SetBucketAclRequest.getAccessControlList()
Returns the custom ACL to be applied to the specified bucket when this
request is executed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetBucketAclResponse.setAccessControlList(List<Grant> accessControlList)
Sets the accessControlList of this bucket.
|
void |
SetObjectAclRequest.setAccessControlList(List<Grant> accessControlList)
Sets the accessControlList of Object Acl.
|
void |
GetObjectAclResponse.setAccessControlList(List<Grant> accessControlList)
Sets the accessControlList of this bucket/object.
|
void |
SetBucketAclRequest.setAccessControlList(List<Grant> accessControlList)
Sets the custom Access Control List containing the access rules to
apply to the specified bucket when this request is executed.
|
SetBucketAclRequest |
SetBucketAclRequest.withAccessControlList(List<Grant> accessControlList)
Sets the custom Access Control List containing the access rules to
apply to the specified bucket when this request is executed.
|
| Constructor and Description |
|---|
SetBucketAclRequest(String bucketName,
List<Grant> accessControlList)
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,
List<Grant> accessControlList)
Constructs a new SetObjectAclRequest object, ready to set the specified
ACL on the specified bucket/object when this request is executed.
|
Copyright © 2020. All rights reserved.