public class User extends Object implements Comparable<User>
Modifier and Type | Class and Description |
---|---|
static class |
User.Builder |
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
name |
protected Set<Role> |
roles |
Constructor and Description |
---|
User(String id,
String name,
Set<Role> roles) |
Modifier and Type | Method and Description |
---|---|
static User.Builder |
builder() |
int |
compareTo(User that) |
boolean |
equals(Object object) |
String |
getId()
When providing an ID, it is assumed that the user exists in the current OpenStack deployment
|
String |
getName() |
Set<Role> |
getRoles() |
int |
hashCode() |
User.Builder |
toBuilder() |
String |
toString() |
public static User.Builder builder()
public User.Builder toBuilder()
public String getId()
public String getName()
public int compareTo(User that)
compareTo
in interface Comparable<User>
Copyright © 2009-2012 jclouds. All Rights Reserved.