Interface CfnDataSource.PatternObjectFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.PatternObjectFilterProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.PatternObjectFilterProperty
extends software.amazon.jsii.JsiiSerializable
The specific filters applied to your data source content.
You can filter out or include certain content.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.bedrock.*; PatternObjectFilterProperty patternObjectFilterProperty = PatternObjectFilterProperty.builder() .objectType("objectType") // the properties below are optional .exclusionFilters(List.of("exclusionFilters")) .inclusionFilters(List.of("inclusionFilters")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataSource.PatternObjectFilterProperty
static final class
An implementation forCfnDataSource.PatternObjectFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern.A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern.The supported object type or content type of the data source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getObjectType
The supported object type or content type of the data source.- See Also:
-
getExclusionFilters
A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern.If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
- See Also:
-
getInclusionFilters
A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern.If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
- See Also:
-
builder
-