Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
-
Method Summary
Modifier and TypeMethodDescriptionpaginationToken
(String paginationToken) An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.users
(Collection<UserType> users) A list of the user pool users, and their attributes, that match your query.users
(Consumer<UserType.Builder>... users) A list of the user pool users, and their attributes, that match your query.A list of the user pool users, and their attributes, that match your query.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
users
A list of the user pool users, and their attributes, that match your query.
Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsers
displays both the IdP user and the native user that you linked. You can identify IdP users in theUsers
object of this API response by the IdP prefix that Amazon Cognito appends toUsername
.- Parameters:
users
- A list of the user pool users, and their attributes, that match your query.Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsers
displays both the IdP user and the native user that you linked. You can identify IdP users in theUsers
object of this API response by the IdP prefix that Amazon Cognito appends toUsername
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of the user pool users, and their attributes, that match your query.
Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsers
displays both the IdP user and the native user that you linked. You can identify IdP users in theUsers
object of this API response by the IdP prefix that Amazon Cognito appends toUsername
.- Parameters:
users
- A list of the user pool users, and their attributes, that match your query.Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsers
displays both the IdP user and the native user that you linked. You can identify IdP users in theUsers
object of this API response by the IdP prefix that Amazon Cognito appends toUsername
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of the user pool users, and their attributes, that match your query.
Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsers
displays both the IdP user and the native user that you linked. You can identify IdP users in theUsers
object of this API response by the IdP prefix that Amazon Cognito appends toUsername
.UserType.Builder
avoiding the need to create one manually viaUserType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<UserType>)
.- Parameters:
users
- a consumer that will call methods onUserType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paginationToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
paginationToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-