Interface SearchUsersRequest.Builder
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<SearchUsersRequest.Builder,,SearchUsersRequest> SdkBuilder<SearchUsersRequest.Builder,,SearchUsersRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchUsersRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<Filter> filters) The filters to use for listing a specific set of users.filters(Consumer<Filter.Builder>... filters) The filters to use for listing a specific set of users.The filters to use for listing a specific set of users.maxResults(Integer maxResults) The maximum number of results to include in the response.An optional token returned from a prior request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortCriteria(Collection<Sort> sortCriteria) The sort order to use in listing the filtered set of users.sortCriteria(Consumer<Sort.Builder>... sortCriteria) The sort order to use in listing the filtered set of users.sortCriteria(Sort... sortCriteria) The sort order to use in listing the filtered set of users.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
nextToken
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults. Required.- Parameters:
nextToken- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified byMaxResults. Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to include in the response. If more results exist than the specified
MaxResultsvalue, a token is included in the response so that the remaining results can be retrieved. Required.- Parameters:
maxResults- The maximum number of results to include in the response. If more results exist than the specifiedMaxResultsvalue, a token is included in the response so that the remaining results can be retrieved. Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to use for listing a specific set of users. Required. Supported filter keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
- Parameters:
filters- The filters to use for listing a specific set of users. Required. Supported filter keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to use for listing a specific set of users. Required. Supported filter keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
- Parameters:
filters- The filters to use for listing a specific set of users. Required. Supported filter keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to use for listing a specific set of users. Required. Supported filter keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortCriteria
The sort order to use in listing the filtered set of users. Required. Supported sort keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
- Parameters:
sortCriteria- The sort order to use in listing the filtered set of users. Required. Supported sort keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The sort order to use in listing the filtered set of users. Required. Supported sort keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
- Parameters:
sortCriteria- The sort order to use in listing the filtered set of users. Required. Supported sort keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The sort order to use in listing the filtered set of users. Required. Supported sort keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
This is a convenience method that creates an instance of theSort.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortCriteria(List<Sort>).- Parameters:
sortCriteria- a consumer that will call methods onSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SearchUsersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchUsersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-