Package com.github.ambry.account
Interface AclService.Resource
-
- All Known Implementing Classes:
ContainerBlobsResource
- Enclosing interface:
- AclService<P>
public static interface AclService.Resource
An interface that represents an ACLed resource. The resource must provide a resource type and a unique ID for the specific resource that theAclService
can use.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getResourceId()
java.lang.String
getResourceType()
-
-
-
Method Detail
-
getResourceType
java.lang.String getResourceType()
- Returns:
- the type of resource this is. This should be the same for all resources of a given type (i.e. a container).
-
getResourceId
java.lang.String getResourceId()
- Returns:
- a unique identifier for this specific resource. This should ideally be URL safe for flexibility when
implementing
AclService
.
-
-