Interface WebCrawlerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WebCrawlerConfiguration.Builder,,WebCrawlerConfiguration> SdkBuilder<WebCrawlerConfiguration.Builder,,WebCrawlerConfiguration> SdkPojo
- Enclosing class:
WebCrawlerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault WebCrawlerConfiguration.BuildercrawlerLimits(Consumer<WebCrawlerLimits.Builder> crawlerLimits) The configuration of crawl limits for the web URLs.crawlerLimits(WebCrawlerLimits crawlerLimits) The configuration of crawl limits for the web URLs.exclusionFilters(String... exclusionFilters) A list of one or more exclusion regular expression patterns to exclude certain URLs.exclusionFilters(Collection<String> exclusionFilters) A list of one or more exclusion regular expression patterns to exclude certain URLs.inclusionFilters(String... inclusionFilters) A list of one or more inclusion regular expression patterns to include certain URLs.inclusionFilters(Collection<String> inclusionFilters) A list of one or more inclusion regular expression patterns to include certain URLs.The scope of what is crawled for your URLs.scope(WebScopeType scope) The scope of what is crawled for your URLs.default WebCrawlerConfiguration.BuilderurlConfiguration(Consumer<UrlConfiguration.Builder> urlConfiguration) The configuration of the URL/URLs for the web content that you want to crawl.urlConfiguration(UrlConfiguration urlConfiguration) The configuration of the URL/URLs for the web content that you want to crawl.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
crawlerLimits
The configuration of crawl limits for the web URLs.
- Parameters:
crawlerLimits- The configuration of crawl limits for the web URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crawlerLimits
default WebCrawlerConfiguration.Builder crawlerLimits(Consumer<WebCrawlerLimits.Builder> crawlerLimits) The configuration of crawl limits for the web URLs.
This is a convenience method that creates an instance of theWebCrawlerLimits.Builderavoiding the need to create one manually viaWebCrawlerLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocrawlerLimits(WebCrawlerLimits).- Parameters:
crawlerLimits- a consumer that will call methods onWebCrawlerLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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 URL
https://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.comcan also include sub domaindocs.aws.amazon.com.- 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.comcan also include sub domaindocs.aws.amazon.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 URL
https://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.comcan also include sub domaindocs.aws.amazon.com.- 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.comcan also include sub domaindocs.aws.amazon.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
urlConfiguration
The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
urlConfiguration
default WebCrawlerConfiguration.Builder urlConfiguration(Consumer<UrlConfiguration.Builder> urlConfiguration) The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs.
This is a convenience method that creates an instance of theUrlConfiguration.Builderavoiding the need to create one manually viaUrlConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tourlConfiguration(UrlConfiguration).- Parameters:
urlConfiguration- a consumer that will call methods onUrlConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-