com.amazonaws.services.s3.model
Interface Grantee

All Known Implementing Classes:
CanonicalGrantee, EmailAddressGrantee, GroupGrantee

public interface Grantee

Represents a grantee (entity) that can be assigned access permissions in an AccessControlList. All grantees have an ID of some kind, though the format of the ID can differ depending on the kind of grantee.


Method Summary
 String getIdentifier()
          Gets the 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.
 void setIdentifier(String id)
          Sets the identifier for this grantee.
 

Method Detail

getTypeIdentifier

String getTypeIdentifier()
Returns the identifier for the type of this grant, to be used when specifying grants in the header of a request.


setIdentifier

void setIdentifier(String id)
Sets the identifier for this grantee. The meaning of the identifier is specific to each implementation of the Grantee.

Parameters:
id - The identifier for this grantee.
See Also:
getIdentifier()

getIdentifier

String getIdentifier()
Gets the identifier for this grantee. The meaning of the grantee identifier is specific to each implementation of the Grantee.

Returns:
The identifier for this grantee.
See Also:
Grantee#setIdentifier()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.