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