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

java.lang.Object
  extended by 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
protected  String account
           
protected  String domain
           
protected  String domainId
           
protected  int max
           
protected  ResourceLimit.ResourceType resourceType
           
 
Constructor Summary
ResourceLimit.Builder()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

account

protected String account

domain

protected String domain

domainId

protected String domainId

max

protected int max

resourceType

protected ResourceLimit.ResourceType resourceType
Constructor Detail

ResourceLimit.Builder

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


Copyright © 2009-2012 jclouds. All Rights Reserved.