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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UrlConfiguration.BuilderseedUrls(Collection<SeedUrl> seedUrls)List of URLs for crawling.UrlConfiguration.BuilderseedUrls(Consumer<SeedUrl.Builder>... seedUrls)List of URLs for crawling.UrlConfiguration.BuilderseedUrls(SeedUrl... seedUrls)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 Detail
-
seedUrls
UrlConfiguration.Builder seedUrls(Collection<SeedUrl> 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
UrlConfiguration.Builder seedUrls(SeedUrl... 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
UrlConfiguration.Builder seedUrls(Consumer<SeedUrl.Builder>... 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 to#seedUrls(List.) - 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:
#seedUrls(java.util.Collection)
-
-