Modifier and Type | Field and Description |
---|---|
protected Option |
datacenter |
protected String |
description |
protected long |
id |
protected ServerImage |
image |
protected Ip |
ip |
protected boolean |
isSandbox |
protected String |
name |
protected Option |
os |
protected Option |
ram |
protected ServerState |
state |
protected Option |
type |
Constructor and Description |
---|
Server.Builder() |
Modifier and Type | Method and Description |
---|---|
Server |
build() |
T |
datacenter(Option datacenter) |
T |
description(String description) |
T |
fromServer(Server in) |
T |
id(long id) |
T |
image(ServerImage image) |
T |
ip(Ip ip) |
T |
isSandbox(boolean isSandbox) |
T |
name(String name) |
T |
os(Option os) |
T |
ram(Option ram) |
protected abstract T |
self() |
T |
state(ServerState state) |
T |
type(Option type) |
protected long id
protected boolean isSandbox
protected String name
protected String description
protected ServerState state
protected Option datacenter
protected Option type
protected Option ram
protected Option os
protected Ip ip
protected ServerImage image
protected abstract T self()
public T id(long id)
Server.getId()
public T isSandbox(boolean isSandbox)
Server.isSandbox()
public T name(String name)
Server.getName()
public T description(String description)
Server.getDescription()
public T state(ServerState state)
Server.getState()
public T datacenter(Option datacenter)
Server.getDatacenter()
public T type(Option type)
Server.getType()
public T ram(Option ram)
Server.getRam()
public T os(Option os)
Server.getOs()
public T ip(Ip ip)
Server.getIp()
public T image(ServerImage image)
Server.getImage()
public Server build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.