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