Package org.jclouds.cloudstack.domain
Class User.Builder<T extends User.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.User.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
account
protected Account.Type
accountType
protected String
apiKey
protected Date
created
protected String
domain
protected String
domainId
protected String
email
protected String
firstName
protected String
id
protected String
lastName
protected String
name
protected String
secretKey
protected User.State
state
protected String
timeZone
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
account(String account)
T
accountType(Account.Type accountType)
T
apiKey(String apiKey)
User
build()
T
created(Date created)
T
domain(String domain)
T
domainId(String domainId)
T
email(String email)
T
firstName(String firstName)
T
fromUser(User in)
T
id(String id)
T
lastName(String lastName)
T
name(String name)
T
secretKey(String secretKey)
protected abstract T
self()
T
state(User.State state)
T
timeZone(String timeZone)
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
firstName
protected String firstName
-
lastName
protected String lastName
-
email
protected String email
-
created
protected Date created
-
state
protected User.State state
-
account
protected String account
-
accountType
protected Account.Type accountType
-
domain
protected String domain
-
domainId
protected String domainId
-
timeZone
protected String timeZone
-
apiKey
protected String apiKey
-
secretKey
protected String secretKey
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
User.getId()
-
name
public T name(String name)
- See Also:
User.getName()
-
firstName
public T firstName(String firstName)
- See Also:
User.getFirstName()
-
lastName
public T lastName(String lastName)
- See Also:
User.getLastName()
-
email
public T email(String email)
- See Also:
User.getEmail()
-
created
public T created(Date created)
- See Also:
User.getCreated()
-
state
public T state(User.State state)
- See Also:
User.getState()
-
account
public T account(String account)
- See Also:
User.getAccount()
-
accountType
public T accountType(Account.Type accountType)
- See Also:
User.getAccountType()
-
domain
public T domain(String domain)
- See Also:
User.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
User.getDomainId()
-
timeZone
public T timeZone(String timeZone)
- See Also:
User.getTimeZone()
-
apiKey
public T apiKey(String apiKey)
- See Also:
User.getApiKey()
-
secretKey
public T secretKey(String secretKey)
- See Also:
User.getSecretKey()
-
build
public User build()
-
-