Interface AdaptersConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdaptersConfig.Builder,,AdaptersConfig> SdkBuilder<AdaptersConfig.Builder,,AdaptersConfig> SdkPojo
- Enclosing class:
AdaptersConfig
public static interface AdaptersConfig.Builder
extends SdkPojo, CopyableBuilder<AdaptersConfig.Builder,AdaptersConfig>
-
Method Summary
Modifier and TypeMethodDescriptionadapters(Collection<Adapter> adapters) A list of adapters to be used when analyzing the specified document.adapters(Consumer<Adapter.Builder>... adapters) A list of adapters to be used when analyzing the specified document.A list of adapters to be used when analyzing the specified document.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
-
adapters
A list of adapters to be used when analyzing the specified document.
- Parameters:
adapters- A list of adapters to be used when analyzing the specified document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adapters
A list of adapters to be used when analyzing the specified document.
- Parameters:
adapters- A list of adapters to be used when analyzing the specified document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adapters
A list of adapters to be used when analyzing the specified document.
This is a convenience method that creates an instance of theAdapter.Builderavoiding the need to create one manually viaAdapter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadapters(List<Adapter>).- Parameters:
adapters- a consumer that will call methods onAdapter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-