Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListTemplatesOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListTemplatesOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListTemplatesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTemplatesOptions
accountInDomain(String account, String domain)
ListTemplatesOptions
domainId(String domainId)
ListTemplatesOptions
filter(TemplateFilter filter)
ListTemplatesOptions
hypervisor(String hypervisor)
ListTemplatesOptions
id(String id)
ListTemplatesOptions
name(String name)
ListTemplatesOptions
projectId(String projectId)
ListTemplatesOptions
tags(Map<String,String> tags)
ListTemplatesOptions
zoneId(String zoneId)
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final ListTemplatesOptions NONE
-
-
Method Detail
-
filter
public ListTemplatesOptions filter(TemplateFilter filter)
- Parameters:
filter
- how to constrain the list
-
id
public ListTemplatesOptions id(String id)
- Parameters:
id
- the template ID
-
name
public ListTemplatesOptions name(String name)
- Parameters:
name
- the template name
-
zoneId
public ListTemplatesOptions zoneId(String zoneId)
- Parameters:
zoneId
- list templates by zoneId.
-
projectId
public ListTemplatesOptions projectId(String projectId)
- Parameters:
projectId
- list templates by projectId.
-
hypervisor
public ListTemplatesOptions hypervisor(String hypervisor)
- Parameters:
hypervisor
- the hypervisor for which to restrict the search
-
tags
public ListTemplatesOptions tags(Map<String,String> tags)
- Parameters:
tags
- Key/value pairs for tags that need to be matched.
-
accountInDomain
public ListTemplatesOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public ListTemplatesOptions domainId(String domainId)
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-
-