Interface ListContactsRequest.Builder

    • Method Detail

      • contactListName

        ListContactsRequest.Builder contactListName​(String contactListName)

        The name of the contact list.

        Parameters:
        contactListName - The name of the contact list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filter

        ListContactsRequest.Builder filter​(ListContactsFilter filter)

        A filter that can be applied to a list of contacts.

        Parameters:
        filter - A filter that can be applied to a list of contacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pageSize

        ListContactsRequest.Builder pageSize​(Integer pageSize)

        The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize. Use this parameter to paginate results. If additional contacts exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional contacts.

        Parameters:
        pageSize - The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize. Use this parameter to paginate results. If additional contacts exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional contacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListContactsRequest.Builder nextToken​(String nextToken)

        A string token indicating that there might be additional contacts available to be listed. Use the token provided in the Response to use in the subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.

        Parameters:
        nextToken - A string token indicating that there might be additional contacts available to be listed. Use the token provided in the Response to use in the subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.