Package org.jclouds.cloudstack.domain
Class User
- java.lang.Object
-
- org.jclouds.cloudstack.domain.User
-
public class User extends Object
Class User
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
User.Builder<T extends User.Builder<T>>
static class
User.State
-
Constructor Summary
Constructors Modifier Constructor Description protected
User(String id, String name, String firstName, String lastName, String email, Date created, User.State state, String account, Account.Type accountType, String domain, String domainId, String timeZone, String apiKey, String secretKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static User.Builder<?>
builder()
boolean
equals(Object obj)
String
getAccount()
Account.Type
getAccountType()
String
getApiKey()
Date
getCreated()
String
getDomain()
String
getDomainId()
String
getEmail()
String
getFirstName()
String
getId()
String
getLastName()
String
getName()
String
getSecretKey()
User.State
getState()
String
getTimeZone()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
User.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
User
@ConstructorProperties({"id","username","firstname","lastname","email","created","state","account","accounttype","domain","domainid","timezone","apikey","secretkey"}) protected User(String id, @Nullable String name, @Nullable String firstName, @Nullable String lastName, @Nullable String email, @Nullable Date created, @Nullable User.State state, @Nullable String account, @Nullable Account.Type accountType, @Nullable String domain, @Nullable String domainId, @Nullable String timeZone, @Nullable String apiKey, @Nullable String secretKey)
-
-
Method Detail
-
builder
public static User.Builder<?> builder()
-
toBuilder
public User.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- the user ID
-
getCreated
@Nullable public Date getCreated()
- Returns:
- the date and time the user account was created
-
getState
@Nullable public User.State getState()
- Returns:
- the user state
-
getAccountType
@Nullable public Account.Type getAccountType()
- Returns:
- the account type of the user
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-