org.jclouds.cloudstack.domain
Class User.Builder<T extends User.Builder<T>>

java.lang.Object
  extended by org.jclouds.cloudstack.domain.User.Builder<T>
Enclosing class:
User

public abstract static class User.Builder<T extends User.Builder<T>>
extends Object


Field Summary
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
User.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

User.Builder

public User.Builder()
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()

fromUser

public T fromUser(User in)


Copyright © 2009-2013 jclouds. All Rights Reserved.