Interface QQueryCardInput.Builder

    • Method Detail

      • title

        QQueryCardInput.Builder title​(String title)

        The title or label of the query card.

        Parameters:
        title - The title or label of the query card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        QQueryCardInput.Builder id​(String id)

        The unique identifier of the query card.

        Parameters:
        id - The unique identifier of the query card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        QQueryCardInput.Builder type​(String type)

        The type of the card.

        Parameters:
        type - The type of the card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CardType, CardType
      • type

        QQueryCardInput.Builder type​(CardType type)

        The type of the card.

        Parameters:
        type - The type of the card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CardType, CardType
      • prompt

        QQueryCardInput.Builder prompt​(String prompt)

        The prompt or instructions displayed for the query card.

        Parameters:
        prompt - The prompt or instructions displayed for the query card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputSource

        QQueryCardInput.Builder outputSource​(String outputSource)

        The source or type of output to generate for the query card.

        Parameters:
        outputSource - The source or type of output to generate for the query card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CardOutputSource, CardOutputSource
      • outputSource

        QQueryCardInput.Builder outputSource​(CardOutputSource outputSource)

        The source or type of output to generate for the query card.

        Parameters:
        outputSource - The source or type of output to generate for the query card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CardOutputSource, CardOutputSource
      • attributeFilter

        QQueryCardInput.Builder attributeFilter​(AttributeFilter attributeFilter)

        Turns on filtering of responses based on document attributes or metadata fields.

        Parameters:
        attributeFilter - Turns on filtering of responses based on document attributes or metadata fields.
        Returns:
        Returns a reference to this object so that method calls can be chained together.