org.jclouds.cloudstack.options
Class ListSnapshotsOptions.Builder
java.lang.Object
org.jclouds.cloudstack.options.ListSnapshotsOptions.Builder
- Enclosing class:
- ListSnapshotsOptions
public static class ListSnapshotsOptions.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListSnapshotsOptions.Builder
public ListSnapshotsOptions.Builder()
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.