Interface SearchGroupsResponse.Builder

    • Method Detail

      • groupList

        SearchGroupsResponse.Builder groupList​(Collection<Group> groupList)

        A list of groups in a specified namespace that match the filters you set in your SearchGroups request.

        Parameters:
        groupList - A list of groups in a specified namespace that match the filters you set in your SearchGroups request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupList

        SearchGroupsResponse.Builder groupList​(Group... groupList)

        A list of groups in a specified namespace that match the filters you set in your SearchGroups request.

        Parameters:
        groupList - A list of groups in a specified namespace that match the filters you set in your SearchGroups request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupList

        SearchGroupsResponse.Builder groupList​(Consumer<Group.Builder>... groupList)

        A list of groups in a specified namespace that match the filters you set in your SearchGroups request.

        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 #groupList(List).

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

        SearchGroupsResponse.Builder nextToken​(String nextToken)

        A pagination token that can be used in a subsequent request.

        Parameters:
        nextToken - A pagination token that can be used in a subsequent request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestId

        SearchGroupsResponse.Builder requestId​(String requestId)

        The Amazon Web Services request ID for this operation.

        Parameters:
        requestId - The Amazon Web Services request ID for this operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        SearchGroupsResponse.Builder status​(Integer status)

        The HTTP status of the request.

        Parameters:
        status - The HTTP status of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.