org.jclouds.cloudservers.options
Class RebuildServerOptions

java.lang.Object
  extended by org.jclouds.cloudservers.options.RebuildServerOptions
All Implemented Interfaces:
Binder, MapBinder

public class RebuildServerOptions
extends Object
implements MapBinder

Author:
Adrian Cole

Nested Class Summary
static class RebuildServerOptions.Builder
           
 
Constructor Summary
RebuildServerOptions()
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Map<String,String> postParams)
          creates and binds the POST payload to the request using parameters specified.
<R extends HttpRequest>
R
bindToRequest(R request, Object toBind)
           
 RebuildServerOptions withImage(int id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RebuildServerOptions

public RebuildServerOptions()
Method Detail

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-2012 jclouds. All Rights Reserved.