Package org.jclouds.cloudstack.domain
Class User
java.lang.Object
org.jclouds.cloudstack.domain.User
Class User
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
User.Builder<T extends User.Builder<T>>
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic User.Builder
<?> builder()
boolean
getEmail()
getId()
getName()
getState()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
User.Builder
<?> toString()
-
Constructor Details
-
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 Details
-
builder
-
toBuilder
-
getId
- Returns:
- the user ID
-
getName
- Returns:
- the user name
-
getFirstName
- Returns:
- the user firstname
-
getLastName
- Returns:
- the user lastname
-
getEmail
- Returns:
- the user email address
-
getCreated
- Returns:
- the date and time the user account was created
-
getState
- Returns:
- the user state
-
getAccount
- Returns:
- the account name of the user
-
getAccountType
- Returns:
- the account type of the user
-
getDomain
- Returns:
- the domain name of the user
-
getDomainId
- Returns:
- the domain ID of the user
-
getTimeZone
- Returns:
- the timezone user was created in
-
getApiKey
- Returns:
- the api key of the user
-
getSecretKey
- Returns:
- the secret key of the user
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-