Class OverrideConfig.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.OverrideConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OverrideConfig>
- Enclosing interface:
OverrideConfig
@Stability(Stable)
public static final class OverrideConfig.Builder
extends Object
implements software.amazon.jsii.Builder<OverrideConfig>
A builder for
OverrideConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendToPrompt(String appendToPrompt) Sets the value ofOverrideConfig.getAppendToPrompt()build()Builds the configured instance.Sets the value ofOverrideConfig.getModel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appendToPrompt
Sets the value ofOverrideConfig.getAppendToPrompt()- Parameters:
appendToPrompt- The prompt that will be appended to the system prompt to define the model's memory consolidation/extraction strategy. This parameter is required. This configuration provides customization to how the model identifies and extracts relevant information for memory storage. You can use the default user prompt or create a customized one.- Returns:
this
-
model
Sets the value ofOverrideConfig.getModel()- Parameters:
model- The model to use for consolidation/extraction. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OverrideConfig>- Returns:
- a new instance of
OverrideConfig - Throws:
NullPointerException- if any required attribute was not provided
-