类的使用
com.baidubce.services.bos.model.Permission
-
使用Permission的程序包 程序包 说明 com.baidubce.services.bos.model -
-
com.baidubce.services.bos.model中Permission的使用
返回Permission的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 static PermissionPermission. valueOf(String name)返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)static Permission[]Permission. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (Permission c : Permission.values()) System.out.println(c);
返回变量类型为Permission的类型的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 List<Permission>Grant. getPermission()Gets the permission being granted to the grantee by this grant.类型变量类型为Permission的com.baidubce.services.bos.model中的方法参数 修饰符和类型 方法 说明 voidGrant. setPermission(List<Permission> permission)Sets the permission being granted to the grantee by this grant.GrantGrant. withPermission(List<Permission> permission)Sets the permission being granted to the grantee by this grant.
-