@Stability(value=Stable) public static final class CfnDataSource.DocumentAttributeConditionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.DocumentAttributeConditionProperty>
CfnDataSource.DocumentAttributeConditionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDataSource.DocumentAttributeConditionProperty |
build()
Builds the configured instance.
|
CfnDataSource.DocumentAttributeConditionProperty.Builder |
conditionDocumentAttributeKey(String conditionDocumentAttributeKey)
|
CfnDataSource.DocumentAttributeConditionProperty.Builder |
conditionOnValue(CfnDataSource.DocumentAttributeValueProperty conditionOnValue)
Sets the value of
CfnDataSource.DocumentAttributeConditionProperty.getConditionOnValue() |
CfnDataSource.DocumentAttributeConditionProperty.Builder |
conditionOnValue(IResolvable conditionOnValue)
Sets the value of
CfnDataSource.DocumentAttributeConditionProperty.getConditionOnValue() |
CfnDataSource.DocumentAttributeConditionProperty.Builder |
operator(String operator)
Sets the value of
CfnDataSource.DocumentAttributeConditionProperty.getOperator() |
@Stability(value=Stable) public CfnDataSource.DocumentAttributeConditionProperty.Builder conditionDocumentAttributeKey(String conditionDocumentAttributeKey)
CfnDataSource.DocumentAttributeConditionProperty.getConditionDocumentAttributeKey()conditionDocumentAttributeKey - The identifier of the document attribute used for the condition. This parameter is required.
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.
this@Stability(value=Stable) public CfnDataSource.DocumentAttributeConditionProperty.Builder operator(String operator)
CfnDataSource.DocumentAttributeConditionProperty.getOperator()operator - The condition operator. This parameter is required.
For example, you can use 'Contains' to partially match a string.this@Stability(value=Stable) public CfnDataSource.DocumentAttributeConditionProperty.Builder conditionOnValue(CfnDataSource.DocumentAttributeValueProperty conditionOnValue)
CfnDataSource.DocumentAttributeConditionProperty.getConditionOnValue()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@Stability(value=Stable) public CfnDataSource.DocumentAttributeConditionProperty.Builder conditionOnValue(IResolvable conditionOnValue)
CfnDataSource.DocumentAttributeConditionProperty.getConditionOnValue()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@Stability(value=Stable) public CfnDataSource.DocumentAttributeConditionProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.DocumentAttributeConditionProperty>CfnDataSource.DocumentAttributeConditionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.