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

java.lang.Object
  extended by org.jclouds.glesys.domain.Server.Builder<T>
Direct Known Subclasses:
ServerDetails.Builder
Enclosing class:
Server

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


Field Summary
protected  String datacenter
           
protected  String hostname
           
protected  String id
           
protected  String platform
           
 
Constructor Summary
Server.Builder()
           
 
Method Summary
 Server build()
           
 T datacenter(String datacenter)
           
 T fromServer(Server in)
           
 T hostname(String hostname)
           
 T id(String id)
           
 T platform(String platform)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

hostname

protected String hostname

datacenter

protected String datacenter

platform

protected String platform
Constructor Detail

Server.Builder

public Server.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
Server.getId()

hostname

public T hostname(String hostname)
See Also:
Server.getHostname()

datacenter

public T datacenter(String datacenter)
See Also:
Server.getDatacenter()

platform

public T platform(String platform)
See Also:
Server.getPlatform()

build

public Server build()

fromServer

public T fromServer(Server in)


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