Package 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
Modifier and TypeMethodDescriptionGets the identifier for this grantee.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 Details
-
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
Sets the identifier for this grantee. The meaning of the identifier is specific to each implementation of theGrantee
.- Parameters:
id
- The identifier for this grantee.- See Also:
-
getIdentifier
String getIdentifier()Gets the identifier for this grantee. The meaning of the grantee identifier is specific to each implementation of theGrantee
.- Returns:
- The identifier for this grantee.
- See Also:
-