Interface Urls.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Urls.Builder,,Urls> SdkBuilder<Urls.Builder,,Urls> SdkPojo
- Enclosing class:
Urls
-
Method Summary
Modifier and TypeMethodDescriptiondefault Urls.BuilderseedUrlConfiguration(Consumer<SeedUrlConfiguration.Builder> seedUrlConfiguration) Configuration of the seed or starting point URLs of the websites you want to crawl.seedUrlConfiguration(SeedUrlConfiguration seedUrlConfiguration) Configuration of the seed or starting point URLs of the websites you want to crawl.default Urls.BuildersiteMapsConfiguration(Consumer<SiteMapsConfiguration.Builder> siteMapsConfiguration) Configuration of the sitemap URLs of the websites you want to crawl.siteMapsConfiguration(SiteMapsConfiguration siteMapsConfiguration) Configuration of the sitemap URLs of the websites 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
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
seedUrlConfiguration
default Urls.Builder seedUrlConfiguration(Consumer<SeedUrlConfiguration.Builder> 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.
This is a convenience method that creates an instance of theSeedUrlConfiguration.Builderavoiding the need to create one manually viaSeedUrlConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseedUrlConfiguration(SeedUrlConfiguration).- Parameters:
seedUrlConfiguration- a consumer that will call methods onSeedUrlConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
siteMapsConfiguration
default Urls.Builder siteMapsConfiguration(Consumer<SiteMapsConfiguration.Builder> 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.
This is a convenience method that creates an instance of theSiteMapsConfiguration.Builderavoiding the need to create one manually viaSiteMapsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tositeMapsConfiguration(SiteMapsConfiguration).- Parameters:
siteMapsConfiguration- a consumer that will call methods onSiteMapsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-