|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jets3t.service.acl.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()
Default constructor. |
|
CanonicalGrantee(String identifier)
Constructs a grantee with the given canonical ID. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDisplayName()
|
String |
getIdentifier()
|
int |
hashCode()
|
void |
setDisplayName(String displayName)
|
void |
setIdentifier(String id)
|
String |
toString()
|
String |
toXml()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CanonicalGrantee()
Warning! If created with this constructor this class will not represent a valid grantee until the identifier is set.
public CanonicalGrantee(String identifier)
identifier - | Method Detail |
|---|
public String toXml()
toXml in interface GranteeInterfacepublic void setIdentifier(String id)
setIdentifier in interface GranteeInterfacepublic String getIdentifier()
getIdentifier in interface GranteeInterfacepublic void setDisplayName(String displayName)
public String getDisplayName()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||