org.jclouds.cloudstack.domain
Class User
java.lang.Object
org.jclouds.cloudstack.domain.User
public class User
- extends Object
Class User
- Author:
- Adrian Cole
|
Constructor Summary |
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)
|
User
@ConstructorProperties(value={"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)
builder
public static User.Builder<?> builder()
toBuilder
public User.Builder<?> toBuilder()
getId
public String getId()
- Returns:
- the user ID
getName
@Nullable
public String getName()
- Returns:
- the user name
getFirstName
@Nullable
public String getFirstName()
- Returns:
- the user firstname
getLastName
@Nullable
public String getLastName()
- Returns:
- the user lastname
getEmail
@Nullable
public String getEmail()
- Returns:
- the user email address
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
getAccount
@Nullable
public String getAccount()
- Returns:
- the account name of the user
getAccountType
@Nullable
public Account.Type getAccountType()
- Returns:
- the account type of the user
getDomain
@Nullable
public String getDomain()
- Returns:
- the domain name of the user
getDomainId
@Nullable
public String getDomainId()
- Returns:
- the domain ID of the user
getTimeZone
@Nullable
public String getTimeZone()
- Returns:
- the timezone user was created in
getApiKey
@Nullable
public String getApiKey()
- Returns:
- the api key of the user
getSecretKey
@Nullable
public String getSecretKey()
- Returns:
- the secret key of 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-2013 jclouds. All Rights Reserved.