public static class ListSnapshotsOptions.Builder extends Object
Constructor and Description |
---|
ListSnapshotsOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
static ListSnapshotsOptions |
accountInDomain(String account,
String domainId) |
static ListSnapshotsOptions |
domainId(String domainId) |
static ListSnapshotsOptions |
id(String 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(String volumeId) |
public static ListSnapshotsOptions accountInDomain(String account, String domainId)
account
- lists snapshot belonging to the specified account.domainId
- The domain ID.public static ListSnapshotsOptions domainId(String domainId)
domainId
- the domain ID.public static ListSnapshotsOptions id(String 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(String volumeId)
volumeId
- the ID of the disk volumeCopyright © 2009-2013 jclouds. All Rights Reserved.