|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.openstack.nova.v2_0.options.CreateServerOptions
public class CreateServerOptions
| Nested Class Summary | |
|---|---|
static class |
CreateServerOptions.Builder
|
| Constructor Summary | |
|---|---|
CreateServerOptions()
|
|
| Method Summary | ||
|---|---|---|
CreateServerOptions |
adminPass(String adminPass)
|
|
|
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified. |
|
|
bindToRequest(R request,
Object input)
|
|
boolean |
equals(Object object)
|
|
String |
getKeyPairName()
A keypair name can be defined when creating a server. |
|
Set<String> |
getSecurityGroupNames()
Note |
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateServerOptions()
| Method Detail |
|---|
public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
public String toString()
toString in class Object
public <R extends HttpRequest> R bindToRequest(R request,
Map<String,Object> postParams)
MapBinder
bindToRequest in interface MapBinderPayloadParam
public 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
present
jclouds#public 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 Binder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||