Class DescribeUsersRequest
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeUsersRequest.Builder,
DescribeUsersRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Amazon WorkDocs authentication token.static DescribeUsersRequest.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
fields()
A comma-separated list of values.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest
.final int
hashCode()
final UserFilterType
include()
The state of the users.final String
The state of the users.final Integer
limit()
The maximum number of items to return.final String
marker()
The marker for the next set of results.final OrderType
order()
The order for the results.final String
The order for the results.final String
The ID of the organization.final String
query()
A query to filter users by user name.static Class
<? extends DescribeUsersRequest.Builder> final UserSortType
sort()
The sorting criteria.final String
The sorting criteria.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
userIds()
The IDs of the users.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
authenticationToken
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
- Returns:
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
-
organizationId
The ID of the organization.
- Returns:
- The ID of the organization.
-
userIds
The IDs of the users.
- Returns:
- The IDs of the users.
-
query
A query to filter users by user name. Remember the following about the
Userids
andQuery
parameters:-
If you don't use either parameter, the API returns a paginated list of all users on the site.
-
If you use both parameters, the API ignores the
Query
parameter. -
The
Userid
parameter only returns user names that match a corresponding user ID. -
The
Query
parameter runs a "prefix" search for users by theGivenName
,SurName
, orUserName
fields included in a CreateUser API call. For example, querying onMa
returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying onMa J
only returns Mateo Jackson.
- Returns:
- A query to filter users by user name. Remember the following about the
Userids
andQuery
parameters:-
If you don't use either parameter, the API returns a paginated list of all users on the site.
-
If you use both parameters, the API ignores the
Query
parameter. -
The
Userid
parameter only returns user names that match a corresponding user ID. -
The
Query
parameter runs a "prefix" search for users by theGivenName
,SurName
, orUserName
fields included in a CreateUser API call. For example, querying onMa
returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying onMa J
only returns Mateo Jackson.
-
-
-
include
The state of the users. Specify "ALL" to include inactive users.
If the service returns an enum value that is not available in the current SDK version,
include
will returnUserFilterType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromincludeAsString()
.- Returns:
- The state of the users. Specify "ALL" to include inactive users.
- See Also:
-
includeAsString
The state of the users. Specify "ALL" to include inactive users.
If the service returns an enum value that is not available in the current SDK version,
include
will returnUserFilterType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromincludeAsString()
.- Returns:
- The state of the users. Specify "ALL" to include inactive users.
- See Also:
-
order
The order for the results.
If the service returns an enum value that is not available in the current SDK version,
order
will returnOrderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromorderAsString()
.- Returns:
- The order for the results.
- See Also:
-
orderAsString
The order for the results.
If the service returns an enum value that is not available in the current SDK version,
order
will returnOrderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromorderAsString()
.- Returns:
- The order for the results.
- See Also:
-
sort
The sorting criteria.
If the service returns an enum value that is not available in the current SDK version,
sort
will returnUserSortType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsortAsString()
.- Returns:
- The sorting criteria.
- See Also:
-
sortAsString
The sorting criteria.
If the service returns an enum value that is not available in the current SDK version,
sort
will returnUserSortType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsortAsString()
.- Returns:
- The sorting criteria.
- See Also:
-
marker
The marker for the next set of results. (You received this marker from a previous call.)
- Returns:
- The marker for the next set of results. (You received this marker from a previous call.)
-
limit
The maximum number of items to return.
- Returns:
- The maximum number of items to return.
-
fields
A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.
- Returns:
- A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeUsersRequest.Builder,
DescribeUsersRequest> - Specified by:
toBuilder
in classWorkDocsRequest
- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAwsRequest
-
equals
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
Description copied from class:SdkRequest
Used to retrieve the value of a field from any class that extendsSdkRequest
. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)
method will again be available.- Overrides:
getValueForField
in classSdkRequest
- Parameters:
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-