Interface AdminListGroupsForUserResponse.Builder

    • Method Detail

      • groups

        AdminListGroupsForUserResponse.Builder groups​(Collection<GroupType> groups)

        An array of groups and information about them.

        Parameters:
        groups - An array of groups and information about them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        AdminListGroupsForUserResponse.Builder groups​(GroupType... groups)

        An array of groups and information about them.

        Parameters:
        groups - An array of groups and information about them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        AdminListGroupsForUserResponse.Builder nextToken​(String nextToken)

        The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.

        Parameters:
        nextToken - The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.