类的使用
com.baidubce.services.bos.model.Grant
-
使用Grant的程序包 程序包 说明 com.baidubce.services.bos.model -
-
com.baidubce.services.bos.model中Grant的使用
返回Grant的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 GrantGrant. withCondition(Condition condition)Sets the condtion of Bucket Acl.GrantGrant. withEffect(String effect)Sets effect of Bucket AclGrantGrant. withGrantee(List<Grantee> grantee)Sets the grantee being granted a permission by this grant.GrantGrant. withNotResource(List<String> notResource)Sets notResource of Bucket Acl.GrantGrant. withPermission(List<Permission> permission)Sets the permission being granted to the grantee by this grant.GrantGrant. withResource(List<String> resource)Sets the resource of Bucket Acl.返回变量类型为Grant的类型的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 List<Grant>GetBucketAclResponse. getAccessControlList()Gets the accessControlList of this bucket.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.List<Grant>SetObjectAclRequest. getAccessControlList()Gets the accessControlList of Object Acl.类型变量类型为Grant的com.baidubce.services.bos.model中的方法参数 修饰符和类型 方法 说明 voidGetBucketAclResponse. setAccessControlList(List<Grant> accessControlList)Sets the accessControlList of this bucket.voidGetObjectAclResponse. setAccessControlList(List<Grant> accessControlList)Sets the accessControlList of this bucket/object.voidSetBucketAclRequest. 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.voidSetObjectAclRequest. setAccessControlList(List<Grant> accessControlList)Sets the accessControlList of Object Acl.SetBucketAclRequestSetBucketAclRequest. 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.类型变量类型为Grant的com.baidubce.services.bos.model中的构造器参数 构造器 说明 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.
-