org.jclouds.cloudstack.options
Class ListProjectsOptions

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

public class ListProjectsOptions
extends AccountInDomainOptions

Options used to control what account information is returned

See Also:

Nested Class Summary
static class ListProjectsOptions.Builder
           
 
Field Summary
static ListProjectsOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
 
Constructor Summary
ListProjectsOptions()
           
 
Method Summary
 ListProjectsOptions accountInDomain(String account, String domain)
          
 ListProjectsOptions displayText(String displayText)
           
 ListProjectsOptions domainId(String domainId)
          
 ListProjectsOptions id(String id)
           
 ListProjectsOptions keyword(String keyword)
           
 ListProjectsOptions name(String name)
           
 ListProjectsOptions recursive(boolean recursive)
           
 ListProjectsOptions state(String state)
           
 
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 ListProjectsOptions NONE
Constructor Detail

ListProjectsOptions

public ListProjectsOptions()
Method Detail

id

public ListProjectsOptions id(String id)
Parameters:
id - list projects by project ID

name

public ListProjectsOptions name(String name)
Parameters:
name - list project by project name

state

public ListProjectsOptions state(String state)
Parameters:
state - list projects by state. Valid states are enabled, disabled, and locked.

displayText

public ListProjectsOptions displayText(String displayText)
Parameters:
displayText - list projects by displayText.

keyword

public ListProjectsOptions keyword(String keyword)
Parameters:
keyword - list projects by keyword.

recursive

public ListProjectsOptions recursive(boolean recursive)
Parameters:
recursive - defaults to false, but if true, lists all projects from the parent specified by the domain id till leaves.

accountInDomain

public ListProjectsOptions accountInDomain(String account,
                                           String domain)

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

domainId

public ListProjectsOptions domainId(String domainId)

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.