Interface ListUserGroupsResponse.Builder

    • Method Detail

      • groupList

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

        The list of groups the user is a member of.

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

        ListUserGroupsResponse.Builder groupList​(Group... groupList)

        The list of groups the user is a member of.

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

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

        The list of groups the user is a member of.

        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

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

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

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