Interface EmbeddingModelConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EmbeddingModelConfiguration.Builder,,EmbeddingModelConfiguration> SdkBuilder<EmbeddingModelConfiguration.Builder,,EmbeddingModelConfiguration> SdkPojo
- Enclosing class:
EmbeddingModelConfiguration
public static interface EmbeddingModelConfiguration.Builder
extends SdkPojo, CopyableBuilder<EmbeddingModelConfiguration.Builder,EmbeddingModelConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbedrockEmbeddingModelConfiguration(Consumer<BedrockEmbeddingModelConfiguration.Builder> bedrockEmbeddingModelConfiguration) The vector configuration details on the Bedrock embeddings model.bedrockEmbeddingModelConfiguration(BedrockEmbeddingModelConfiguration bedrockEmbeddingModelConfiguration) The vector configuration details on the Bedrock embeddings model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bedrockEmbeddingModelConfiguration
EmbeddingModelConfiguration.Builder bedrockEmbeddingModelConfiguration(BedrockEmbeddingModelConfiguration bedrockEmbeddingModelConfiguration) The vector configuration details on the Bedrock embeddings model.
- Parameters:
bedrockEmbeddingModelConfiguration- The vector configuration details on the Bedrock embeddings model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockEmbeddingModelConfiguration
default EmbeddingModelConfiguration.Builder bedrockEmbeddingModelConfiguration(Consumer<BedrockEmbeddingModelConfiguration.Builder> bedrockEmbeddingModelConfiguration) The vector configuration details on the Bedrock embeddings model.
This is a convenience method that creates an instance of theBedrockEmbeddingModelConfiguration.Builderavoiding the need to create one manually viaBedrockEmbeddingModelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockEmbeddingModelConfiguration(BedrockEmbeddingModelConfiguration).- Parameters:
bedrockEmbeddingModelConfiguration- a consumer that will call methods onBedrockEmbeddingModelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-