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 |
projectId(String projectId) |
ListVolumesOptions |
tags(Map<String,String> tags) |
ListVolumesOptions |
type(Volume.Type type) |
ListVolumesOptions |
virtualMachineId(String virtualMachineId) |
ListVolumesOptions |
zoneId(String zoneId) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toStringpublic 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 projectId(String projectId)
projectId - list volumes by projectId.public ListVolumesOptions tags(Map<String,String> tags)
tags - Key/value pairs for tags that need to be matched.public ListVolumesOptions accountInDomain(String account, String domain)
accountInDomain in class AccountInDomainOptionsaccount - an optional account for the resourcedomain - domain idpublic ListVolumesOptions domainId(String domainId)
domainId in class AccountInDomainOptionsdomainId - The domain for the resourceCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.