Interface CountryHighlights.Builder

  • Method Details

    • code

      Indicates the starting and ending index of the country code in the text query that match the found title.

      Parameters:
      code - Indicates the starting and ending index of the country code in the text query that match the found title.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • code

      Indicates the starting and ending index of the country code in the text query that match the found title.

      Parameters:
      code - Indicates the starting and ending index of the country code in the text query that match the found title.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • code

      Indicates the starting and ending index of the country code in the text query that match the found title.

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

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

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

      Indicates the starting and ending index of the country code in the text query that match the found title.

      Parameters:
      name - Indicates the starting and ending index of the country code in the text query that match the found title.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Indicates the starting and ending index of the country code in the text query that match the found title.

      Parameters:
      name - Indicates the starting and ending index of the country code in the text query that match the found title.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Indicates the starting and ending index of the country code in the text query that match the found title.

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

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

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