Class CfnMemory.EpisodicMemoryStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.EpisodicMemoryStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.EpisodicMemoryStrategyProperty>
- Enclosing interface:
CfnMemory.EpisodicMemoryStrategyProperty
@Stability(Stable)
public static final class CfnMemory.EpisodicMemoryStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.EpisodicMemoryStrategyProperty>
A builder for
CfnMemory.EpisodicMemoryStrategyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getCreatedAt()description(String description) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getDescription()Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getName()namespaces(List<String> namespaces) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getNamespaces()reflectionConfiguration(IResolvable reflectionConfiguration) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getReflectionConfiguration()reflectionConfiguration(CfnMemory.EpisodicReflectionConfigurationInputProperty reflectionConfiguration) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getReflectionConfiguration()Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getStatus()strategyId(String strategyId) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getStrategyId()Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getType()Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getUpdatedAt()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getName()- Parameters:
name- Name of the Memory resource. This parameter is required.- Returns:
this
-
createdAt
@Stability(Stable) public CfnMemory.EpisodicMemoryStrategyProperty.Builder createdAt(String createdAt) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getCreatedAt()- Parameters:
createdAt- Creation timestamp of the memory strategy.- Returns:
this
-
description
@Stability(Stable) public CfnMemory.EpisodicMemoryStrategyProperty.Builder description(String description) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getDescription()- Parameters:
description- Description of the Memory resource.- Returns:
this
-
namespaces
@Stability(Stable) public CfnMemory.EpisodicMemoryStrategyProperty.Builder namespaces(List<String> namespaces) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getNamespaces()- Parameters:
namespaces- List of namespaces for memory strategy.- Returns:
this
-
reflectionConfiguration
@Stability(Stable) public CfnMemory.EpisodicMemoryStrategyProperty.Builder reflectionConfiguration(IResolvable reflectionConfiguration) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getReflectionConfiguration()- Parameters:
reflectionConfiguration- the value to be set.- Returns:
this
-
reflectionConfiguration
@Stability(Stable) public CfnMemory.EpisodicMemoryStrategyProperty.Builder reflectionConfiguration(CfnMemory.EpisodicReflectionConfigurationInputProperty reflectionConfiguration) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getReflectionConfiguration()- Parameters:
reflectionConfiguration- the value to be set.- Returns:
this
-
status
Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getStatus()- Parameters:
status- Status of the memory strategy.- Returns:
this
-
strategyId
@Stability(Stable) public CfnMemory.EpisodicMemoryStrategyProperty.Builder strategyId(String strategyId) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getStrategyId()- Parameters:
strategyId- Unique identifier for the memory strategy.- Returns:
this
-
type
Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getType()- Parameters:
type- Type of memory strategy.- Returns:
this
-
updatedAt
@Stability(Stable) public CfnMemory.EpisodicMemoryStrategyProperty.Builder updatedAt(String updatedAt) Sets the value ofCfnMemory.EpisodicMemoryStrategyProperty.getUpdatedAt()- Parameters:
updatedAt- Last update timestamp of the memory strategy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.EpisodicMemoryStrategyProperty>- Returns:
- a new instance of
CfnMemory.EpisodicMemoryStrategyProperty - Throws:
NullPointerException- if any required attribute was not provided
-