org.jclouds.openstack.nova.options
Class RebuildServerOptions

java.lang.Object
  extended by org.jclouds.openstack.nova.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(String ref)
           
 
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(String ref)
Parameters:
ref - - reference of the image to rebuild the server with.


Copyright © 2009-2011 jclouds. All Rights Reserved.