Interface ListUsersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListUsersRequest.Builder,ListUsersRequest>,SdkBuilder<ListUsersRequest.Builder,ListUsersRequest>,SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
- ListUsersRequest
public static interface ListUsersRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<ListUsersRequest.Builder,ListUsersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListUsersRequest.Builderfilters(Consumer<ListUsersFilters.Builder> filters)Limit the user search results based on the filter criteria.ListUsersRequest.Builderfilters(ListUsersFilters filters)Limit the user search results based on the filter criteria.ListUsersRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in a single call.ListUsersRequest.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.ListUsersRequest.BuilderorganizationId(String organizationId)The identifier for the organization under which the users exist.ListUsersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListUsersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailRequest.Builder
build
-
-
-
-
Method Detail
-
organizationId
ListUsersRequest.Builder organizationId(String organizationId)
The identifier for the organization under which the users exist.
- Parameters:
organizationId- The identifier for the organization under which the users exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListUsersRequest.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. The first call does not contain any tokens.
- Parameters:
nextToken- The token to use to retrieve the next page of results. The first call does not contain any tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListUsersRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in a single call.
- Parameters:
maxResults- The maximum number of results to return in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListUsersRequest.Builder filters(ListUsersFilters filters)
Limit the user search results based on the filter criteria. You can only use one filter per request.
- Parameters:
filters- Limit the user search results based on the filter criteria. You can only use one filter per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListUsersRequest.Builder filters(Consumer<ListUsersFilters.Builder> filters)
Limit the user search results based on the filter criteria. You can only use one filter per request.
This is a convenience method that creates an instance of theListUsersFilters.Builderavoiding the need to create one manually viaListUsersFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ListUsersFilters).- Parameters:
filters- a consumer that will call methods onListUsersFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(ListUsersFilters)
-
overrideConfiguration
ListUsersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListUsersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-