Class Tenant
- java.lang.Object
-
- org.jclouds.openstack.keystone.v2_0.domain.Tenant
-
public class Tenant extends Object
A container used to group or isolate resources and/or identity objects. Depending on the service operator, a tenant may map to a customer, account, organization, or project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTenant.Builder<T extends Tenant.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tenant.Builder<?>builder()booleanequals(Object obj)StringgetDescription()StringgetId()When providing an ID, it is assumed that the tenant exists in the current OpenStack deploymentStringgetName()inthashCode()booleanisEnabled()protected com.google.common.base.MoreObjects.ToStringHelperstring()Tenant.Builder<?>toBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static Tenant.Builder<?> builder()
-
toBuilder
public Tenant.Builder<?> toBuilder()
-
getId
public String getId()
When providing an ID, it is assumed that the tenant exists in the current OpenStack deployment- Returns:
- the id of the tenant in the current OpenStack deployment
-
getName
public String getName()
- Returns:
- the name of the tenant
-
isEnabled
public boolean isEnabled()
- Returns:
- if the tenant is enabled
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-