org.jclouds.googlecomputeengine.domain
Class Quota
java.lang.Object
org.jclouds.googlecomputeengine.domain.Quota
@Beta
public class Quota
- extends Object
Quotas assigned to a given project or region.
- See Also:
Quota
@ConstructorProperties(value={"metric","usage","limit"})
public Quota(String metric,
Double usage,
Double limit)
getMetric
public String getMetric()
- Returns:
- name of the quota metric.
getUsage
public Double getUsage()
- Returns:
- current usage of this metric.
getLimit
public Double getLimit()
- Returns:
- quota limit for this metric.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Object
string
public com.google.common.base.Objects.ToStringHelper string()
-
toString
public String toString()
-
- Overrides:
toString in class Object
builder
public static Quota.Builder builder()
toBuilder
public Quota.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.