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