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

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

public class CreateVolumeSnapshotOptions
extends Object
implements MapBinder

Author:
Adam Lowe

Nested Class Summary
static class CreateVolumeSnapshotOptions.Builder
           
 
Field Summary
static CreateVolumeSnapshotOptions NONE
           
 
Constructor Summary
CreateVolumeSnapshotOptions()
           
 
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)
           
 CreateVolumeSnapshotOptions description(String description)
           
 boolean equals(Object object)
           
 CreateVolumeSnapshotOptions force()
           
 String getDescription()
           
 String getName()
           
 int hashCode()
           
 boolean isForce()
           
 CreateVolumeSnapshotOptions name(String name)
           
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 CreateVolumeSnapshotOptions NONE
Constructor Detail

CreateVolumeSnapshotOptions

public CreateVolumeSnapshotOptions()
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

name

public CreateVolumeSnapshotOptions name(String name)

description

public CreateVolumeSnapshotOptions description(String description)

force

public CreateVolumeSnapshotOptions force()

getName

public String getName()

getDescription

public String getDescription()

isForce

public boolean isForce()


Copyright © 2009-2012 jclouds. All Rights Reserved.