Interface Role
-
- All Superinterfaces:
Buildable<RoleBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
KeystoneAccess.AccessUser.AccessRole,KeystoneRole
public interface Role extends ModelEntity, Buildable<RoleBuilder>
A permission scheme a user is assigned when performing specific operations. A role includes a set of rights and previleges. Any user who is assigned the role inherits these traits.- Author:
- Jeremy Unruh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()StringgetId()StringgetName()StringgetServiceId()StringgetTenantId()booleanisEnabled()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the id of the role
-
getName
String getName()
- Returns:
- the name of the role
-
getServiceId
String getServiceId()
- Returns:
- the service id of the role or null, if not present
-
getTenantId
String getTenantId()
- Returns:
- the tenant id of the role or null, if not present
-
getDescription
String getDescription()
- Returns:
- the description of the role
-
isEnabled
boolean isEnabled()
- Returns:
- true if the role is enabled
-
-