Class DescribeUsersRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.workdocs.model.WorkDocsRequest
-
- software.amazon.awssdk.services.workdocs.model.DescribeUsersRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeUsersRequest.Builder,DescribeUsersRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeUsersRequest extends WorkDocsRequest implements ToCopyableBuilder<DescribeUsersRequest.Builder,DescribeUsersRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeUsersRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthenticationToken()Amazon WorkDocs authentication token.static DescribeUsersRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfields()A comma-separated list of values.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()UserFilterTypeinclude()The state of the users.StringincludeAsString()The state of the users.Integerlimit()The maximum number of items to return.Stringmarker()The marker for the next set of results.OrderTypeorder()The order for the results.StringorderAsString()The order for the results.StringorganizationId()The ID of the organization.Stringquery()A query to filter users by user name.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeUsersRequest.Builder>serializableBuilderClass()UserSortTypesort()The sorting criteria.StringsortAsString()The sorting criteria.DescribeUsersRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserIds()The IDs of the users.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
authenticationToken
public final String 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
public final String organizationId()
The ID of the organization.
- Returns:
- The ID of the organization.
-
userIds
public final String userIds()
The IDs of the users.
- Returns:
- The IDs of the users.
-
query
public final String query()
A query to filter users by user name. Remember the following about the
UseridsandQueryparameters:-
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
Queryparameter. -
The
Useridparameter only returns user names that match a corresponding user ID. -
The
Queryparameter runs a "prefix" search for users by theGivenName,SurName, orUserNamefields included in a CreateUser API call. For example, querying onMareturns 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 Jonly returns Mateo Jackson.
- Returns:
- A query to filter users by user name. Remember the following about the
UseridsandQueryparameters:-
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
Queryparameter. -
The
Useridparameter only returns user names that match a corresponding user ID. -
The
Queryparameter runs a "prefix" search for users by theGivenName,SurName, orUserNamefields included in a CreateUser API call. For example, querying onMareturns 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 Jonly returns Mateo Jackson.
-
-
-
include
public final UserFilterType 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,
includewill 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:
UserFilterType
-
includeAsString
public final String 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,
includewill 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:
UserFilterType
-
order
public final OrderType order()
The order for the results.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The order for the results.
- See Also:
OrderType
-
orderAsString
public final String orderAsString()
The order for the results.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The order for the results.
- See Also:
OrderType
-
sort
public final UserSortType sort()
The sorting criteria.
If the service returns an enum value that is not available in the current SDK version,
sortwill returnUserSortType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortAsString().- Returns:
- The sorting criteria.
- See Also:
UserSortType
-
sortAsString
public final String sortAsString()
The sorting criteria.
If the service returns an enum value that is not available in the current SDK version,
sortwill returnUserSortType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortAsString().- Returns:
- The sorting criteria.
- See Also:
UserSortType
-
marker
public final String 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
public final Integer limit()
The maximum number of items to return.
- Returns:
- The maximum number of items to return.
-
fields
public final String 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
public DescribeUsersRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeUsersRequest.Builder,DescribeUsersRequest>- Specified by:
toBuilderin classWorkDocsRequest
-
builder
public static DescribeUsersRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeUsersRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-