org.jclouds.glesys.domain
Class Server.Builder

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

public static class Server.Builder
extends Object


Field Summary
protected  String datacenter
           
protected  String hostname
           
protected  String id
           
protected  String platform
           
 
Constructor Summary
Server.Builder()
           
 
Method Summary
 Server build()
           
 Server.Builder datacenter(String datacenter)
           
 Server.Builder fromServer(Server in)
           
 Server.Builder hostname(String hostname)
           
 Server.Builder id(String id)
           
 Server.Builder platform(String platform)
           
 
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

id

public Server.Builder id(String id)

hostname

public Server.Builder hostname(String hostname)

datacenter

public Server.Builder datacenter(String datacenter)

platform

public Server.Builder platform(String platform)

build

public Server build()

fromServer

public Server.Builder fromServer(Server in)


Copyright © 2009-2012 jclouds. All Rights Reserved.