Interface WebDataSourceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WebDataSourceConfiguration.Builder,
,WebDataSourceConfiguration> SdkBuilder<WebDataSourceConfiguration.Builder,
,WebDataSourceConfiguration> SdkPojo
- Enclosing class:
WebDataSourceConfiguration
@Mutable
@NotThreadSafe
public static interface WebDataSourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<WebDataSourceConfiguration.Builder,WebDataSourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncrawlerConfiguration
(Consumer<WebCrawlerConfiguration.Builder> crawlerConfiguration) The Web Crawler configuration details for the web data source.crawlerConfiguration
(WebCrawlerConfiguration crawlerConfiguration) The Web Crawler configuration details for the web data source.sourceConfiguration
(Consumer<WebSourceConfiguration.Builder> sourceConfiguration) The source configuration details for the web data source.sourceConfiguration
(WebSourceConfiguration sourceConfiguration) The source configuration details for the web data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
crawlerConfiguration
WebDataSourceConfiguration.Builder crawlerConfiguration(WebCrawlerConfiguration crawlerConfiguration) The Web Crawler configuration details for the web data source.
- Parameters:
crawlerConfiguration
- The Web Crawler configuration details for the web data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crawlerConfiguration
default WebDataSourceConfiguration.Builder crawlerConfiguration(Consumer<WebCrawlerConfiguration.Builder> crawlerConfiguration) The Web Crawler configuration details for the web data source.
This is a convenience method that creates an instance of theWebCrawlerConfiguration.Builder
avoiding the need to create one manually viaWebCrawlerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocrawlerConfiguration(WebCrawlerConfiguration)
.- Parameters:
crawlerConfiguration
- a consumer that will call methods onWebCrawlerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceConfiguration
The source configuration details for the web data source.
- Parameters:
sourceConfiguration
- The source configuration details for the web data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
default WebDataSourceConfiguration.Builder sourceConfiguration(Consumer<WebSourceConfiguration.Builder> sourceConfiguration) The source configuration details for the web data source.
This is a convenience method that creates an instance of theWebSourceConfiguration.Builder
avoiding the need to create one manually viaWebSourceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceConfiguration(WebSourceConfiguration)
.- Parameters:
sourceConfiguration
- a consumer that will call methods onWebSourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-