Package 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:
HttpRequestOptions
public class ListProjectsOptions extends AccountInDomainOptions
Options used to control what account information is returned
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListProjectsOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListProjectsOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListProjectsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
page(Long page)
ListProjectsOptions
pageSize(Long pageSize)
ListProjectsOptions
recursive(boolean recursive)
ListProjectsOptions
state(String state)
ListProjectsOptions
tags(Map<String,String> tags)
-
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 ListProjectsOptions NONE
-
-
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.
-
tags
public ListProjectsOptions tags(Map<String,String> tags)
- Parameters:
tags
- Key/value pairs for tags that need to be matched.
-
page
public ListProjectsOptions page(Long page)
-
pageSize
public ListProjectsOptions pageSize(Long pageSize)
-
accountInDomain
public ListProjectsOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public ListProjectsOptions domainId(String domainId)
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-
-