Interface AdaptersConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AdaptersConfig.Builder,
,AdaptersConfig> SdkBuilder<AdaptersConfig.Builder,
,AdaptersConfig> SdkPojo
- Enclosing class:
AdaptersConfig
@Mutable
@NotThreadSafe
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
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
-
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.Builder
avoiding the need to create one manually viaAdapter.builder()
.When the
Consumer
completes,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:
-