Class CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crawlerLimits(CfnKnowledgeBasePropsMixin.CrawlerLimitsProperty crawlerLimits) crawlerLimits(IResolvable crawlerLimits) exclusionFilters(List<String> exclusionFilters) inclusionFilters(List<String> inclusionFilters) Sets the value ofCfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.getScope()urlConfiguration(CfnKnowledgeBasePropsMixin.UrlConfigurationProperty urlConfiguration) urlConfiguration(IResolvable urlConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crawlerLimits
@Stability(Stable) public CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder crawlerLimits(IResolvable crawlerLimits) - Parameters:
crawlerLimits- The configuration of crawl limits for the web URLs.- Returns:
this
-
crawlerLimits
@Stability(Stable) public CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder crawlerLimits(CfnKnowledgeBasePropsMixin.CrawlerLimitsProperty crawlerLimits) - Parameters:
crawlerLimits- The configuration of crawl limits for the web URLs.- Returns:
this
-
exclusionFilters
@Stability(Stable) public CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder exclusionFilters(List<String> exclusionFilters) - Parameters:
exclusionFilters- A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.- Returns:
this
-
inclusionFilters
@Stability(Stable) public CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder inclusionFilters(List<String> inclusionFilters) - Parameters:
inclusionFilters- A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.- Returns:
this
-
scope
@Stability(Stable) public CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder scope(String scope) Sets the value ofCfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.getScope()- Parameters:
scope- The scope of what is crawled for your URLs. You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URLhttps://docs.aws.amazon.com/bedrock/latest/userguide/and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that containaws.amazon.com.rproxy.govskope.cacan also include sub domaindocs.aws.amazon.com.- Returns:
this
-
urlConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder urlConfiguration(IResolvable urlConfiguration) - Parameters:
urlConfiguration- The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs.- Returns:
this
-
urlConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty.Builder urlConfiguration(CfnKnowledgeBasePropsMixin.UrlConfigurationProperty urlConfiguration) - Parameters:
urlConfiguration- The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.WebCrawlerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-