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.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
-
semanticOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder semanticOverride(IResolvable semanticOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSemanticOverride()
- Parameters:
semanticOverride
- the value to be set.- Returns:
this
-
semanticOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder semanticOverride(CfnMemory.SemanticOverrideProperty semanticOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSemanticOverride()
- Parameters:
semanticOverride
- the value to be set.- Returns:
this
-
summaryOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder summaryOverride(IResolvable summaryOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSummaryOverride()
- Parameters:
summaryOverride
- the value to be set.- Returns:
this
-
summaryOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder summaryOverride(CfnMemory.SummaryOverrideProperty summaryOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getSummaryOverride()
- Parameters:
summaryOverride
- the value to be set.- Returns:
this
-
userPreferenceOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder userPreferenceOverride(IResolvable userPreferenceOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getUserPreferenceOverride()
- Parameters:
userPreferenceOverride
- the value to be set.- Returns:
this
-
userPreferenceOverride
@Stability(Stable) public CfnMemory.CustomConfigurationInputProperty.Builder userPreferenceOverride(CfnMemory.UserPreferenceOverrideProperty userPreferenceOverride) Sets the value ofCfnMemory.CustomConfigurationInputProperty.getUserPreferenceOverride()
- Parameters:
userPreferenceOverride
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMemory.CustomConfigurationInputProperty>
- Returns:
- a new instance of
CfnMemory.CustomConfigurationInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-