Class CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionTimeoutSeconds(Number executionTimeoutSeconds) generationContext(CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty generationContext) generationContext(IResolvable generationContext)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionTimeoutSeconds
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Builder executionTimeoutSeconds(Number executionTimeoutSeconds) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.getExecutionTimeoutSeconds()- Parameters:
executionTimeoutSeconds- The time after which query generation will time out.- Returns:
this
-
generationContext
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Builder generationContext(IResolvable generationContext) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.getGenerationContext()- Parameters:
generationContext- Specifies configurations for context to use during query generation.- Returns:
this
-
generationContext
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Builder generationContext(CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty generationContext) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.getGenerationContext()- Parameters:
generationContext- Specifies configurations for context to use during query generation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-