| 限定符和类型 | 字段和说明 |
|---|---|
static UserIdGrantee |
ANONYMOUSE |
static UserIdGrantee |
CANONICAL |
| 构造器和说明 |
|---|
UserIdGrantee(String accessKeyId)
Constructs a new
UserIdGrantee object
with the given email address. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getIdentifier()
Gets the grantee's e-mail address.
|
String |
getTypeIdentifier()
Returns the identifier for the type of this grant, to be used when
specifying grants in the header of a request.
|
int |
hashCode() |
void |
setIdentifier(String accessKeyId)
Set the e-mail address as the grantee's ID.
|
String |
toString() |
public static final UserIdGrantee ANONYMOUSE
public static final UserIdGrantee CANONICAL
public UserIdGrantee(String accessKeyId)
UserIdGrantee object
with the given email address.accessKeyId - The e-mail address used to identify the e-mail grantee.public String getTypeIdentifier()
GranteegetTypeIdentifier 在接口中 Granteepublic void setIdentifier(String accessKeyId)
setIdentifier 在接口中 GranteeaccessKeyId - The e-mail address used to identify the e-mail grantee.getIdentifier()public String getIdentifier()
getIdentifier 在接口中 GranteeUserIdGrantee#setIdentifier(string)Copyright © 2016-2017. All Rights Reserved.