public class ListProjectsOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
ListProjectsOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListProjectsOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListProjectsOptions() |
Modifier and Type | Method and 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 |
recursive(boolean recursive) |
ListProjectsOptions |
state(String state) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListProjectsOptions NONE
public ListProjectsOptions id(String id)
id
- list projects by project IDpublic ListProjectsOptions name(String name)
name
- list project by project namepublic ListProjectsOptions state(String state)
state
- list projects by state. Valid states are enabled, disabled, and
locked.public ListProjectsOptions displayText(String displayText)
displayText
- list projects by displayText.public ListProjectsOptions keyword(String keyword)
keyword
- list projects by keyword.public ListProjectsOptions recursive(boolean recursive)
recursive
- defaults to false, but if true, lists all projects from the
parent specified by the domain id till leaves.public ListProjectsOptions accountInDomain(String account, String domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic ListProjectsOptions domainId(String domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.