Interface DocumentAttributeCondition.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<DocumentAttributeCondition.Builder,,DocumentAttributeCondition> SdkBuilder<DocumentAttributeCondition.Builder,,DocumentAttributeCondition> SdkPojo
- Enclosing class:
 DocumentAttributeCondition
- 
Method Summary
Modifier and TypeMethodDescriptionconditionDocumentAttributeKey(String conditionDocumentAttributeKey) The identifier of the document attribute used for the condition.conditionOnValue(Consumer<DocumentAttributeValue.Builder> conditionOnValue) The value used by the operator.conditionOnValue(DocumentAttributeValue conditionOnValue) The value used by the operator.The condition operator.operator(ConditionOperator operator) The condition operator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
conditionDocumentAttributeKey
DocumentAttributeCondition.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_bodyas an attribute key used for the condition.- Parameters:
 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_bodyas an attribute key used for the condition.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
operator
The condition operator.
For example, you can use 'Contains' to partially match a string.
- Parameters:
 operator- The condition operator.For example, you can use 'Contains' to partially match a string.
- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
operator
The condition operator.
For example, you can use 'Contains' to partially match a string.
- Parameters:
 operator- The condition operator.For example, you can use 'Contains' to partially match a string.
- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
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.
- Parameters:
 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.
- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
conditionOnValue
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.Builderavoiding the need to create one manually viaDocumentAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditionOnValue(DocumentAttributeValue).- Parameters:
 conditionOnValue- a consumer that will call methods onDocumentAttributeValue.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -