Package org.jclouds.glesys.options
Class CreateServerOptions
- java.lang.Object
-
- org.jclouds.glesys.options.CreateServerOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateServerOptions.Builder
-
Constructor Summary
Constructors Constructor Description CreateServerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R extends HttpRequest>
RbindToRequest(R request, Object input)
<R extends HttpRequest>
RbindToRequest(R request, Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.CreateServerOptions
description(String description)
boolean
equals(Object obj)
int
hashCode()
CreateServerOptions
ip(String ip)
String
toString()
-
-
-
Method Detail
-
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
Description copied from interface:MapBinder
creates and binds the POST payload to the request using parameters specified.- Specified by:
bindToRequest
in interfaceMapBinder
- See Also:
PayloadParam
-
description
public CreateServerOptions description(String description)
- Parameters:
description
- the description of the server
-
ip
public CreateServerOptions ip(String ip)
- Parameters:
ip
- the ip address to assign to the server
-
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request, Object input)
- Specified by:
bindToRequest
in interfaceBinder
-
-