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, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListSnapshotsOptions() |
Modifier and Type | Method and Description |
---|---|
ListSnapshotsOptions |
id(String id) |
ListSnapshotsOptions |
interval(Snapshot.Interval interval) |
ListSnapshotsOptions |
isRecursive(boolean isRecursive) |
ListSnapshotsOptions |
keyword(String keyword) |
ListSnapshotsOptions |
name(String name) |
ListSnapshotsOptions |
projectId(String projectId) |
ListSnapshotsOptions |
snapshotType(Snapshot.Type snapshotType) |
ListSnapshotsOptions |
tags(Map<String,String> tags) |
ListSnapshotsOptions |
volumeId(String volumeId) |
accountInDomain, domainId
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListSnapshotsOptions NONE
public ListSnapshotsOptions id(String 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(String volumeId)
volumeId
- the ID of the disk volumepublic ListSnapshotsOptions projectId(String projectId)
projectId
- the project to list inpublic ListSnapshotsOptions tags(Map<String,String> tags)
tags
- Key/value pairs for tags that need to be matched.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.