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

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

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


Field Summary
protected  boolean hasChild
           
protected  String id
           
protected  long level
           
protected  String name
           
protected  String networkDomain
           
protected  String parentDomainId
           
protected  String parentDomainName
           
 
Constructor Summary
Domain.Builder()
           
 
Method Summary
 Domain build()
           
 T fromDomain(Domain in)
           
 T hasChild(boolean hasChild)
           
 T id(String id)
           
 T level(long level)
           
 T name(String name)
           
 T networkDomain(String networkDomain)
           
 T parentDomainId(String parentDomainId)
           
 T parentDomainName(String parentDomainName)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

hasChild

protected boolean hasChild

level

protected long level

name

protected String name

networkDomain

protected String networkDomain

parentDomainId

protected String parentDomainId

parentDomainName

protected String parentDomainName
Constructor Detail

Domain.Builder

public Domain.Builder()
Method Detail

self

protected abstract T self()

id

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

hasChild

public T hasChild(boolean hasChild)
See Also:
Domain.hasChild()

level

public T level(long level)
See Also:
Domain.getLevel()

name

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

networkDomain

public T networkDomain(String networkDomain)
See Also:
Domain.getNetworkDomain()

parentDomainId

public T parentDomainId(String parentDomainId)
See Also:
Domain.getParentDomainId()

parentDomainName

public T parentDomainName(String parentDomainName)
See Also:
Domain.getParentDomainName()

build

public Domain build()

fromDomain

public T fromDomain(Domain in)


Copyright © 2009-2012 jclouds. All Rights Reserved.