Interface ListUsersResponse.Builder

  • Method Details

    • nextToken

      ListUsersResponse.Builder nextToken(String nextToken)

      The token to use for retrieving the next page of results. If this is not present, there are no more results.

      Parameters:
      nextToken - The token to use for retrieving the next page of results. If this is not present, there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      A list of user objects matching the specified filters and within the current page.

      Parameters:
      users - A list of user objects matching the specified filters and within the current page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      A list of user objects matching the specified filters and within the current page.

      Parameters:
      users - A list of user objects matching the specified filters and within the current page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      A list of user objects matching the specified filters and within the current page.

      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: