org.jclouds.openstack.nova.v2_0.options
Class CreateBackupOfServerOptions

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.options.CreateBackupOfServerOptions
All Implemented Interfaces:
Binder, MapBinder

public class CreateBackupOfServerOptions
extends Object
implements MapBinder

Author:
Adam Lowe

Nested Class Summary
static class CreateBackupOfServerOptions.Builder
           
 
Field Summary
protected  BindToJsonPayload jsonBinder
           
static CreateBackupOfServerOptions NONE
           
 
Constructor Summary
CreateBackupOfServerOptions()
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Map<String,Object> postParams)
          creates and binds the POST payload to the request using parameters specified.
<R extends HttpRequest>
R
bindToRequest(R request, Object toBind)
           
 boolean equals(Object object)
           
 Map<String,String> getMetadata()
          Extra image properties to include
 int hashCode()
           
 CreateBackupOfServerOptions metadata(Map<String,String> metadata)
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final CreateBackupOfServerOptions NONE

jsonBinder

@Inject
protected BindToJsonPayload jsonBinder
Constructor Detail

CreateBackupOfServerOptions

public CreateBackupOfServerOptions()
Method Detail

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Map<String,Object> 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

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

metadata

public CreateBackupOfServerOptions metadata(Map<String,String> metadata)
See Also:
getMetadata()

getMetadata

public Map<String,String> getMetadata()
Extra image properties to include



Copyright © 2009-2012 jclouds. All Rights Reserved.