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 classCreateServerOptions.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.CreateServerOptionsdescription(String description)booleanequals(Object obj)inthashCode()CreateServerOptionsip(String ip)StringtoString()
-
-
-
Method Detail
-
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
Description copied from interface:MapBindercreates and binds the POST payload to the request using parameters specified.- Specified by:
bindToRequestin 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:
bindToRequestin interfaceBinder
-
-