Class CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getAudio()audio(IResolvable audio) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getAudio()build()Builds the configured instance.dimensions(Number dimensions) embeddingDataType(String embeddingDataType) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getVideo()video(IResolvable video) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getVideo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audio
@Stability(Stable) public CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder audio(IResolvable audio) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getAudio()- Parameters:
audio- Configuration settings for processing audio content in multimodal knowledge bases.- Returns:
this
-
audio
@Stability(Stable) public CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder audio(List<? extends Object> audio) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getAudio()- Parameters:
audio- Configuration settings for processing audio content in multimodal knowledge bases.- Returns:
this
-
dimensions
@Stability(Stable) public CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder dimensions(Number dimensions) - Parameters:
dimensions- The dimensions details for the vector configuration used on the Bedrock embeddings model.- Returns:
this
-
embeddingDataType
@Stability(Stable) public CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder embeddingDataType(String embeddingDataType) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getEmbeddingDataType()- Parameters:
embeddingDataType- The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.- Returns:
this
-
video
@Stability(Stable) public CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder video(IResolvable video) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getVideo()- Parameters:
video- Configuration settings for processing video content in multimodal knowledge bases.- Returns:
this
-
video
@Stability(Stable) public CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.Builder video(List<? extends Object> video) Sets the value ofCfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty.getVideo()- Parameters:
video- Configuration settings for processing video content in multimodal knowledge bases.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-