Class User
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.collect.ForwardingCollection<E>
-
- com.google.common.collect.ForwardingSet<Role>
-
- org.jclouds.openstack.keystone.v2_0.domain.User
-
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUser.Builder<T extends User.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static User.Builder<?>builder()protected Set<Role>delegate()booleanequals(Object obj)StringgetEmail()StringgetId()When providing an ID, it is assumed that the user exists in the current OpenStack deploymentStringgetName()StringgetTenantId()inthashCode()booleanisEnabled()protected com.google.common.base.MoreObjects.ToStringHelperstring()User.Builder<?>toBuilder()StringtoString()-
Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAll
-
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
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()
-
equals
public boolean equals(Object obj)
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
toString
public String toString()
- Overrides:
toStringin classcom.google.common.collect.ForwardingObject
-
-