Package org.jclouds.cloudstack.domain
Class ResourceLimit.Builder<T extends ResourceLimit.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.ResourceLimit.Builder<T>
-
- Enclosing class:
- ResourceLimit
public abstract static class ResourceLimit.Builder<T extends ResourceLimit.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
account
protected String
domain
protected String
domainId
protected int
max
protected ResourceLimit.ResourceType
resourceType
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
account(String account)
ResourceLimit
build()
T
domain(String domain)
T
domainId(String domainId)
T
fromResourceLimit(ResourceLimit in)
T
max(int max)
T
resourceType(ResourceLimit.ResourceType resourceType)
protected abstract T
self()
-
-
-
Field Detail
-
account
protected String account
-
domain
protected String domain
-
domainId
protected String domainId
-
max
protected int max
-
resourceType
protected ResourceLimit.ResourceType resourceType
-
-
Method Detail
-
self
protected abstract T self()
-
account
public T account(String account)
- See Also:
ResourceLimit.getAccount()
-
domain
public T domain(String domain)
- See Also:
ResourceLimit.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
ResourceLimit.getDomainId()
-
max
public T max(int max)
- See Also:
ResourceLimit.getMax()
-
resourceType
public T resourceType(ResourceLimit.ResourceType resourceType)
- See Also:
ResourceLimit.getResourceType()
-
build
public ResourceLimit build()
-
fromResourceLimit
public T fromResourceLimit(ResourceLimit in)
-
-