Interface ListUsersResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>, IdentitystoreResponse.Builder, SdkBuilder<ListUsersResponse.Builder,ListUsersResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListUsersResponse

public static interface ListUsersResponse.Builder extends IdentitystoreResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
  • Method Details

    • 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

      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

      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<User>).

      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:
    • 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.