Interface ListGroupsResponse.Builder

    • Method Detail

      • groups

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

        The overview of groups for an organization.

        Parameters:
        groups - The overview of groups for an organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

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

        The overview of groups for an organization.

        Parameters:
        groups - The overview of groups for an organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

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

        The overview of groups for an organization.

        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 token to use to retrieve the next page of results. The value is "null" when there are no more results to return.

        Parameters:
        nextToken - The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.