java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<Role>
com.google.common.collect.ForwardingSet<Role>
org.jclouds.openstack.keystone.v2_0.domain.User
All Implemented Interfaces:
Iterable<Role>, Collection<Role>, Set<Role>

public class User extends com.google.common.collect.ForwardingSet<Role>
A digital representation of a person, system, or service who uses OpenStack cloud services. Keystone authentication services will validate that incoming request are being made by the user who claims to be making the call. Users have a login and may be assigned tokens to access users. Users may be directly assigned to a particular tenant and behave as if they are contained in that tenant.
See Also:
  • Constructor Details

  • Method Details

    • builder

      public static User.Builder<?> builder()
    • toBuilder

      public User.Builder<?> toBuilder()
    • getId

      public String getId()
      When providing an ID, it is assumed that the user exists in the current OpenStack deployment
      Returns:
      the id of the user in the current OpenStack deployment
    • getName

      public String getName()
      Returns:
      the name of the user
    • getEmail

      public String getEmail()
      Returns:
      the e-mail
    • isEnabled

      public boolean isEnabled()
      Returns:
      if the user is enabled
    • getTenantId

      public String getTenantId()
      Returns:
      the user tenant
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Collection<Role>
      Specified by:
      hashCode in interface Set<Role>
      Overrides:
      hashCode in class com.google.common.collect.ForwardingSet<Role>
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface Collection<Role>
      Specified by:
      equals in interface Set<Role>
      Overrides:
      equals in class com.google.common.collect.ForwardingSet<Role>
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class com.google.common.collect.ForwardingObject
    • delegate

      protected Set<Role> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingSet<Role>