Package org.jclouds.cloudstack.options
Class ListSnapshotsOptions.Builder
- java.lang.Object
-
- org.jclouds.cloudstack.options.ListSnapshotsOptions.Builder
-
- Enclosing class:
- ListSnapshotsOptions
public static class ListSnapshotsOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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
projectId(String projectId)
static ListSnapshotsOptions
snapshotType(Snapshot.Type snapshotType)
static ListSnapshotsOptions
tags(Map<String,String> tags)
static ListSnapshotsOptions
volumeId(String volumeId)
-
-
-
Method Detail
-
accountInDomain
public static ListSnapshotsOptions accountInDomain(String account, String domainId)
- Parameters:
account
- lists snapshot belonging to the specified account.domainId
- The domain ID.
-
domainId
public static ListSnapshotsOptions domainId(String domainId)
- Parameters:
domainId
- the domain ID.
-
id
public static ListSnapshotsOptions id(String id)
- Parameters:
id
- lists snapshot by snapshot ID
-
interval
public static ListSnapshotsOptions interval(Snapshot.Interval interval)
- Parameters:
interval
- valid values are HOURLY, DAILY, WEEKLY, and MONTHLY.
-
isRecursive
public static 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 static ListSnapshotsOptions keyword(String keyword)
- Parameters:
keyword
- List by keyword
-
name
public static ListSnapshotsOptions name(String name)
- Parameters:
name
- lists snapshot by snapshot name
-
snapshotType
public static ListSnapshotsOptions snapshotType(Snapshot.Type snapshotType)
- Parameters:
snapshotType
- valid values are MANUAL or RECURRING.
-
volumeId
public static ListSnapshotsOptions volumeId(String volumeId)
- Parameters:
volumeId
- the ID of the disk volume
-
projectId
public static ListSnapshotsOptions projectId(String projectId)
- Parameters:
projectId
- the project to list in
-
tags
public static ListSnapshotsOptions tags(Map<String,String> tags)
- See Also:
ListSnapshotsOptions.tags(java.util.Map)
-
-