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 class
ListAccountsOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListAccountsOptions
NONE
-
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 ListAccountsOptions
accountInDomain(String account, String domain)
ListAccountsOptions
cleanupRequired(boolean cleanupRequired)
ListAccountsOptions
domainId(String domainId)
ListAccountsOptions
id(String id)
ListAccountsOptions
name(String name)
ListAccountsOptions
recursive(boolean recursive)
ListAccountsOptions
state(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:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public ListAccountsOptions domainId(String domainId)
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-
-