org.jclouds.cloudsigma.domain
Class ServerInfo.Builder
java.lang.Object
org.jclouds.cloudsigma.domain.Item.Builder
org.jclouds.cloudsigma.domain.Server.Builder
org.jclouds.cloudsigma.domain.ServerInfo.Builder
- Enclosing class:
- ServerInfo
public static class ServerInfo.Builder
- extends Server.Builder
status
protected ServerStatus status
started
protected Date started
user
protected String user
metrics
protected ServerMetrics metrics
ServerInfo.Builder
public ServerInfo.Builder()
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.