Class CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.webCrawlerMode(String webCrawlerMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
seedUrls
@Stability(Stable) public CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty.Builder seedUrls(List<String> seedUrls) - Parameters:
seedUrls- The list of seed or starting point URLs of the websites you want to crawl. The list can include a maximum of 100 seed URLs.- Returns:
this
-
webCrawlerMode
@Stability(Stable) public CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty.Builder webCrawlerMode(String webCrawlerMode) Sets the value ofCfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty.getWebCrawlerMode()- Parameters:
webCrawlerMode- You can choose one of the following modes:.HOST_ONLY—crawl only the website host names. For example, if the seed URL is "abc.example.com", then only URLs with host name "abc.example.com" are crawled.SUBDOMAINS—crawl the website host names with subdomains. For example, if the seed URL is "abc.example.com", then "a.abc.example.com" and "b.abc.example.com" are also crawled.EVERYTHING—crawl the website host names with subdomains and other domains that the web pages link to.
The default mode is set to
HOST_ONLY.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.WebCrawlerSeedUrlConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-