Package org.jclouds.cloudstack.domain
Class Domain.Builder<T extends Domain.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Domain.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
hasChild
protected String
id
protected long
level
protected String
name
protected String
networkDomain
protected String
parentDomainId
protected String
parentDomainName
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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()
-
-