Package org.jclouds.glesys.domain
Class ResourceStatus
java.lang.Object
org.jclouds.glesys.domain.ResourceStatus
Detailed information on usage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
ResourceStatus.Builder<T extends ResourceStatus.Builder<T>>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResourceStatus
@ConstructorProperties({"usage","max","unit"}) protected ResourceStatus(double usage, double max, String unit)
-
-
Method Details
-
builder
-
toBuilder
-
getUsage
public double getUsage()- Returns:
- the usage in #unit
-
getMax
public double getMax()- Returns:
- the max usage in #unit
-
getUnit
- Returns:
- the unit used
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-