public class ListVolumesOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
ListVolumesOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListVolumesOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListVolumesOptions() |
Modifier and Type | Method and Description |
---|---|
ListVolumesOptions |
accountInDomain(String account,
String domain) |
ListVolumesOptions |
domainId(String domainId) |
ListVolumesOptions |
hostId(String hostId)
List volumes on specified host
|
ListVolumesOptions |
id(String id) |
ListVolumesOptions |
isRecursive(boolean recursive) |
ListVolumesOptions |
keyword(String keyword) |
ListVolumesOptions |
name(String name) |
ListVolumesOptions |
podId(String podId) |
ListVolumesOptions |
type(Volume.Type type) |
ListVolumesOptions |
virtualMachineId(String virtualMachineId) |
ListVolumesOptions |
zoneId(String zoneId) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListVolumesOptions NONE
public ListVolumesOptions hostId(String hostId)
hostId
- hostId.public ListVolumesOptions id(String id)
id
- the ID of the volumepublic ListVolumesOptions isRecursive(boolean recursive)
recursive
- defaults to false, but if true, lists all volumes from the parent specified by the domain id till leaves.public ListVolumesOptions keyword(String keyword)
keyword
- List by keywordpublic ListVolumesOptions name(String name)
name
- the name of the disk volumepublic ListVolumesOptions podId(String podId)
podId
- the pod id the disk volume belongs topublic ListVolumesOptions type(Volume.Type type)
type
- the type of the disk volumepublic ListVolumesOptions virtualMachineId(String virtualMachineId)
virtualMachineId
- list volumes by id virtual machine.public ListVolumesOptions zoneId(String zoneId)
zoneId
- list volumes by zoneId.public ListVolumesOptions accountInDomain(String account, String domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic ListVolumesOptions domainId(String domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2013 jclouds. All Rights Reserved.