|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.openstack.nova.options.CreateServerOptions
public class CreateServerOptions
Nested Class Summary | |
---|---|
static class |
CreateServerOptions.Builder
|
Constructor Summary | |
---|---|
CreateServerOptions()
|
Method Summary | ||
---|---|---|
|
bindToRequest(R request,
Map<String,String> postParams)
creates and binds the POST payload to the request using parameters specified. |
|
|
bindToRequest(R request,
Object input)
|
|
CreateServerOptions |
withAdminPass(String adminPass)
|
|
CreateServerOptions |
withFile(String path,
byte[] contents)
You may further customize a cloud server by injecting data into the file system of the cloud server itself. |
|
CreateServerOptions |
withKeyName(String keyName)
A keypair name can be defined when creating a server. |
|
CreateServerOptions |
withMetadata(Map<String,String> metadata)
Custom cloud server metadata can also be supplied at launch time. |
|
CreateServerOptions |
withSecurityGroup(String groupName)
Defines the security group name to be used when creating a server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateServerOptions()
Method Detail |
---|
public <R extends HttpRequest> R bindToRequest(R request, Map<String,String> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public CreateServerOptions withFile(String path, byte[] contents)
public CreateServerOptions withAdminPass(String adminPass)
public CreateServerOptions withMetadata(Map<String,String> metadata)
public CreateServerOptions withKeyName(String keyName)
keyName
-
public CreateServerOptions withSecurityGroup(String groupName)
groupName
-
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 |