|
|||||||||
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(java.lang.String identifier)
Constructs a grantee with the given canonical ID. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getIdentifier()
|
int |
hashCode()
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setIdentifier(java.lang.String id)
|
java.lang.String |
toString()
|
java.lang.String |
toXml()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, 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(java.lang.String identifier)
identifier
- Method Detail |
---|
public java.lang.String toXml()
toXml
in interface GranteeInterface
public void setIdentifier(java.lang.String id)
setIdentifier
in interface GranteeInterface
public java.lang.String getIdentifier()
getIdentifier
in interface GranteeInterface
public void setDisplayName(java.lang.String displayName)
public java.lang.String getDisplayName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |