org.jclouds.cloudsigma.domain
Class Server.Builder
java.lang.Object
org.jclouds.cloudsigma.domain.Item.Builder
org.jclouds.cloudsigma.domain.Server.Builder
- Direct Known Subclasses:
- ServerInfo.Builder
- Enclosing class:
- Server
public static class Server.Builder
- extends Item.Builder
cpu
protected int cpu
smp
protected Integer smp
mem
protected int mem
persistent
protected boolean persistent
devices
protected Map<String,? extends Device> devices
bootDeviceIds
protected Set<String> bootDeviceIds
nics
protected List<NIC> nics
vnc
protected VNC vnc
description
protected String description
Server.Builder
public Server.Builder()
cpu
public Server.Builder cpu(int cpu)
smp
public Server.Builder smp(Integer smp)
mem
public Server.Builder mem(int mem)
persistent
public Server.Builder persistent(boolean persistent)
devices
public Server.Builder devices(Map<String,? extends Device> devices)
bootDeviceIds
public Server.Builder bootDeviceIds(Iterable<String> bootDeviceIds)
nics
public Server.Builder nics(Iterable<NIC> nics)
vnc
public Server.Builder vnc(VNC vnc)
description
public Server.Builder description(String description)
uuid
public Server.Builder uuid(String uuid)
-
- Overrides:
uuid
in class Item.Builder
name
public Server.Builder name(String name)
-
- Overrides:
name
in class Item.Builder
use
public Server.Builder use(Iterable<String> use)
-
- Overrides:
use
in class Item.Builder
build
public Server build()
- Overrides:
build
in class Item.Builder
fromServer
public static Server.Builder fromServer(Server in)
Copyright © 2009-2011 jclouds. All Rights Reserved.