Interface ScraperComponent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScraperComponent.Builder,,ScraperComponent> SdkBuilder<ScraperComponent.Builder,,ScraperComponent> SdkPojo
- Enclosing class:
ScraperComponent
@Mutable
@NotThreadSafe
public static interface ScraperComponent.Builder
extends SdkPojo, CopyableBuilder<ScraperComponent.Builder,ScraperComponent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ScraperComponent.Builderconfig(Consumer<ComponentConfig.Builder> config) The configuration settings for the scraper component.config(ComponentConfig config) The configuration settings for the scraper component.The type of the scraper component.type(ScraperComponentType type) The type of the scraper component.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, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of the scraper component.
- Parameters:
type- The type of the scraper component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the scraper component.
- Parameters:
type- The type of the scraper component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
config
The configuration settings for the scraper component.
- Parameters:
config- The configuration settings for the scraper component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
The configuration settings for the scraper component.
This is a convenience method that creates an instance of theComponentConfig.Builderavoiding the need to create one manually viaComponentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfig(ComponentConfig).- Parameters:
config- a consumer that will call methods onComponentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-