org.jclouds.glesys.domain
Class ServerUptime.Builder<T extends ServerUptime.Builder<T>>

java.lang.Object
  extended by org.jclouds.glesys.domain.ServerUptime.Builder<T>
Enclosing class:
ServerUptime

public abstract static class ServerUptime.Builder<T extends ServerUptime.Builder<T>>
extends Object


Field Summary
protected  long current
           
protected  String unit
           
 
Constructor Summary
ServerUptime.Builder()
           
 
Method Summary
 ServerUptime build()
           
 T current(long current)
           
 T fromServerUptime(ServerUptime in)
           
protected abstract  T self()
           
 T unit(String unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

current

protected long current

unit

protected String unit
Constructor Detail

ServerUptime.Builder

public ServerUptime.Builder()
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)


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