Interface ListGroupsResponse.Builder

  • Method Details

    • nextToken

      ListGroupsResponse.Builder nextToken(String nextToken)

      If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.

      Parameters:
      nextToken - If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Summary information for list of groups that are mapped to users.

      Parameters:
      items - Summary information for list of groups that are mapped to users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Summary information for list of groups that are mapped to users.

      Parameters:
      items - Summary information for list of groups that are mapped to users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Summary information for list of groups that are mapped to users.

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

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

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