Interface UrlConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UrlConfiguration.Builder,,UrlConfiguration> SdkBuilder<UrlConfiguration.Builder,,UrlConfiguration> SdkPojo
- Enclosing class:
UrlConfiguration
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaSeedUrl.builder().When the
Consumercompletes,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:
-