Interface WebSearchResult.Builder

  • Method Details

    • title

      The title of the page.

      Parameters:
      title - The title of the page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • url

      The URL of the page.

      Parameters:
      url - The URL of the page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • text

      A text extract from the page.

      Parameters:
      text - A text extract from the page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publishedAt

      WebSearchResult.Builder publishedAt(Instant publishedAt)

      The time the page was published. This field is absent when the publication time is not known.

      Parameters:
      publishedAt - The time the page was published. This field is absent when the publication time is not known.
      Returns:
      Returns a reference to this object so that method calls can be chained together.