|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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
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 | |
|---|---|
static class |
User.Builder<T extends User.Builder<T>>
|
| Constructor Summary | |
|---|---|
protected |
User(String id,
String name,
Set<Role> roles)
|
| Method Summary | |
|---|---|
static User.Builder<?> |
builder()
|
protected Set<Role> |
delegate()
|
boolean |
equals(Object obj)
|
String |
getId()
When providing an ID, it is assumed that the user exists in the current OpenStack deployment |
String |
getName()
|
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
User.Builder<?> |
toBuilder()
|
String |
toString()
|
| 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.Set |
|---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
|---|
@ConstructorProperties(value={"id","name","roles"})
protected User(String id,
String name,
@Nullable
Set<Role> roles)
| Method Detail |
|---|
public static User.Builder<?> builder()
public User.Builder<?> toBuilder()
public String getId()
public String getName()
public int hashCode()
hashCode in interface Collection<Role>hashCode in interface Set<Role>hashCode in class com.google.common.collect.ForwardingSet<Role>public boolean equals(Object obj)
equals in interface Collection<Role>equals in interface Set<Role>equals in class com.google.common.collect.ForwardingSet<Role>protected com.google.common.base.Objects.ToStringHelper string()
public String toString()
toString in class com.google.common.collect.ForwardingObjectprotected Set<Role> delegate()
delegate in class com.google.common.collect.ForwardingSet<Role>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||