Class KeystoneRole
- java.lang.Object
-
- org.openstack4j.openstack.identity.v2.domain.KeystoneRole
-
- All Implemented Interfaces:
Serializable,Buildable<RoleBuilder>,Role,ModelEntity
- Direct Known Subclasses:
KeystoneAccess.AccessUser.AccessRole
public class KeystoneRole extends Object implements Role
A User based Role - seeRole- Author:
- Jeremy Unruh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeystoneRole.RoleConcreteBuilderstatic classKeystoneRole.Roles-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description KeystoneRole()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleBuilderbuilder()StringgetDescription()StringgetId()StringgetName()StringgetServiceId()StringgetTenantId()booleanisEnabled()RoleBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static RoleBuilder builder()
-
toBuilder
public RoleBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<RoleBuilder>
-
getName
public String getName()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceRole- Returns:
- the description of the role
-
isEnabled
public boolean isEnabled()
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceRole- Returns:
- the tenant id of the role or null, if not present
-
getServiceId
public String getServiceId()
- Specified by:
getServiceIdin interfaceRole- Returns:
- the service id of the role or null, if not present
-
-