Class CfnMemory.LlmExtractionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.LlmExtractionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.LlmExtractionConfigProperty>
- Enclosing interface:
CfnMemory.LlmExtractionConfigProperty
@Stability(Stable)
public static final class CfnMemory.LlmExtractionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.LlmExtractionConfigProperty>
A builder for
CfnMemory.LlmExtractionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.definition(String definition) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getDefinition()llmExtractionInstruction(String llmExtractionInstruction) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getLlmExtractionInstruction()validation(IResolvable validation) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getValidation()validation(CfnMemory.ValidationProperty validation) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getValidation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
@Stability(Stable) public CfnMemory.LlmExtractionConfigProperty.Builder definition(String definition) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getDefinition()- Parameters:
definition- Definition for the metadata schema entry. This parameter is required.- Returns:
this
-
llmExtractionInstruction
@Stability(Stable) public CfnMemory.LlmExtractionConfigProperty.Builder llmExtractionInstruction(String llmExtractionInstruction) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getLlmExtractionInstruction()- Parameters:
llmExtractionInstruction- LLM extraction instruction.- Returns:
this
-
validation
@Stability(Stable) public CfnMemory.LlmExtractionConfigProperty.Builder validation(IResolvable validation) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getValidation()- Parameters:
validation- the value to be set.- Returns:
this
-
validation
@Stability(Stable) public CfnMemory.LlmExtractionConfigProperty.Builder validation(CfnMemory.ValidationProperty validation) Sets the value ofCfnMemory.LlmExtractionConfigProperty.getValidation()- Parameters:
validation- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.LlmExtractionConfigProperty>- Returns:
- a new instance of
CfnMemory.LlmExtractionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-