Interface Tenant
-
- All Superinterfaces:
Buildable<TenantBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
KeystoneTenant
public interface Tenant extends ModelEntity, Buildable<TenantBuilder>
Tenant Model class use to group/isolate resources and/or identity objects
-
-
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 voidaddUser(String userId, String roleId)voiddelete()StringgetDescription()StringgetId()By providing an ID it is assumed this object will be mapped to an existing Tenant.StringgetName()booleanisEnabled()voidremoveUser(String userId, String roleId)voidupdate()
-
-
-
Method Detail
-
getId
String getId()
By providing an ID it is assumed this object will be mapped to an existing Tenant.- Returns:
- the id of the tenant
-
getName
String getName()
- Returns:
- the name of the tenant
-
getDescription
String getDescription()
- Returns:
- the description of the tenant
-
isEnabled
boolean isEnabled()
- Returns:
- if the tenant is enabled
-
delete
void delete()
-
update
void update()
-
-