Package org.jclouds.glesys.domain
Class Server.Builder<T extends Server.Builder<T>>
- java.lang.Object
-
- 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
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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()
-
-