org.jclouds.cloudsigma.domain
Class ServerInfo.Builder

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

public static class ServerInfo.Builder
extends Server.Builder


Field Summary
protected  ServerMetrics metrics
           
protected  Date started
           
protected  ServerStatus status
           
protected  String user
           
 
Fields inherited from class org.jclouds.cloudsigma.domain.Server.Builder
bootDeviceIds, cpu, description, devices, mem, nics, persistent, smp, vnc
 
Fields inherited from class org.jclouds.cloudsigma.domain.Item.Builder
name, use, uuid
 
Constructor Summary
ServerInfo.Builder()
           
 
Method Summary
 ServerInfo.Builder bootDeviceIds(Iterable<String> bootDeviceIds)
          
 ServerInfo build()
           
 ServerInfo.Builder cpu(int cpu)
          
 ServerInfo.Builder description(String description)
          
 ServerInfo.Builder devices(Map<String,? extends Device> devices)
          
 ServerInfo.Builder mem(int mem)
          
 ServerInfo.Builder metrics(ServerMetrics metrics)
           
 ServerInfo.Builder name(String name)
          
 ServerInfo.Builder nics(Iterable<NIC> nics)
          
 ServerInfo.Builder persistent(boolean persistent)
          
 ServerInfo.Builder smp(Integer smp)
          
 ServerInfo.Builder started(Date started)
           
 ServerInfo.Builder status(ServerStatus status)
           
 ServerInfo.Builder use(Iterable<String> use)
          
 ServerInfo.Builder user(String user)
           
 ServerInfo.Builder uuid(String uuid)
          
 ServerInfo.Builder vnc(VNC vnc)
          
 
Methods inherited from class org.jclouds.cloudsigma.domain.Server.Builder
fromServer
 
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

status

protected ServerStatus status

started

protected Date started

user

protected String user

metrics

protected ServerMetrics metrics
Constructor Detail

ServerInfo.Builder

public ServerInfo.Builder()
Method Detail

status

public ServerInfo.Builder status(ServerStatus status)

started

public ServerInfo.Builder started(Date started)

user

public ServerInfo.Builder user(String user)

metrics

public ServerInfo.Builder metrics(ServerMetrics metrics)

cpu

public ServerInfo.Builder cpu(int cpu)

Overrides:
cpu in class Server.Builder

smp

public ServerInfo.Builder smp(Integer smp)

Overrides:
smp in class Server.Builder

mem

public ServerInfo.Builder mem(int mem)

Overrides:
mem in class Server.Builder

persistent

public ServerInfo.Builder persistent(boolean persistent)

Overrides:
persistent in class Server.Builder

devices

public ServerInfo.Builder devices(Map<String,? extends Device> devices)

Overrides:
devices in class Server.Builder

bootDeviceIds

public ServerInfo.Builder bootDeviceIds(Iterable<String> bootDeviceIds)

Overrides:
bootDeviceIds in class Server.Builder

nics

public ServerInfo.Builder nics(Iterable<NIC> nics)

Overrides:
nics in class Server.Builder

vnc

public ServerInfo.Builder vnc(VNC vnc)

Overrides:
vnc in class Server.Builder

description

public ServerInfo.Builder description(String description)

Overrides:
description in class Server.Builder

uuid

public ServerInfo.Builder uuid(String uuid)

Overrides:
uuid in class Server.Builder

name

public ServerInfo.Builder name(String name)

Overrides:
name in class Server.Builder

use

public ServerInfo.Builder use(Iterable<String> use)

Overrides:
use in class Server.Builder

build

public ServerInfo build()
Overrides:
build in class Server.Builder


Copyright © 2009-2011 jclouds. All Rights Reserved.