Class CfnRetrieverPropsMixin.RetrieverConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnRetrieverPropsMixin.RetrieverConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRetrieverPropsMixin.RetrieverConfigurationProperty>
- Enclosing interface:
CfnRetrieverPropsMixin.RetrieverConfigurationProperty
@Stability(Stable)
public static final class CfnRetrieverPropsMixin.RetrieverConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRetrieverPropsMixin.RetrieverConfigurationProperty>
A builder for
CfnRetrieverPropsMixin.RetrieverConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kendraIndexConfiguration(CfnRetrieverPropsMixin.KendraIndexConfigurationProperty kendraIndexConfiguration) kendraIndexConfiguration(IResolvable kendraIndexConfiguration) nativeIndexConfiguration(CfnRetrieverPropsMixin.NativeIndexConfigurationProperty nativeIndexConfiguration) nativeIndexConfiguration(IResolvable nativeIndexConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kendraIndexConfiguration
@Stability(Stable) public CfnRetrieverPropsMixin.RetrieverConfigurationProperty.Builder kendraIndexConfiguration(IResolvable kendraIndexConfiguration) Sets the value ofCfnRetrieverPropsMixin.RetrieverConfigurationProperty.getKendraIndexConfiguration()- 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 CfnRetrieverPropsMixin.RetrieverConfigurationProperty.Builder kendraIndexConfiguration(CfnRetrieverPropsMixin.KendraIndexConfigurationProperty kendraIndexConfiguration) Sets the value ofCfnRetrieverPropsMixin.RetrieverConfigurationProperty.getKendraIndexConfiguration()- 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 CfnRetrieverPropsMixin.RetrieverConfigurationProperty.Builder nativeIndexConfiguration(IResolvable nativeIndexConfiguration) Sets the value ofCfnRetrieverPropsMixin.RetrieverConfigurationProperty.getNativeIndexConfiguration()- 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 CfnRetrieverPropsMixin.RetrieverConfigurationProperty.Builder nativeIndexConfiguration(CfnRetrieverPropsMixin.NativeIndexConfigurationProperty nativeIndexConfiguration) Sets the value ofCfnRetrieverPropsMixin.RetrieverConfigurationProperty.getNativeIndexConfiguration()- 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnRetrieverPropsMixin.RetrieverConfigurationProperty>- Returns:
- a new instance of
CfnRetrieverPropsMixin.RetrieverConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-