Interface QQueryCard.Builder

    • Method Detail

      • id

        QQueryCard.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.
      • title

        QQueryCard.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.
      • dependencies

        QQueryCard.Builder dependencies​(Collection<String> dependencies)

        Any dependencies or requirements for the query card.

        Parameters:
        dependencies - Any dependencies or requirements for the query card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dependencies

        QQueryCard.Builder dependencies​(String... dependencies)

        Any dependencies or requirements for the query card.

        Parameters:
        dependencies - Any dependencies or requirements for the query card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        QQueryCard.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

        QQueryCard.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

        QQueryCard.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

        QQueryCard.Builder outputSource​(String outputSource)

        The source or type of output generated by the query card.

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

        QQueryCard.Builder outputSource​(CardOutputSource outputSource)

        The source or type of output generated by the query card.

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

        QQueryCard.Builder attributeFilter​(AttributeFilter attributeFilter)

        The Amazon Q Business filters applied in this query card when resolving data sources

        Parameters:
        attributeFilter - The Amazon Q Business filters applied in this query card when resolving data sources
        Returns:
        Returns a reference to this object so that method calls can be chained together.