Interface ContactDetails.Builder

  • Method Details

    • label

      The contact's label.

      Parameters:
      label - The contact's label.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The contact's value.

      Parameters:
      value - The contact's value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      ContactDetails.Builder categories(Collection<Category> categories)

      Categories of results that results must belong too.

      Parameters:
      categories - Categories of results that results must belong too.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      ContactDetails.Builder categories(Category... categories)

      Categories of results that results must belong too.

      Parameters:
      categories - Categories of results that results must belong too.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      ContactDetails.Builder categories(Consumer<Category.Builder>... categories)

      Categories of results that results must belong too.

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

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

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