Package org.jclouds.cloudstack.options
Class ListAccountsOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.ListAccountsOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class ListAccountsOptions extends AccountInDomainOptions
Options used to control what account information is returned
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListAccountsOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListAccountsOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListAccountsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAccountsOptionsaccountInDomain(String account, String domain)ListAccountsOptionscleanupRequired(boolean cleanupRequired)ListAccountsOptionsdomainId(String domainId)ListAccountsOptionsid(String id)ListAccountsOptionsname(String name)ListAccountsOptionsrecursive(boolean recursive)ListAccountsOptionsstate(String state)-
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 ListAccountsOptions NONE
-
-
Method Detail
-
id
public ListAccountsOptions id(String id)
- Parameters:
id- list account by account ID
-
name
public ListAccountsOptions name(String name)
- Parameters:
name- list account by account name
-
state
public ListAccountsOptions state(String state)
- Parameters:
state- list accounts by state. Valid states are enabled, disabled, and locked.
-
cleanupRequired
public ListAccountsOptions cleanupRequired(boolean cleanupRequired)
- Parameters:
cleanupRequired- list accounts by cleanuprequred attribute
-
recursive
public ListAccountsOptions recursive(boolean recursive)
- Parameters:
recursive- defaults to false, but if true, lists all accounts from the parent specified by the domain id till leaves.
-
accountInDomain
public ListAccountsOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomainin classAccountInDomainOptions- Parameters:
account- an optional account for the resourcedomain- domain id
-
domainId
public ListAccountsOptions domainId(String domainId)
- Overrides:
domainIdin classAccountInDomainOptions- Parameters:
domainId- The domain for the resource
-
-