Interface RetrieverConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RetrieverConfiguration.Builder,
,RetrieverConfiguration> SdkBuilder<RetrieverConfiguration.Builder,
,RetrieverConfiguration> SdkPojo
- Enclosing class:
RetrieverConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault RetrieverConfiguration.Builder
kendraIndexConfiguration
(Consumer<KendraIndexConfiguration.Builder> kendraIndexConfiguration) Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q Business application is configured.kendraIndexConfiguration
(KendraIndexConfiguration kendraIndexConfiguration) Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q Business application is configured.default RetrieverConfiguration.Builder
nativeIndexConfiguration
(Consumer<NativeIndexConfiguration.Builder> nativeIndexConfiguration) Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q Business application is configured.nativeIndexConfiguration
(NativeIndexConfiguration nativeIndexConfiguration) Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q Business application is configured.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, sdkFields
-
Method Details
-
nativeIndexConfiguration
RetrieverConfiguration.Builder nativeIndexConfiguration(NativeIndexConfiguration nativeIndexConfiguration) Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q Business application is configured.
- Parameters:
nativeIndexConfiguration
- Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q Business application is configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nativeIndexConfiguration
default RetrieverConfiguration.Builder nativeIndexConfiguration(Consumer<NativeIndexConfiguration.Builder> nativeIndexConfiguration) Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q Business application is configured.
This is a convenience method that creates an instance of theNativeIndexConfiguration.Builder
avoiding the need to create one manually viaNativeIndexConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonativeIndexConfiguration(NativeIndexConfiguration)
.- Parameters:
nativeIndexConfiguration
- a consumer that will call methods onNativeIndexConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kendraIndexConfiguration
RetrieverConfiguration.Builder kendraIndexConfiguration(KendraIndexConfiguration kendraIndexConfiguration) Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q Business application is configured.
- Parameters:
kendraIndexConfiguration
- Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q Business application is configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraIndexConfiguration
default RetrieverConfiguration.Builder kendraIndexConfiguration(Consumer<KendraIndexConfiguration.Builder> kendraIndexConfiguration) Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q Business application is configured.
This is a convenience method that creates an instance of theKendraIndexConfiguration.Builder
avoiding the need to create one manually viaKendraIndexConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokendraIndexConfiguration(KendraIndexConfiguration)
.- Parameters:
kendraIndexConfiguration
- a consumer that will call methods onKendraIndexConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-