| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CreateServerOptions.Builder  | 
| Constructor and Description | 
|---|
CreateServerOptions()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateServerOptions | 
adminPass(String adminPass)  | 
<R extends HttpRequest>  | 
bindToRequest(R request,
             Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified. 
 | 
<R extends HttpRequest>  | 
bindToRequest(R request,
             Object input)  | 
boolean | 
equals(Object object)  | 
String | 
getKeyPairName()
A keypair name can be defined when creating a server. 
 | 
Set<String> | 
getSecurityGroupNames()
Security groups the user specified to run servers with. 
 | 
int | 
hashCode()  | 
CreateServerOptions | 
keyPairName(String keyName)  | 
CreateServerOptions | 
metadata(Map<String,String> metadata)
Custom cloud server metadata can also be supplied at launch time. 
 | 
CreateServerOptions | 
securityGroupNames(Iterable<String> securityGroupNames)  | 
CreateServerOptions | 
securityGroupNames(String... securityGroupNames)  | 
protected com.google.common.base.Objects.ToStringHelper | 
string()  | 
String | 
toString()  | 
CreateServerOptions | 
userData(byte[] userData)
Custom user-data can be also be supplied at launch time. 
 | 
CreateServerOptions | 
writeFileToPath(byte[] contents,
               String path)
You may further customize a cloud server by injecting data into the file
 system of the cloud server itself. 
 | 
protected com.google.common.base.Objects.ToStringHelper string()
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinderbindToRequest in interface MapBinderPayloadParampublic CreateServerOptions writeFileToPath(byte[] contents, String path)
public CreateServerOptions adminPass(String adminPass)
public CreateServerOptions metadata(Map<String,String> metadata)
public CreateServerOptions userData(byte[] userData)
public String getKeyPairName()
public CreateServerOptions keyPairName(String keyName)
getKeyPairName()public Set<String> getSecurityGroupNames()
NovaApi.getSecurityGroupExtensionForZone(String) to return
 presentpublic CreateServerOptions securityGroupNames(String... securityGroupNames)
getSecurityGroupNames()public CreateServerOptions securityGroupNames(Iterable<String> securityGroupNames)
getSecurityGroupNames()public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest in interface BinderCopyright © 2009-2013 jclouds. All Rights Reserved.