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 Stringaccountprotected Account.TypeaccountTypeprotected StringapiKeyprotected Datecreatedprotected Stringdomainprotected StringdomainIdprotected Stringemailprotected StringfirstNameprotected Stringidprotected StringlastNameprotected Stringnameprotected StringsecretKeyprotected User.Statestateprotected StringtimeZone
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Taccount(String account)TaccountType(Account.Type accountType)TapiKey(String apiKey)Userbuild()Tcreated(Date created)Tdomain(String domain)TdomainId(String domainId)Temail(String email)TfirstName(String firstName)TfromUser(User in)Tid(String id)TlastName(String lastName)Tname(String name)TsecretKey(String secretKey)protected abstract Tself()Tstate(User.State state)TtimeZone(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()
-
-