Interface SearchContactsResponse.Builder

All Superinterfaces:
AlexaForBusinessResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<SearchContactsResponse.Builder,SearchContactsResponse>, SdkBuilder<SearchContactsResponse.Builder,SearchContactsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
SearchContactsResponse

  • Method Details

    • contacts

      The contacts that meet the specified set of filter criteria, in sort order.

      Parameters:
      contacts - The contacts that meet the specified set of filter criteria, in sort order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contacts

      The contacts that meet the specified set of filter criteria, in sort order.

      Parameters:
      contacts - The contacts that meet the specified set of filter criteria, in sort order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contacts

      The contacts that meet the specified set of filter criteria, in sort order.

      This is a convenience method that creates an instance of the ContactData.Builder avoiding the need to create one manually via ContactData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to contacts(List<ContactData>).

      Parameters:
      contacts - a consumer that will call methods on ContactData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      SearchContactsResponse.Builder nextToken(String nextToken)

      The token returned to indicate that there is more data available.

      Parameters:
      nextToken - The token returned to indicate that there is more data available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalCount

      SearchContactsResponse.Builder totalCount(Integer totalCount)

      The total number of contacts returned.

      Parameters:
      totalCount - The total number of contacts returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.