org.jclouds.elasticstack.domain
Class ServerInfo.Builder
java.lang.Object
org.jclouds.elasticstack.domain.Item.Builder
org.jclouds.elasticstack.domain.Server.Builder
org.jclouds.elasticstack.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
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.