public class ListUsersOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
ListUsersOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListUsersOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListUsersOptions() |
Modifier and Type | Method and Description |
---|---|
ListUsersOptions |
accountInDomain(String account,
long domain) |
ListUsersOptions |
accountType(String accountType) |
ListUsersOptions |
domainId(long domainId) |
ListUsersOptions |
id(long id) |
ListUsersOptions |
keyword(String keyword) |
ListUsersOptions |
page(long page) |
ListUsersOptions |
pageSize(long pageSize) |
ListUsersOptions |
state(User.State state) |
ListUsersOptions |
userName(String userName) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListUsersOptions NONE
public ListUsersOptions id(long id)
id
- list account by account IDpublic ListUsersOptions userName(String userName)
userName
- retrieve user by namepublic ListUsersOptions state(User.State state)
state
- list accounts by state. Valid states are enabled, disabled, and
locked.public ListUsersOptions accountType(String accountType)
accountType
- List users by account type. Valid types include admin,
domain-admin, read-only-admin, or user.public ListUsersOptions keyword(String keyword)
keyword
- public ListUsersOptions page(long page)
page
- the page numberpublic ListUsersOptions pageSize(long pageSize)
pageSize
- the number of items per pagepublic ListUsersOptions accountInDomain(String account, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic ListUsersOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.