Class CfnMemory.CustomConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.CustomConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.CustomConfigurationInputProperty>
- Enclosing interface:
CfnMemory.CustomConfigurationInputProperty
@Stability(Stable)
public static final class CfnMemory.CustomConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.CustomConfigurationInputProperty>
A builder for
CfnMemory.CustomConfigurationInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.selfManagedConfiguration(IResolvable selfManagedConfiguration) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSelfManagedConfiguration()selfManagedConfiguration(CfnMemory.SelfManagedConfigurationProperty selfManagedConfiguration) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSelfManagedConfiguration()semanticOverride(IResolvable semanticOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSemanticOverride()semanticOverride(CfnMemory.SemanticOverrideProperty semanticOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSemanticOverride()summaryOverride(IResolvable summaryOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSummaryOverride()summaryOverride(CfnMemory.SummaryOverrideProperty summaryOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSummaryOverride()userPreferenceOverride(IResolvable userPreferenceOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getUserPreferenceOverride()userPreferenceOverride(CfnMemory.UserPreferenceOverrideProperty userPreferenceOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getUserPreferenceOverride()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
selfManagedConfiguration
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder selfManagedConfiguration(IResolvable selfManagedConfiguration) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSelfManagedConfiguration()- Parameters:
selfManagedConfiguration- The custom configuration input.- Returns:
this
-
selfManagedConfiguration
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder selfManagedConfiguration(CfnMemory.SelfManagedConfigurationProperty selfManagedConfiguration) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSelfManagedConfiguration()- Parameters:
selfManagedConfiguration- The custom configuration input.- Returns:
this
-
semanticOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder semanticOverride(IResolvable semanticOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSemanticOverride()- Parameters:
semanticOverride- The memory override configuration.- Returns:
this
-
semanticOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder semanticOverride(CfnMemory.SemanticOverrideProperty semanticOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSemanticOverride()- Parameters:
semanticOverride- The memory override configuration.- Returns:
this
-
summaryOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder summaryOverride(IResolvable summaryOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSummaryOverride()- Parameters:
summaryOverride- The memory configuration override.- Returns:
this
-
summaryOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder summaryOverride(CfnMemory.SummaryOverrideProperty summaryOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSummaryOverride()- Parameters:
summaryOverride- The memory configuration override.- Returns:
this
-
userPreferenceOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder userPreferenceOverride(IResolvable userPreferenceOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getUserPreferenceOverride()- Parameters:
userPreferenceOverride- The memory user preference override.- Returns:
this
-
userPreferenceOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder userPreferenceOverride(CfnMemory.UserPreferenceOverrideProperty userPreferenceOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getUserPreferenceOverride()- Parameters:
userPreferenceOverride- The memory user preference override.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.CustomConfigurationInputProperty>- Returns:
- a new instance of
CfnMemory.CustomConfigurationInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-