org.jclouds.cloudstack.options
Class ListTemplatesOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by org.jclouds.cloudstack.options.ListTemplatesOptions
All Implemented Interfaces:
org.jclouds.http.options.HttpRequestOptions

public class ListTemplatesOptions
extends AccountInDomainOptions

Options used to control what templates information is returned

Author:
Adrian Cole
See Also:

Nested Class Summary
static class ListTemplatesOptions.Builder
           
 
Field Summary
static ListTemplatesOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
 
Constructor Summary
ListTemplatesOptions()
           
 
Method Summary
 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 zoneId(String zoneId)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ListTemplatesOptions NONE
Constructor Detail

ListTemplatesOptions

public ListTemplatesOptions()
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.

hypervisor

public ListTemplatesOptions hypervisor(String hypervisor)
Parameters:
hypervisor - the hypervisor for which to restrict the search

accountInDomain

public ListTemplatesOptions accountInDomain(String account,
                                            String domain)

Overrides:
accountInDomain in class AccountInDomainOptions
Parameters:
account - an optional account for the resource
domain - domain id

domainId

public ListTemplatesOptions domainId(String domainId)

Overrides:
domainId in class AccountInDomainOptions
Parameters:
domainId - The domain for the resource


Copyright © 2009-2013 jclouds. All Rights Reserved.