org.jclouds.cloudservers.domain
Class Limits.Builder<T extends Limits.Builder<T>>

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

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


Field Summary
protected  Map<String,Integer> absolute
           
protected  Set<RateLimit> rate
           
 
Constructor Summary
Limits.Builder()
           
 
Method Summary
 T absolute(Map<String,Integer> absolute)
           
 Limits build()
           
 T fromLimits(Limits in)
           
 T rate(RateLimit... in)
           
 T rate(Set<RateLimit> rate)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rate

protected Set<RateLimit> rate

absolute

protected Map<String,Integer> absolute
Constructor Detail

Limits.Builder

public Limits.Builder()
Method Detail

self

protected abstract T self()

rate

public T rate(Set<RateLimit> rate)
See Also:
Limits.getRate()

rate

public T rate(RateLimit... in)

absolute

public T absolute(Map<String,Integer> absolute)
See Also:
Limits.getAbsolute()

build

public Limits build()

fromLimits

public T fromLimits(Limits in)


Copyright © 2009-2012 jclouds. All Rights Reserved.