Package org.jclouds.glesys.domain
Class ServerUptime.Builder<T extends ServerUptime.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.ServerUptime.Builder<T>
-
- Enclosing class:
- ServerUptime
public abstract static class ServerUptime.Builder<T extends ServerUptime.Builder<T>> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ServerUptime
build()
T
current(long current)
T
fromServerUptime(ServerUptime in)
protected abstract T
self()
T
unit(String unit)
-
-
-
Field Detail
-
current
protected long current
-
unit
protected String unit
-
-
Method Detail
-
self
protected abstract T self()
-
current
public T current(long current)
- See Also:
ServerUptime.getCurrent()
-
unit
public T unit(String unit)
- See Also:
ServerUptime.getUnit()
-
build
public ServerUptime build()
-
fromServerUptime
public T fromServerUptime(ServerUptime in)
-
-