org.jclouds.cloudstack.options
Class ListVolumesOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.ListVolumesOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class ListVolumesOptions
- extends AccountInDomainOptions
Options used to control what volume
- Author:
- Vijay Kiran
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final ListVolumesOptions NONE
ListVolumesOptions
public ListVolumesOptions()
hostId
public ListVolumesOptions hostId(long hostId)
- List volumes on specified host
- Parameters:
hostId
- hostId.
id
public ListVolumesOptions id(long id)
- Parameters:
id
- the ID of the volume
isRecursive
public ListVolumesOptions isRecursive(boolean recursive)
- Parameters:
recursive
- defaults to false, but if true, lists all volumes from the parent specified by the domain id till leaves.
keyword
public ListVolumesOptions keyword(String keyword)
- Parameters:
keyword
- List by keyword
name
public ListVolumesOptions name(String name)
- Parameters:
name
- the name of the disk volume
podId
public ListVolumesOptions podId(long podId)
- Parameters:
podId
- the pod id the disk volume belongs to
type
public ListVolumesOptions type(Volume.Type type)
- Parameters:
type
- the type of the disk volume
virtualMachineId
public ListVolumesOptions virtualMachineId(long virtualMachineId)
- Parameters:
virtualMachineId
- list volumes by id virtual machine.
zoneId
public ListVolumesOptions zoneId(long zoneId)
- Parameters:
zoneId
- list volumes by zoneId.
accountInDomain
public ListVolumesOptions accountInDomain(String account,
long domain)
-
- Overrides:
accountInDomain
in class AccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
domainId
public ListVolumesOptions domainId(long domainId)
-
- Overrides:
domainId
in class AccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
Copyright © 2009-2012 jclouds. All Rights Reserved.