Interface UrlConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UrlConfiguration.Builder,
,UrlConfiguration> SdkBuilder<UrlConfiguration.Builder,
,UrlConfiguration> SdkPojo
- Enclosing class:
UrlConfiguration
@Mutable
@NotThreadSafe
public static interface UrlConfiguration.Builder
extends SdkPojo, CopyableBuilder<UrlConfiguration.Builder,UrlConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionseedUrls
(Collection<SeedUrl> seedUrls) List of URLs for crawling.seedUrls
(Consumer<SeedUrl.Builder>... seedUrls) List of URLs for crawling.List of URLs for crawling.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
-
seedUrls
List of URLs for crawling.
- Parameters:
seedUrls
- List of URLs for crawling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seedUrls
List of URLs for crawling.
- Parameters:
seedUrls
- List of URLs for crawling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seedUrls
List of URLs for crawling.
This is a convenience method that creates an instance of theSeedUrl.Builder
avoiding the need to create one manually viaSeedUrl.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseedUrls(List<SeedUrl>)
.- Parameters:
seedUrls
- a consumer that will call methods onSeedUrl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-