Interface DocumentAttributeCondition.Builder

    • Method Detail

      • key

        DocumentAttributeCondition.Builder key​(String key)

        The identifier of the document attribute used for the condition.

        For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

        Amazon Q Business currently doesn't support _document_body as an attribute key used for the condition.

        Parameters:
        key - The identifier of the document attribute used for the condition.

        For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

        Amazon Q Business currently doesn't support _document_body as an attribute key used for the condition.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operator

        DocumentAttributeCondition.Builder operator​(String operator)

        The identifier of the document attribute used for the condition.

        For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

        Amazon Q Business currently does not support _document_body as an attribute key used for the condition.

        Parameters:
        operator - The identifier of the document attribute used for the condition.

        For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

        Amazon Q Business currently does not support _document_body as an attribute key used for the condition.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DocumentEnrichmentConditionOperator, DocumentEnrichmentConditionOperator
      • operator

        DocumentAttributeCondition.Builder operator​(DocumentEnrichmentConditionOperator operator)

        The identifier of the document attribute used for the condition.

        For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

        Amazon Q Business currently does not support _document_body as an attribute key used for the condition.

        Parameters:
        operator - The identifier of the document attribute used for the condition.

        For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

        Amazon Q Business currently does not support _document_body as an attribute key used for the condition.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DocumentEnrichmentConditionOperator, DocumentEnrichmentConditionOperator
      • value

        DocumentAttributeCondition.Builder value​(DocumentAttributeValue value)
        Sets the value of the Value property for this object.
        Parameters:
        value - The new value for the Value property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.