Interface ListUsersResponse.Builder

    • Method Detail

      • users

        ListUsersResponse.Builder users​(Collection<User> users)

        A list of User objects in the identity store.

        Parameters:
        users - A list of User objects in the identity store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • users

        ListUsersResponse.Builder users​(User... users)

        A list of User objects in the identity store.

        Parameters:
        users - A list of User objects in the identity store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • users

        ListUsersResponse.Builder users​(Consumer<User.Builder>... users)

        A list of User objects in the identity store.

        This is a convenience method that creates an instance of the User.Builder avoiding the need to create one manually via User.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #users(List).

        Parameters:
        users - a consumer that will call methods on User.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #users(java.util.Collection)
      • nextToken

        ListUsersResponse.Builder nextToken​(String nextToken)

        The pagination token used for the ListUsers and ListGroups API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.

        Parameters:
        nextToken - The pagination token used for the ListUsers and ListGroups API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.