程序包 | 说明 |
---|---|
com.sinacloud.scs.services.scs.model |
Classes modeling the various types represented by Amazon S3.
|
限定符和类型 | 方法和说明 |
---|---|
static Permission |
Permission.parsePermission(String str)
Returns the
Permission enumeration value representing the specified Amazon
S3 Region ID string. |
static Permission |
Permission.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Permission[] |
Permission.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
HashSet<Permission> |
Grant.getPermissions()
Gets the permission being granted to the grantee by this grant.
|
static HashSet<Permission> |
Permission.parsePermissions(List<String> strs) |
限定符和类型 | 方法和说明 |
---|---|
void |
AccessControlList.grantPermission(Grantee grantee,
Permission permission)
Adds a grantee to the access control list (ACL) with the given permission.
|
void |
AccessControlList.grantPermissions(Grantee grantee,
Permission... permissions) |
限定符和类型 | 方法和说明 |
---|---|
void |
AccessControlList.grantPermission(Grantee grantee,
HashSet<Permission> permissions) |
构造器和说明 |
---|
Grant(Grantee grantee,
Permission... permissions) |
Grant(Grantee grantee,
Permission permission)
Constructs a new
Grant object using the specified grantee and permission
objects. |
构造器和说明 |
---|
Grant(Grantee grantee,
HashSet<Permission> permissions) |
Copyright © 2016. All rights reserved.