org.jclouds.cloudservers.options
Class RebuildServerOptions

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

public class RebuildServerOptions
extends BindToJsonPayload

Author:
Adrian Cole

Nested Class Summary
static class RebuildServerOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.rest.binders.BindToJsonPayload
jsonBinder
 
Constructor Summary
RebuildServerOptions()
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Map<String,String> postParams)
           
<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)
Specified by:
bindToRequest in interface MapBinder
Overrides:
bindToRequest in class BindToJsonPayload

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object toBind)
Specified by:
bindToRequest in interface Binder
Overrides:
bindToRequest in class BindToJsonPayload

withImage

public RebuildServerOptions withImage(int id)
Parameters:
id - of the image to rebuild the server with.


Copyright © 2009-2011 jclouds. All Rights Reserved.