org.jclouds.cloudstack.options
Class ListSnapshotsOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by org.jclouds.cloudstack.options.ListSnapshotsOptions
All Implemented Interfaces:
HttpRequestOptions

public class ListSnapshotsOptions
extends AccountInDomainOptions

Options for the Snapshot listSnapshots method.

Author:
Richard Downer
See Also:
SnapshotClient.listSnapshots(org.jclouds.cloudstack.options.ListSnapshotsOptions...), SnapshotAsyncClient.listSnapshots(org.jclouds.cloudstack.options.ListSnapshotsOptions...)

Nested Class Summary
static class ListSnapshotsOptions.Builder
           
 
Field Summary
static ListSnapshotsOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListSnapshotsOptions()
           
 
Method Summary
 ListSnapshotsOptions id(long id)
           
 ListSnapshotsOptions interval(Snapshot.Interval interval)
           
 ListSnapshotsOptions isRecursive(boolean isRecursive)
           
 ListSnapshotsOptions keyword(String keyword)
           
 ListSnapshotsOptions name(String name)
           
 ListSnapshotsOptions snapshotType(Snapshot.Type snapshotType)
           
 ListSnapshotsOptions volumeId(long volumeId)
           
 
Methods inherited from class org.jclouds.cloudstack.options.AccountInDomainOptions
accountInDomain, domainId
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ListSnapshotsOptions NONE
Constructor Detail

ListSnapshotsOptions

public ListSnapshotsOptions()
Method Detail

id

public ListSnapshotsOptions id(long id)
Parameters:
id - lists snapshot by snapshot ID

interval

public ListSnapshotsOptions interval(Snapshot.Interval interval)
Parameters:
interval - valid values are HOURLY, DAILY, WEEKLY, and MONTHLY.

isRecursive

public ListSnapshotsOptions isRecursive(boolean isRecursive)
Parameters:
isRecursive - defaults to false, but if true, lists all snapshots from the parent specified by the domain id till leaves.

keyword

public ListSnapshotsOptions keyword(String keyword)
Parameters:
keyword - List by keyword

name

public ListSnapshotsOptions name(String name)
Parameters:
name - lists snapshot by snapshot name

snapshotType

public ListSnapshotsOptions snapshotType(Snapshot.Type snapshotType)
Parameters:
snapshotType - valid values are MANUAL or RECURRING.

volumeId

public ListSnapshotsOptions volumeId(long volumeId)
Parameters:
volumeId - the ID of the disk volume


Copyright © 2009-2012 jclouds. All Rights Reserved.