Package org.jclouds.gogrid.domain
Class Server.Builder<T extends Server.Builder<T>>
- java.lang.Object
-
- org.jclouds.gogrid.domain.Server.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Optiondatacenterprotected Stringdescriptionprotected longidprotected ServerImageimageprotected Ipipprotected booleanisSandboxprotected Stringnameprotected Optionosprotected Optionramprotected ServerStatestateprotected Optiontype
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Serverbuild()Tdatacenter(Option datacenter)Tdescription(String description)TfromServer(Server in)Tid(long id)Timage(ServerImage image)Tip(Ip ip)TisSandbox(boolean isSandbox)Tname(String name)Tos(Option os)Tram(Option ram)protected abstract Tself()Tstate(ServerState state)Ttype(Option type)
-
-
-
Field Detail
-
id
protected long id
-
isSandbox
protected boolean isSandbox
-
name
protected String name
-
description
protected String description
-
state
protected ServerState state
-
datacenter
protected Option datacenter
-
type
protected Option type
-
ram
protected Option ram
-
os
protected Option os
-
ip
protected Ip ip
-
image
protected ServerImage image
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(long id)
- See Also:
Server.getId()
-
isSandbox
public T isSandbox(boolean isSandbox)
- See Also:
Server.isSandbox()
-
name
public T name(String name)
- See Also:
Server.getName()
-
description
public T description(String description)
- See Also:
Server.getDescription()
-
state
public T state(ServerState state)
- See Also:
Server.getState()
-
datacenter
public T datacenter(Option datacenter)
- See Also:
Server.getDatacenter()
-
type
public T type(Option type)
- See Also:
Server.getType()
-
ram
public T ram(Option ram)
- See Also:
Server.getRam()
-
os
public T os(Option os)
- See Also:
Server.getOs()
-
ip
public T ip(Ip ip)
- See Also:
Server.getIp()
-
image
public T image(ServerImage image)
- See Also:
Server.getImage()
-
build
public Server build()
-
-