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, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListVolumesOptions() |
Modifier and Type | Method and Description |
---|---|
ListVolumesOptions |
accountInDomain(String account,
long domain) |
ListVolumesOptions |
domainId(long domainId) |
ListVolumesOptions |
hostId(long hostId)
List volumes on specified host
|
ListVolumesOptions |
id(long id) |
ListVolumesOptions |
isRecursive(boolean recursive) |
ListVolumesOptions |
keyword(String keyword) |
ListVolumesOptions |
name(String name) |
ListVolumesOptions |
podId(long podId) |
ListVolumesOptions |
type(Volume.Type type) |
ListVolumesOptions |
virtualMachineId(long virtualMachineId) |
ListVolumesOptions |
zoneId(long zoneId) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListVolumesOptions NONE
public ListVolumesOptions hostId(long hostId)
hostId
- hostId.public ListVolumesOptions id(long 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(long podId)
podId
- the pod id the disk volume belongs topublic ListVolumesOptions type(Volume.Type type)
type
- the type of the disk volumepublic ListVolumesOptions virtualMachineId(long virtualMachineId)
virtualMachineId
- list volumes by id virtual machine.public ListVolumesOptions zoneId(long zoneId)
zoneId
- list volumes by zoneId.public ListVolumesOptions accountInDomain(String account, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic ListVolumesOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.