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

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

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


Field Summary
protected  String account
           
protected  String displayText
           
protected  String domain
           
protected  String domainId
           
protected  String id
           
protected  String name
           
protected  Project.State state
           
 
Constructor Summary
Project.Builder()
           
 
Method Summary
 T account(String account)
           
 Project build()
           
 T displayText(String displayText)
           
 T domain(String domain)
           
 T domainId(String domainId)
           
 T fromDomain(Project in)
           
 T id(String id)
           
 T name(String name)
           
protected abstract  T self()
           
 T state(Project.State state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

account

protected String account

displayText

protected String displayText

domain

protected String domain

domainId

protected String domainId

name

protected String name

state

protected Project.State state
Constructor Detail

Project.Builder

public Project.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
Project.getId()

name

public T name(String name)
See Also:
Project.getName()

domainId

public T domainId(String domainId)
See Also:
Project.getDomainId()

domain

public T domain(String domain)
See Also:
Project.getDomain()

account

public T account(String account)
See Also:
Project.getAccount()

displayText

public T displayText(String displayText)
See Also:
Project.getDisplayText()

state

public T state(Project.State state)
See Also:
Project.getState()

build

public Project build()

fromDomain

public T fromDomain(Project in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.