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.
See Also:
  • Constructor Details

  • Method Details

    • 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
    • isEnabled

      public boolean isEnabled()
      Returns:
      if the tenant is enabled
    • 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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object