Interface FeaturedResultsSetSummary.Builder

    • Method Detail

      • featuredResultsSetId

        FeaturedResultsSetSummary.Builder featuredResultsSetId​(String featuredResultsSetId)

        The identifier of the set of featured results.

        Parameters:
        featuredResultsSetId - The identifier of the set of featured results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featuredResultsSetName

        FeaturedResultsSetSummary.Builder featuredResultsSetName​(String featuredResultsSetName)

        The name for the set of featured results.

        Parameters:
        featuredResultsSetName - The name for the set of featured results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        FeaturedResultsSetSummary.Builder status​(String status)

        The current status of the set of featured results. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.

        Parameters:
        status - The current status of the set of featured results. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FeaturedResultsSetStatus, FeaturedResultsSetStatus
      • status

        FeaturedResultsSetSummary.Builder status​(FeaturedResultsSetStatus status)

        The current status of the set of featured results. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.

        Parameters:
        status - The current status of the set of featured results. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FeaturedResultsSetStatus, FeaturedResultsSetStatus
      • lastUpdatedTimestamp

        FeaturedResultsSetSummary.Builder lastUpdatedTimestamp​(Long lastUpdatedTimestamp)

        The Unix timestamp when the set of featured results was last updated.

        Parameters:
        lastUpdatedTimestamp - The Unix timestamp when the set of featured results was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimestamp

        FeaturedResultsSetSummary.Builder creationTimestamp​(Long creationTimestamp)

        The Unix timestamp when the set of featured results was created.

        Parameters:
        creationTimestamp - The Unix timestamp when the set of featured results was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.