Class CfnRetriever.RetrieverConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRetriever.RetrieverConfigurationProperty>
- Enclosing interface:
CfnRetriever.RetrieverConfigurationProperty
@Stability(Stable)
public static final class CfnRetriever.RetrieverConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRetriever.RetrieverConfigurationProperty>
A builder for
CfnRetriever.RetrieverConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.kendraIndexConfiguration
(IResolvable kendraIndexConfiguration) kendraIndexConfiguration
(CfnRetriever.KendraIndexConfigurationProperty kendraIndexConfiguration) nativeIndexConfiguration
(IResolvable nativeIndexConfiguration) nativeIndexConfiguration
(CfnRetriever.NativeIndexConfigurationProperty nativeIndexConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kendraIndexConfiguration
@Stability(Stable) public CfnRetriever.RetrieverConfigurationProperty.Builder kendraIndexConfiguration(IResolvable kendraIndexConfiguration) - Parameters:
kendraIndexConfiguration
- Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q Business application is configured.- Returns:
this
-
kendraIndexConfiguration
@Stability(Stable) public CfnRetriever.RetrieverConfigurationProperty.Builder kendraIndexConfiguration(CfnRetriever.KendraIndexConfigurationProperty kendraIndexConfiguration) - Parameters:
kendraIndexConfiguration
- Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q Business application is configured.- Returns:
this
-
nativeIndexConfiguration
@Stability(Stable) public CfnRetriever.RetrieverConfigurationProperty.Builder nativeIndexConfiguration(IResolvable nativeIndexConfiguration) - Parameters:
nativeIndexConfiguration
- Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q Business application is configured.- Returns:
this
-
nativeIndexConfiguration
@Stability(Stable) public CfnRetriever.RetrieverConfigurationProperty.Builder nativeIndexConfiguration(CfnRetriever.NativeIndexConfigurationProperty nativeIndexConfiguration) - Parameters:
nativeIndexConfiguration
- Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q Business application is configured.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRetriever.RetrieverConfigurationProperty>
- Returns:
- a new instance of
CfnRetriever.RetrieverConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-