Package org.jclouds.glesys.domain
Class ServerUptime
java.lang.Object
org.jclouds.glesys.domain.ServerUptime
Represents an 'uptime' duration of server in a Glesys cloud
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
ServerUptime.Builder<T extends ServerUptime.Builder<T>>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServerUptime
-
-
Method Details
-
builder
-
toBuilder
-
getCurrent
public long getCurrent()- Returns:
- the time the server has been up in #getUnit()
-
getUnit
- Returns:
- the unit used for #getCurrent()
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-