Class CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty>
- Enclosing interface:
CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty
@Stability(Stable)
public static final class CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendToPrompt(String appendToPrompt) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appendToPrompt
@Stability(Stable) public CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty.Builder appendToPrompt(String appendToPrompt) Sets the value ofCfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty.getAppendToPrompt()- Parameters:
appendToPrompt- The extraction configuration. This parameter is required.- Returns:
this
-
modelId
@Stability(Stable) public CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty.Builder modelId(String modelId) - Parameters:
modelId- The memory override for the model ID. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty>- Returns:
- a new instance of
CfnMemory.UserPreferenceOverrideExtractionConfigurationInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-