org.jclouds.cloudstack.options
Class ListUsersOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.ListUsersOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class ListUsersOptions
- extends AccountInDomainOptions
Options used to control what user information is returned
- Author:
- Andrei Savu
- See Also:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final ListUsersOptions NONE
ListUsersOptions
public ListUsersOptions()
id
public ListUsersOptions id(long id)
- Parameters:
id
- list account by account ID
userName
public ListUsersOptions userName(String userName)
- Parameters:
userName
- retrieve user by name
state
public ListUsersOptions state(User.State state)
- Parameters:
state
- list accounts by state. Valid states are enabled, disabled, and
locked.
accountType
public ListUsersOptions accountType(String accountType)
- Parameters:
accountType
- List users by account type. Valid types include admin,
domain-admin, read-only-admin, or user.
keyword
public ListUsersOptions keyword(String keyword)
- Parameters:
keyword
-
page
public ListUsersOptions page(long page)
- Parameters:
page
- the page number
pageSize
public ListUsersOptions pageSize(long pageSize)
- Parameters:
pageSize
- the number of items per page
accountInDomain
public ListUsersOptions accountInDomain(String account,
long domain)
-
- Overrides:
accountInDomain
in class AccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
domainId
public ListUsersOptions domainId(long domainId)
-
- Overrides:
domainId
in class AccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
Copyright © 2009-2012 jclouds. All Rights Reserved.