org.jclouds.cloudstack.options
Class ListTemplatesOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.ListTemplatesOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class ListTemplatesOptions
- extends AccountInDomainOptions
Options used to control what templates information is returned
- Author:
- Adrian Cole
- See Also:
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 ListTemplatesOptions NONE
ListTemplatesOptions
public ListTemplatesOptions()
filter
public ListTemplatesOptions filter(TemplateFilter filter)
- Parameters:
filter
- how to constrain the list
id
public ListTemplatesOptions id(long id)
- Parameters:
id
- the template ID
name
public ListTemplatesOptions name(String name)
- Parameters:
name
- the template name
zoneId
public ListTemplatesOptions zoneId(long zoneId)
- Parameters:
zoneId
- list templates by zoneId.
hypervisor
public ListTemplatesOptions hypervisor(String hypervisor)
- Parameters:
hypervisor
- the hypervisor for which to restrict the search
accountInDomain
public ListTemplatesOptions accountInDomain(String account,
long domain)
-
- Overrides:
accountInDomain
in class AccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
domainId
public ListTemplatesOptions domainId(long domainId)
-
- Overrides:
domainId
in class AccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
Copyright © 2009-2012 jclouds. All Rights Reserved.