Class CfnDataSource.WebCrawlerSeedUrlConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.WebCrawlerSeedUrlConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.WebCrawlerSeedUrlConfigurationProperty>
- Enclosing interface:
- CfnDataSource.WebCrawlerSeedUrlConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.WebCrawlerSeedUrlConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.WebCrawlerSeedUrlConfigurationProperty>
A builder for
CfnDataSource.WebCrawlerSeedUrlConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataSource.WebCrawlerSeedUrlConfigurationProperty.getSeedUrls()
webCrawlerMode
(String webCrawlerMode) Sets the value ofCfnDataSource.WebCrawlerSeedUrlConfigurationProperty.getWebCrawlerMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
seedUrls
@Stability(Stable) public CfnDataSource.WebCrawlerSeedUrlConfigurationProperty.Builder seedUrls(List<String> seedUrls) Sets the value ofCfnDataSource.WebCrawlerSeedUrlConfigurationProperty.getSeedUrls()
- Parameters:
seedUrls
- The list of seed or starting point URLs of the websites you want to crawl. This parameter is required. The list can include a maximum of 100 seed URLs.- Returns:
this
-
webCrawlerMode
@Stability(Stable) public CfnDataSource.WebCrawlerSeedUrlConfigurationProperty.Builder webCrawlerMode(String webCrawlerMode) Sets the value ofCfnDataSource.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.WebCrawlerSeedUrlConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.WebCrawlerSeedUrlConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-