org.jclouds.cloudstack.options
Class ListSnapshotsOptions.Builder

java.lang.Object
  extended by org.jclouds.cloudstack.options.ListSnapshotsOptions.Builder
Enclosing class:
ListSnapshotsOptions

public static class ListSnapshotsOptions.Builder
extends Object


Constructor Summary
ListSnapshotsOptions.Builder()
           
 
Method Summary
static ListSnapshotsOptions accountInDomain(String account, long domainId)
           
static ListSnapshotsOptions domainId(long domainId)
           
static ListSnapshotsOptions id(long id)
           
static ListSnapshotsOptions interval(Snapshot.Interval interval)
           
static ListSnapshotsOptions isRecursive(boolean isRecursive)
           
static ListSnapshotsOptions keyword(String keyword)
           
static ListSnapshotsOptions name(String name)
           
static ListSnapshotsOptions snapshotType(Snapshot.Type snapshotType)
           
static ListSnapshotsOptions volumeId(long volumeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSnapshotsOptions.Builder

public ListSnapshotsOptions.Builder()
Method Detail

accountInDomain

public static ListSnapshotsOptions accountInDomain(String account,
                                                   long domainId)
Parameters:
account - lists snapshot belonging to the specified account.
domainId - The domain ID.

domainId

public static ListSnapshotsOptions domainId(long domainId)
Parameters:
domainId - the domain ID.

id

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

interval

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

isRecursive

public static 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 static ListSnapshotsOptions keyword(String keyword)
Parameters:
keyword - List by keyword

name

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

snapshotType

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

volumeId

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


Copyright © 2009-2012 jclouds. All Rights Reserved.