org.jclouds.openstack.keystone.v2_0.domain
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.
- Author:
- Adrian Cole
- See Also:
Tenant
@ConstructorProperties(value={"id","name","description"})
protected Tenant(String id,
String name,
@Nullable
String description)
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
getDescription
@Nullable
public String getDescription()
- Returns:
- the description of the tenant
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.