Interface ListUsersResponse.Builder

  • Method Details

    • directoryId

      ListUsersResponse.Builder directoryId(String directoryId)

      The identifier (ID) of the directory that's associated with the user.

      Parameters:
      directoryId - The identifier (ID) of the directory that's associated with the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListUsersResponse.Builder nextToken(String nextToken)

      An encoded paging token for paginated calls that can be passed back to retrieve the next page.

      Parameters:
      nextToken - An encoded paging token for paginated calls that can be passed back to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • realm

      The domain that's associated with the user.

      Parameters:
      realm - The domain that's associated with the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      The user information that the request returns.

      Parameters:
      users - The user information that the request returns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      The user information that the request returns.

      Parameters:
      users - The user information that the request returns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      The user information that the request returns.

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

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

      Parameters:
      users - a consumer that will call methods on UserSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: