Modifier and Type | Class and Description |
---|---|
static class |
CreateServerOptions.Builder |
Constructor and Description |
---|
CreateServerOptions() |
Modifier and Type | Method and Description |
---|---|
<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) |
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.
|
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
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
Copyright © 2009-2013 jclouds. All Rights Reserved.