Interface ListGroupsResponse.Builder

    • Method Detail

      • groupList

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

        The list of the groups.

        Parameters:
        groupList - The list of the groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupList

        ListGroupsResponse.Builder groupList​(Group... groupList)

        The list of the groups.

        Parameters:
        groupList - The list of the groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupList

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

        The list of the groups.

        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

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

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

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