Class CfnDataSource.CrawlFilterConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.CrawlFilterConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.CrawlFilterConfigurationProperty>
- Enclosing interface:
CfnDataSource.CrawlFilterConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.CrawlFilterConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.CrawlFilterConfigurationProperty>
A builder for
CfnDataSource.CrawlFilterConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.patternObjectFilter
(IResolvable patternObjectFilter) Sets the value ofCfnDataSource.CrawlFilterConfigurationProperty.getPatternObjectFilter()
patternObjectFilter
(CfnDataSource.PatternObjectFilterConfigurationProperty patternObjectFilter) Sets the value ofCfnDataSource.CrawlFilterConfigurationProperty.getPatternObjectFilter()
Sets the value ofCfnDataSource.CrawlFilterConfigurationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnDataSource.CrawlFilterConfigurationProperty.getType()
- Parameters:
type
- The type of filtering that you want to apply to certain objects or content of the data source. This parameter is required. For example, thePATTERN
type is regular expression patterns you can apply to filter your content.- Returns:
this
-
patternObjectFilter
@Stability(Stable) public CfnDataSource.CrawlFilterConfigurationProperty.Builder patternObjectFilter(IResolvable patternObjectFilter) Sets the value ofCfnDataSource.CrawlFilterConfigurationProperty.getPatternObjectFilter()
- Parameters:
patternObjectFilter
- The configuration of filtering certain objects or content types of the data source.- Returns:
this
-
patternObjectFilter
@Stability(Stable) public CfnDataSource.CrawlFilterConfigurationProperty.Builder patternObjectFilter(CfnDataSource.PatternObjectFilterConfigurationProperty patternObjectFilter) Sets the value ofCfnDataSource.CrawlFilterConfigurationProperty.getPatternObjectFilter()
- Parameters:
patternObjectFilter
- The configuration of filtering certain objects or content types of the data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.CrawlFilterConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.CrawlFilterConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-