org.jclouds.glesys.options
Class CreateServerOptions
java.lang.Object
org.jclouds.glesys.options.CreateServerOptions
- All Implemented Interfaces:
- Binder, MapBinder
public class CreateServerOptions
- extends Object
- implements MapBinder
- Author:
- Adam Lowe
CreateServerOptions
public CreateServerOptions()
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Map<String,String> postParams)
- Description copied from interface:
MapBinder
- creates and binds the POST payload to the request using parameters specified.
- Specified by:
bindToRequest
in interface MapBinder
- 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 interface Binder
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.