Interface SearchGroupsResponse.Builder

  • Method Details

    • directoryId

      SearchGroupsResponse.Builder directoryId(String directoryId)

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

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

      The group information that the request returns.

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

      The group information that the request returns.

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

      The group information that the request returns.

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

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

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

      SearchGroupsResponse.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 group.

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