Class CfnDataSource.WebCrawlerUrlsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.WebCrawlerUrlsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.WebCrawlerUrlsProperty>
- Enclosing interface:
CfnDataSource.WebCrawlerUrlsProperty
@Stability(Stable)
public static final class CfnDataSource.WebCrawlerUrlsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.WebCrawlerUrlsProperty>
A builder for
CfnDataSource.WebCrawlerUrlsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.seedUrlConfiguration
(IResolvable seedUrlConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSeedUrlConfiguration()
seedUrlConfiguration
(CfnDataSource.WebCrawlerSeedUrlConfigurationProperty seedUrlConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSeedUrlConfiguration()
siteMapsConfiguration
(IResolvable siteMapsConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSiteMapsConfiguration()
siteMapsConfiguration
(CfnDataSource.WebCrawlerSiteMapsConfigurationProperty siteMapsConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSiteMapsConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
seedUrlConfiguration
@Stability(Stable) public CfnDataSource.WebCrawlerUrlsProperty.Builder seedUrlConfiguration(IResolvable seedUrlConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSeedUrlConfiguration()
- Parameters:
seedUrlConfiguration
- Configuration of the seed or starting point URLs of the websites you want to crawl. You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the web pages link to.You can list up to 100 seed URLs.
- Returns:
this
-
seedUrlConfiguration
@Stability(Stable) public CfnDataSource.WebCrawlerUrlsProperty.Builder seedUrlConfiguration(CfnDataSource.WebCrawlerSeedUrlConfigurationProperty seedUrlConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSeedUrlConfiguration()
- Parameters:
seedUrlConfiguration
- Configuration of the seed or starting point URLs of the websites you want to crawl. You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the web pages link to.You can list up to 100 seed URLs.
- Returns:
this
-
siteMapsConfiguration
@Stability(Stable) public CfnDataSource.WebCrawlerUrlsProperty.Builder siteMapsConfiguration(IResolvable siteMapsConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSiteMapsConfiguration()
- Parameters:
siteMapsConfiguration
- Configuration of the sitemap URLs of the websites you want to crawl. Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.- Returns:
this
-
siteMapsConfiguration
@Stability(Stable) public CfnDataSource.WebCrawlerUrlsProperty.Builder siteMapsConfiguration(CfnDataSource.WebCrawlerSiteMapsConfigurationProperty siteMapsConfiguration) Sets the value ofCfnDataSource.WebCrawlerUrlsProperty.getSiteMapsConfiguration()
- Parameters:
siteMapsConfiguration
- Configuration of the sitemap URLs of the websites you want to crawl. Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.WebCrawlerUrlsProperty>
- Returns:
- a new instance of
CfnDataSource.WebCrawlerUrlsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-