public class ListTemplatesOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
ListTemplatesOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListTemplatesOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListTemplatesOptions() |
Modifier and Type | Method and Description |
---|---|
ListTemplatesOptions |
accountInDomain(String account,
long domain) |
ListTemplatesOptions |
domainId(long domainId) |
ListTemplatesOptions |
filter(TemplateFilter filter) |
ListTemplatesOptions |
hypervisor(String hypervisor) |
ListTemplatesOptions |
id(long id) |
ListTemplatesOptions |
name(String name) |
ListTemplatesOptions |
zoneId(long zoneId) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListTemplatesOptions NONE
public ListTemplatesOptions filter(TemplateFilter filter)
filter
- how to constrain the listpublic ListTemplatesOptions id(long id)
id
- the template IDpublic ListTemplatesOptions name(String name)
name
- the template namepublic ListTemplatesOptions zoneId(long zoneId)
zoneId
- list templates by zoneId.public ListTemplatesOptions hypervisor(String hypervisor)
hypervisor
- the hypervisor for which to restrict the searchpublic ListTemplatesOptions accountInDomain(String account, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic ListTemplatesOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.