org.jclouds.elasticstack.domain
Class ServerInfo.Builder

java.lang.Object
  extended by org.jclouds.elasticstack.domain.Item.Builder
      extended by org.jclouds.elasticstack.domain.Server.Builder
          extended by org.jclouds.elasticstack.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.elasticstack.domain.Server.Builder
bootDeviceIds, cpu, devices, mem, nics, persistent, smp, vnc
 
Fields inherited from class org.jclouds.elasticstack.domain.Item.Builder
name, tags, userMetadata, uuid
 
Constructor Summary
ServerInfo.Builder()
           
 
Method Summary
 ServerInfo.Builder bootDeviceIds(Iterable<String> bootDeviceIds)
          
 ServerInfo build()
           
 ServerInfo.Builder cpu(int cpu)
          
 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 tags(Iterable<String> tags)
          
 ServerInfo.Builder user(String user)
           
 ServerInfo.Builder userMetadata(Map<String,String> userMetadata)
          
 ServerInfo.Builder uuid(String uuid)
          
 ServerInfo.Builder vnc(VNC vnc)
          
 
Methods inherited from class org.jclouds.elasticstack.domain.Server.Builder
fromServer
 
Methods inherited from class org.jclouds.elasticstack.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

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

tags

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

Overrides:
tags in class Server.Builder

userMetadata

public ServerInfo.Builder userMetadata(Map<String,String> userMetadata)

Overrides:
userMetadata in class Server.Builder

build

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


Copyright © 2009-2012 jclouds. All Rights Reserved.