Class CfnMemory.MetadataSchemaEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.MetadataSchemaEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.MetadataSchemaEntryProperty>
- Enclosing interface:
CfnMemory.MetadataSchemaEntryProperty
@Stability(Stable)
public static final class CfnMemory.MetadataSchemaEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.MetadataSchemaEntryProperty>
A builder for
CfnMemory.MetadataSchemaEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.extractionConfig(IResolvable extractionConfig) Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getExtractionConfig()extractionConfig(CfnMemory.ExtractionConfigProperty extractionConfig) Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getExtractionConfig()Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getKey()Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getKey()- Parameters:
key- Key name for metadata fields. This parameter is required.- Returns:
this
-
extractionConfig
@Stability(Stable) public CfnMemory.MetadataSchemaEntryProperty.Builder extractionConfig(IResolvable extractionConfig) Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getExtractionConfig()- Parameters:
extractionConfig- the value to be set.- Returns:
this
-
extractionConfig
@Stability(Stable) public CfnMemory.MetadataSchemaEntryProperty.Builder extractionConfig(CfnMemory.ExtractionConfigProperty extractionConfig) Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getExtractionConfig()- Parameters:
extractionConfig- the value to be set.- Returns:
this
-
type
Sets the value ofCfnMemory.MetadataSchemaEntryProperty.getType()- Parameters:
type- Supported data types for metadata values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.MetadataSchemaEntryProperty>- Returns:
- a new instance of
CfnMemory.MetadataSchemaEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-