org.jclouds.cloudsigma.domain
Class Server.Builder

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.Item.Builder
      extended by org.jclouds.cloudsigma.domain.Server.Builder
Direct Known Subclasses:
ServerInfo.Builder
Enclosing class:
Server

public static class Server.Builder
extends Item.Builder


Field Summary
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
           
 
Fields inherited from class org.jclouds.cloudsigma.domain.Item.Builder
name, use, uuid
 
Constructor Summary
Server.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.jclouds.cloudsigma.domain.Item.Builder
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Server.Builder

public Server.Builder()
Method Detail

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-2012 jclouds. All Rights Reserved.