public class Servers extends Object
| Constructor and Description |
|---|
Servers() |
| Modifier and Type | Method and Description |
|---|---|
static Server |
changeIP(Server in,
String ip)
Takes the input server and changes its primary ip to a new address.
|
static Server.Builder |
small(String name,
String driveUuuid,
String vncPassword)
Helper to create a small persistent server
|
static Server.Builder |
smallWithStaticIP(String name,
String driveUuuid,
String vncPassword,
String ip)
Helper to create a small persistent server
|
public static Server.Builder small(String name, String driveUuuid, String vncPassword)
name - what to name the serverdriveUuuid - id of the boot drivevncPassword - password for vncpublic static Server.Builder smallWithStaticIP(String name, String driveUuuid, String vncPassword, String ip)
name - what to name the serverdriveUuuid - id of the boot drivevncPassword - password for vncip - static IPpublic static Server changeIP(Server in, String ip)
CloudSigmaClient.setServerConfiguration(java.lang.String, org.jclouds.cloudsigma.domain.Server)in - server to changeip - new ip addressCopyright © 2009-2012 jclouds. All Rights Reserved.