org.jclouds.cloudservers.options
Class RebuildServerOptions
java.lang.Object
org.jclouds.cloudservers.options.RebuildServerOptions
- All Implemented Interfaces:
- Binder, MapBinder
public class RebuildServerOptions
- extends Object
- implements MapBinder
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RebuildServerOptions
public RebuildServerOptions()
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
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Object toBind)
- Specified by:
bindToRequest
in interface Binder
withImage
public RebuildServerOptions withImage(int id)
- Parameters:
id
- of the image to rebuild the server with.
Copyright © 2009-2011 jclouds. All Rights Reserved.