org.jclouds.openstack.keystone.v2_0.domain
Class User
java.lang.Object
org.jclouds.openstack.keystone.v2_0.domain.User
public class User
- extends Object
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.
- Author:
- Adrian Cole
- See Also:
User
@ConstructorProperties(value={"id","name","roles"})
protected User(String id,
String name,
@Nullable
Set<Role> roles)
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
getRoles
public Set<Role> getRoles()
- Returns:
- the roles assigned to the user
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-2012 jclouds. All Rights Reserved.