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 classUser.Builder<T extends User.Builder<T>>static classUser.State
-
Constructor Summary
Constructors Modifier Constructor Description protectedUser(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()booleanequals(Object obj)StringgetAccount()Account.TypegetAccountType()StringgetApiKey()DategetCreated()StringgetDomain()StringgetDomainId()StringgetEmail()StringgetFirstName()StringgetId()StringgetLastName()StringgetName()StringgetSecretKey()User.StategetState()StringgetTimeZone()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()User.Builder<?>toBuilder()StringtoString()
-
-
-
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()
-
-