Package org.jclouds.cloudstack.options
Class ListSnapshotsOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.ListSnapshotsOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class ListSnapshotsOptions extends AccountInDomainOptions
Options for the Snapshot listSnapshots method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListSnapshotsOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListSnapshotsOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListSnapshotsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSnapshotsOptionsid(String id)ListSnapshotsOptionsinterval(Snapshot.Interval interval)ListSnapshotsOptionsisRecursive(boolean isRecursive)ListSnapshotsOptionskeyword(String keyword)ListSnapshotsOptionsname(String name)ListSnapshotsOptionsprojectId(String projectId)ListSnapshotsOptionssnapshotType(Snapshot.Type snapshotType)ListSnapshotsOptionstags(Map<String,String> tags)ListSnapshotsOptionsvolumeId(String volumeId)-
Methods inherited from class org.jclouds.cloudstack.options.AccountInDomainOptions
accountInDomain, domainId
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final ListSnapshotsOptions NONE
-
-
Method Detail
-
id
public ListSnapshotsOptions id(String id)
- Parameters:
id- lists snapshot by snapshot ID
-
interval
public ListSnapshotsOptions interval(Snapshot.Interval interval)
- Parameters:
interval- valid values are HOURLY, DAILY, WEEKLY, and MONTHLY.
-
isRecursive
public 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 ListSnapshotsOptions keyword(String keyword)
- Parameters:
keyword- List by keyword
-
name
public ListSnapshotsOptions name(String name)
- Parameters:
name- lists snapshot by snapshot name
-
snapshotType
public ListSnapshotsOptions snapshotType(Snapshot.Type snapshotType)
- Parameters:
snapshotType- valid values are MANUAL or RECURRING.
-
volumeId
public ListSnapshotsOptions volumeId(String volumeId)
- Parameters:
volumeId- the ID of the disk volume
-
projectId
public ListSnapshotsOptions projectId(String projectId)
- Parameters:
projectId- the project to list in
-
tags
public ListSnapshotsOptions tags(Map<String,String> tags)
- Parameters:
tags- Key/value pairs for tags that need to be matched.
-
-