org.jclouds.googlecomputeengine.domain
Class Quota.Builder

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Quota.Builder
Enclosing class:
Quota

public static class Quota.Builder
extends Object


Constructor Summary
Quota.Builder()
           
 
Method Summary
 Quota build()
           
 Quota.Builder fromQuota(Quota quota)
           
 Quota.Builder limit(Double limit)
           
 Quota.Builder metric(String metric)
           
 Quota.Builder usage(Double usage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quota.Builder

public Quota.Builder()
Method Detail

metric

public Quota.Builder metric(String metric)
See Also:
Quota.getMetric()

usage

public Quota.Builder usage(Double usage)
See Also:
Quota.getUsage()

limit

public Quota.Builder limit(Double limit)
See Also:
Quota.getLimit()

build

public Quota build()

fromQuota

public Quota.Builder fromQuota(Quota quota)


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.