public static class Server.Builder extends Item.Builder
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
bootDeviceIds |
protected int |
cpu |
protected String |
description |
protected Map<String,? extends Device> |
devices |
protected int |
mem |
protected List<NIC> |
nics |
protected boolean |
persistent |
protected Integer |
smp |
protected VNC |
vnc |
name, use, uuid
Constructor and Description |
---|
Server.Builder() |
Modifier and Type | Method and Description |
---|---|
Server.Builder |
bootDeviceIds(Iterable<String> bootDeviceIds) |
Server |
build() |
Server.Builder |
cpu(int cpu) |
Server.Builder |
description(String description) |
Server.Builder |
devices(Map<String,? extends Device> devices) |
static Server.Builder |
fromServer(Server in) |
Server.Builder |
mem(int mem) |
Server.Builder |
name(String name) |
Server.Builder |
nics(Iterable<NIC> nics) |
Server.Builder |
persistent(boolean persistent) |
Server.Builder |
smp(Integer smp) |
Server.Builder |
use(Iterable<String> use) |
Server.Builder |
uuid(String uuid) |
Server.Builder |
vnc(VNC vnc) |
equals, hashCode
protected int cpu
protected Integer smp
protected int mem
protected boolean persistent
protected VNC vnc
protected String description
public Server.Builder cpu(int cpu)
public Server.Builder smp(Integer smp)
public Server.Builder mem(int mem)
public Server.Builder persistent(boolean persistent)
public Server.Builder devices(Map<String,? extends Device> devices)
public Server.Builder bootDeviceIds(Iterable<String> bootDeviceIds)
public Server.Builder nics(Iterable<NIC> nics)
public Server.Builder vnc(VNC vnc)
public Server.Builder description(String description)
public Server.Builder uuid(String uuid)
uuid
in class Item.Builder
public Server.Builder name(String name)
name
in class Item.Builder
public Server.Builder use(Iterable<String> use)
use
in class Item.Builder
public Server build()
build
in class Item.Builder
public static Server.Builder fromServer(Server in)
Copyright © 2009-2013 jclouds. All Rights Reserved.