|
|||||||
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. The canonical Amazon ID can be thought of as 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).
CanonicalGrantee(String)
Constructor Summary | |
---|---|
CanonicalGrantee(String identifier)
Constructs a new CanonicalGrantee object
with the given canonical ID. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDisplayName()
Returns the display name for this grantee. |
String |
getIdentifier()
Returns the unique identifier for this grantee. |
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(String displayName)
Sets the display name for this grantee. |
void |
setIdentifier(String id)
Sets the unique identifier for this grantee. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CanonicalGrantee(String identifier)
CanonicalGrantee
object
with the given canonical ID.
identifier
- Method Detail |
---|
public String getTypeIdentifier()
Grantee
getTypeIdentifier
in interface Grantee
public void setIdentifier(String id)
Sets the unique identifier for this grantee.
setIdentifier
in interface Grantee
id
- The identifier for this grantee.getIdentifier()
public String getIdentifier()
Returns the unique identifier for this grantee.
getIdentifier
in interface Grantee
setIdentifier(String)
public void setDisplayName(String displayName)
Sets the display name for this grantee.
displayName
- getDisplayName()
public String getDisplayName()
Returns the display name for this grantee.
setDisplayName(String)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |