org.jclouds.cloudstack.options
Class ListProjectsOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
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:
| Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
formParameters, headers, pathSuffix, payload, queryParameters |
| Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final ListProjectsOptions NONE
ListProjectsOptions
public ListProjectsOptions()
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 resourcedomain - 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.