Class CfnMemory.SelfManagedConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.SelfManagedConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.SelfManagedConfigurationProperty>
- Enclosing interface:
CfnMemory.SelfManagedConfigurationProperty
@Stability(Stable)
public static final class CfnMemory.SelfManagedConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.SelfManagedConfigurationProperty>
A builder for
CfnMemory.SelfManagedConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.historicalContextWindowSize(Number historicalContextWindowSize) invocationConfiguration(IResolvable invocationConfiguration) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getInvocationConfiguration()invocationConfiguration(CfnMemory.InvocationConfigurationInputProperty invocationConfiguration) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getInvocationConfiguration()triggerConditions(List<? extends Object> triggerConditions) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getTriggerConditions()triggerConditions(IResolvable triggerConditions) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getTriggerConditions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
historicalContextWindowSize
@Stability(Stable) public CfnMemory.SelfManagedConfigurationProperty.Builder historicalContextWindowSize(Number historicalContextWindowSize) - Parameters:
historicalContextWindowSize- The memory configuration for self managed.- Returns:
this
-
invocationConfiguration
@Stability(Stable) public CfnMemory.SelfManagedConfigurationProperty.Builder invocationConfiguration(IResolvable invocationConfiguration) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getInvocationConfiguration()- Parameters:
invocationConfiguration- The self managed configuration.- Returns:
this
-
invocationConfiguration
@Stability(Stable) public CfnMemory.SelfManagedConfigurationProperty.Builder invocationConfiguration(CfnMemory.InvocationConfigurationInputProperty invocationConfiguration) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getInvocationConfiguration()- Parameters:
invocationConfiguration- The self managed configuration.- Returns:
this
-
triggerConditions
@Stability(Stable) public CfnMemory.SelfManagedConfigurationProperty.Builder triggerConditions(IResolvable triggerConditions) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getTriggerConditions()- Parameters:
triggerConditions- the value to be set.- Returns:
this
-
triggerConditions
@Stability(Stable) public CfnMemory.SelfManagedConfigurationProperty.Builder triggerConditions(List<? extends Object> triggerConditions) Sets the value ofCfnMemory.SelfManagedConfigurationProperty.getTriggerConditions()- Parameters:
triggerConditions- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.SelfManagedConfigurationProperty>- Returns:
- a new instance of
CfnMemory.SelfManagedConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-