Interface ListUsersResponse.Builder

  • Method Details

    • users

      A list of all the users.

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

      A list of all the users.

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

      A list of all the users.

      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)

      A token that indicates where a results page should begin.

      Parameters:
      nextToken - A token that indicates where a results page should begin.
      Returns:
      Returns a reference to this object so that method calls can be chained together.