public static interface DocumentAttributeCondition.Builder extends SdkPojo, CopyableBuilder<DocumentAttributeCondition.Builder,DocumentAttributeCondition>
| Modifier and Type | Method and Description |
|---|---|
DocumentAttributeCondition.Builder |
conditionDocumentAttributeKey(String conditionDocumentAttributeKey)
The identifier of the document attribute used for the condition.
|
default DocumentAttributeCondition.Builder |
conditionOnValue(Consumer<DocumentAttributeValue.Builder> conditionOnValue)
The value used by the operator.
|
DocumentAttributeCondition.Builder |
conditionOnValue(DocumentAttributeValue conditionOnValue)
The value used by the operator.
|
DocumentAttributeCondition.Builder |
operator(ConditionOperator operator)
The condition operator.
|
DocumentAttributeCondition.Builder |
operator(String operator)
The condition operator.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDocumentAttributeCondition.Builder conditionDocumentAttributeKey(String conditionDocumentAttributeKey)
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 Kendra currently does not support _document_body as an attribute key used for the
condition.
conditionDocumentAttributeKey - 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 Kendra currently does not support _document_body as an attribute key used for the
condition.
DocumentAttributeCondition.Builder operator(String operator)
The condition operator.
For example, you can use 'Contains' to partially match a string.
operator - The condition operator.
For example, you can use 'Contains' to partially match a string.
ConditionOperator,
ConditionOperatorDocumentAttributeCondition.Builder operator(ConditionOperator operator)
The condition operator.
For example, you can use 'Contains' to partially match a string.
operator - The condition operator.
For example, you can use 'Contains' to partially match a string.
ConditionOperator,
ConditionOperatorDocumentAttributeCondition.Builder conditionOnValue(DocumentAttributeValue conditionOnValue)
The value used by the operator.
For example, you can specify the value 'financial' for strings in the 'Source_URI' field that partially match or contain this value.
conditionOnValue - The value used by the operator.
For example, you can specify the value 'financial' for strings in the 'Source_URI' field that partially match or contain this value.
default DocumentAttributeCondition.Builder conditionOnValue(Consumer<DocumentAttributeValue.Builder> conditionOnValue)
The value used by the operator.
For example, you can specify the value 'financial' for strings in the 'Source_URI' field that partially match or contain this value.
This is a convenience method that creates an instance of theDocumentAttributeValue.Builder avoiding
the need to create one manually via DocumentAttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to conditionOnValue(DocumentAttributeValue).
conditionOnValue - a consumer that will call methods on DocumentAttributeValue.BuilderconditionOnValue(DocumentAttributeValue)Copyright © 2023. All rights reserved.