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 anAccessControlList
. All grantees have an ID of some kind, though the format of the ID can differ depending on the kind of grantee.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 theGrantee
.- 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 theGrantee
.- Returns:
- The identifier for this grantee.
- See Also:
setIdentifier(String)
-
-