|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.cloudservers.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 |
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 |
withMetadata(Map<String,String> metadata)
Custom cloud server metadata can also be supplied at launch time. |
|
CreateServerOptions |
withSharedIp(String publicIp)
Public IP addresses can be shared across multiple servers for use in various high availability scenarios. |
|
CreateServerOptions |
withSharedIpGroup(int id)
A shared IP group is a collection of servers that can share IPs with other members of the group. |
|
| 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 MapBinderPayloadParam
public CreateServerOptions withFile(String path,
byte[] contents)
public CreateServerOptions withSharedIpGroup(int id)
withSharedIp(String)public CreateServerOptions withMetadata(Map<String,String> metadata)
public CreateServerOptions withSharedIp(String publicIp)
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 | |||||||||