Interface ListGroupsResponse.Builder

    • Method Detail

      • groups

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

        An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.

        Parameters:
        groups - An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        ListGroupsResponse.Builder groups​(GroupType... groups)

        An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.

        Parameters:
        groups - An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        ListGroupsResponse.Builder groups​(Consumer<GroupType.Builder>... groups)

        An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.

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

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

        Parameters:
        groups - a consumer that will call methods on GroupType.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #groups(java.util.Collection)
      • nextToken

        ListGroupsResponse.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.