Interface ListGroupsResponse.Builder

    • Method Detail

      • groups

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

        A list of Group objects in the identity store.

        Parameters:
        groups - A list of Group objects in the identity store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        ListGroupsResponse.Builder groups​(Group... groups)

        A list of Group objects in the identity store.

        Parameters:
        groups - A list of Group objects in the identity store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

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

        A list of Group objects in the identity store.

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

        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:
        #groups(java.util.Collection)
      • nextToken

        ListGroupsResponse.Builder nextToken​(String nextToken)

        The pagination token used for the ListUsers and ListGroups API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it1 is used in the API request to search for the next page.

        Parameters:
        nextToken - The pagination token used for the ListUsers and ListGroups API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it1 is used in the API request to search for the next page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.