| Package | Description |
|---|---|
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
static Permission |
Permission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
Permission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<Permission> |
Grant.getPermission()
Gets the permission being granted to the grantee by this grant.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Grant.setPermission(List<Permission> permission)
Sets the permission being granted to the grantee by this grant.
|
Grant |
Grant.withPermission(List<Permission> permission)
Sets the permission being granted to the grantee by this grant.
|
| Constructor and Description |
|---|
Grant(List<Grantee> grantee,
List<Permission> permission)
Constructs a new Grant object using the specified grantee and permission objects.
|
Copyright © 2022. All rights reserved.