public class CanonicalGrantee extends java.lang.Object implements Grantee
Canonical grantees may have an associated display name, which is a human-friendly name that Amazon has linked to the canonical ID (eg. the user's login name).
| コンストラクタと説明 |
|---|
CanonicalGrantee(java.lang.String identifier)
Constructs a new
CanonicalGrantee object
with the given canonical ID. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayName()
Returns the display name for this grantee.
|
java.lang.String |
getIdentifier()
Returns the unique identifier for this grantee.
|
java.lang.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 |
setDisplayName(java.lang.String displayName)
Sets the display name for this grantee.
|
void |
setIdentifier(java.lang.String id)
Sets the unique identifier for this grantee.
|
public CanonicalGrantee(java.lang.String identifier)
CanonicalGrantee object
with the given canonical ID.identifier - public java.lang.String getTypeIdentifier()
GranteegetTypeIdentifier インタフェース内 Granteepublic void setIdentifier(java.lang.String id)
Sets the unique identifier for this grantee.
setIdentifier インタフェース内 Granteeid - The identifier for this grantee.getIdentifier()public java.lang.String getIdentifier()
Returns the unique identifier for this grantee.
getIdentifier インタフェース内 GranteesetIdentifier(String)public void setDisplayName(java.lang.String displayName)
Sets the display name for this grantee.
displayName - getDisplayName()public java.lang.String getDisplayName()
Returns the display name for this grantee.
setDisplayName(String)public boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Objectpublic int hashCode()
hashCode クラス内 java.lang.Object