org.jclouds.gogrid.domain
Class Server.Builder<T extends Server.Builder<T>>
java.lang.Object
org.jclouds.gogrid.domain.Server.Builder<T>
- Enclosing class:
- Server
public abstract static class Server.Builder<T extends Server.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Server.Builder
public Server.Builder()
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()
fromServer
public T fromServer(Server in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.