public class ListSnapshotsOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
ListSnapshotsOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListSnapshotsOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListSnapshotsOptions() |
Modifier and Type | Method and Description |
---|---|
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) |
accountInDomain, domainId
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListSnapshotsOptions NONE
public ListSnapshotsOptions id(long id)
id
- lists snapshot by snapshot IDpublic ListSnapshotsOptions interval(Snapshot.Interval interval)
interval
- valid values are HOURLY, DAILY, WEEKLY, and MONTHLY.public 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 ListSnapshotsOptions keyword(String keyword)
keyword
- List by keywordpublic ListSnapshotsOptions name(String name)
name
- lists snapshot by snapshot namepublic ListSnapshotsOptions snapshotType(Snapshot.Type snapshotType)
snapshotType
- valid values are MANUAL or RECURRING.public ListSnapshotsOptions volumeId(long volumeId)
volumeId
- the ID of the disk volumeCopyright © 2009-2012 jclouds. All Rights Reserved.