Interface ManagedSourceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedSourceConfiguration.Builder,
,ManagedSourceConfiguration> SdkBuilder<ManagedSourceConfiguration.Builder,
,ManagedSourceConfiguration> SdkPojo
- Enclosing class:
ManagedSourceConfiguration
@Mutable
@NotThreadSafe
public static interface ManagedSourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<ManagedSourceConfiguration.Builder,ManagedSourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionwebCrawlerConfiguration
(Consumer<WebCrawlerConfiguration.Builder> webCrawlerConfiguration) Configuration data for web crawler data source.webCrawlerConfiguration
(WebCrawlerConfiguration webCrawlerConfiguration) Configuration data for web crawler 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
-
webCrawlerConfiguration
ManagedSourceConfiguration.Builder webCrawlerConfiguration(WebCrawlerConfiguration webCrawlerConfiguration) Configuration data for web crawler data source.
- Parameters:
webCrawlerConfiguration
- Configuration data for web crawler data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webCrawlerConfiguration
default ManagedSourceConfiguration.Builder webCrawlerConfiguration(Consumer<WebCrawlerConfiguration.Builder> webCrawlerConfiguration) Configuration data for web crawler 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 towebCrawlerConfiguration(WebCrawlerConfiguration)
.- Parameters:
webCrawlerConfiguration
- 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:
-