|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.services.s3.model.CanonicalGrantee
public class CanonicalGrantee
Represents a grantee identified by their canonical Amazon ID, which is something along the lines of an Amazon-internal ID specific to a user. For example, Amazon can map a grantee identified by an email address to a canonical ID.
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).
| Constructor Summary | |
|---|---|
CanonicalGrantee(String identifier)
Constructs a grantee with the given canonical ID. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDisplayName()
|
String |
getIdentifier()
Returns the identifier for this grantee. |
int |
hashCode()
|
void |
setDisplayName(String displayName)
|
void |
setIdentifier(String id)
Sets the identifier for this grantee. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CanonicalGrantee(String identifier)
identifier - | Method Detail |
|---|
public void setIdentifier(String id)
Grantee
setIdentifier in interface Granteeid - The identifier for this grantee.public String getIdentifier()
Grantee
getIdentifier in interface Granteepublic void setDisplayName(String displayName)
public String getDisplayName()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||