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:
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, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListTemplatesOptions()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, 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(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 resource
domain - 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.