Class CfnMemory.SemanticOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.SemanticOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.SemanticOverrideProperty>
- Enclosing interface:
CfnMemory.SemanticOverrideProperty
@Stability(Stable)
public static final class CfnMemory.SemanticOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.SemanticOverrideProperty>
A builder for
CfnMemory.SemanticOverrideProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.consolidation
(IResolvable consolidation) Sets the value ofCfnMemory.SemanticOverrideProperty.getConsolidation()
Sets the value ofCfnMemory.SemanticOverrideProperty.getConsolidation()
extraction
(IResolvable extraction) Sets the value ofCfnMemory.SemanticOverrideProperty.getExtraction()
Sets the value ofCfnMemory.SemanticOverrideProperty.getExtraction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
consolidation
@Stability(Stable) public CfnMemory.SemanticOverrideProperty.Builder consolidation(IResolvable consolidation) Sets the value ofCfnMemory.SemanticOverrideProperty.getConsolidation()
- Parameters:
consolidation
- the value to be set.- Returns:
this
-
consolidation
@Stability(Stable) public CfnMemory.SemanticOverrideProperty.Builder consolidation(CfnMemory.SemanticOverrideConsolidationConfigurationInputProperty consolidation) Sets the value ofCfnMemory.SemanticOverrideProperty.getConsolidation()
- Parameters:
consolidation
- the value to be set.- Returns:
this
-
extraction
@Stability(Stable) public CfnMemory.SemanticOverrideProperty.Builder extraction(IResolvable extraction) Sets the value ofCfnMemory.SemanticOverrideProperty.getExtraction()
- Parameters:
extraction
- the value to be set.- Returns:
this
-
extraction
@Stability(Stable) public CfnMemory.SemanticOverrideProperty.Builder extraction(CfnMemory.SemanticOverrideExtractionConfigurationInputProperty extraction) Sets the value ofCfnMemory.SemanticOverrideProperty.getExtraction()
- Parameters:
extraction
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMemory.SemanticOverrideProperty>
- Returns:
- a new instance of
CfnMemory.SemanticOverrideProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-