public static class ListSnapshotsOptions.Builder extends Object
Constructor and Description |
---|
ListSnapshotsOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
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) |
public static ListSnapshotsOptions accountInDomain(String account, long domainId)
account
- lists snapshot belonging to the specified account.domainId
- The domain ID.public static ListSnapshotsOptions domainId(long domainId)
domainId
- the domain ID.public static ListSnapshotsOptions id(long id)
id
- lists snapshot by snapshot IDpublic static ListSnapshotsOptions interval(Snapshot.Interval interval)
interval
- valid values are HOURLY, DAILY, WEEKLY, and MONTHLY.public static ListSnapshotsOptions isRecursive(boolean isRecursive)
isRecursive
- defaults to false, but if true, lists all snapshots from the parent specified by the domain id till leaves.public static ListSnapshotsOptions keyword(String keyword)
keyword
- List by keywordpublic static ListSnapshotsOptions name(String name)
name
- lists snapshot by snapshot namepublic static ListSnapshotsOptions snapshotType(Snapshot.Type snapshotType)
snapshotType
- valid values are MANUAL or RECURRING.public static ListSnapshotsOptions volumeId(long volumeId)
volumeId
- the ID of the disk volumeCopyright © 2009-2012 jclouds. All Rights Reserved.