Interface ManagedKnowledgeBaseConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedKnowledgeBaseConfiguration.Builder,,ManagedKnowledgeBaseConfiguration> SdkBuilder<ManagedKnowledgeBaseConfiguration.Builder,,ManagedKnowledgeBaseConfiguration> SdkPojo
- Enclosing class:
ManagedKnowledgeBaseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionembeddingModelArn(String embeddingModelArn) The ARN for the embeddings model.embeddingModelConfiguration(Consumer<EmbeddingModelConfiguration.Builder> embeddingModelConfiguration) The configuration details for the embeddings model.embeddingModelConfiguration(EmbeddingModelConfiguration embeddingModelConfiguration) The configuration details for the embeddings model.embeddingModelType(String embeddingModelType) Choose CUSTOM to provide your own Bedrock embedding model ARN.embeddingModelType(EmbeddingModelType embeddingModelType) Choose CUSTOM to provide your own Bedrock embedding model ARN.serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) Contains the configuration for server-side encryption for your managed knowledge base.serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) Contains the configuration for server-side encryption for your managed knowledge base.supplementalDataStorageConfiguration(Consumer<SupplementalDataStorageConfiguration.Builder> supplementalDataStorageConfiguration) Use this object to specify the Amazon S3 location that the knowledge base uses to process and ingest multimodal content.supplementalDataStorageConfiguration(SupplementalDataStorageConfiguration supplementalDataStorageConfiguration) Use this object to specify the Amazon S3 location that the knowledge base uses to process and ingest multimodal content.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, sdkFieldNameToField, sdkFields
-
Method Details
-
embeddingModelType
Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose MANAGED to use a service-managed embedding model.
- Parameters:
embeddingModelType- Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose MANAGED to use a service-managed embedding model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
embeddingModelType
Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose MANAGED to use a service-managed embedding model.
- Parameters:
embeddingModelType- Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose MANAGED to use a service-managed embedding model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
embeddingModelArn
The ARN for the embeddings model.
- Parameters:
embeddingModelArn- The ARN for the embeddings model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
embeddingModelConfiguration
ManagedKnowledgeBaseConfiguration.Builder embeddingModelConfiguration(EmbeddingModelConfiguration embeddingModelConfiguration) The configuration details for the embeddings model. Not required when choosing the MANAGED embeddingModelType.
- Parameters:
embeddingModelConfiguration- The configuration details for the embeddings model. Not required when choosing the MANAGED embeddingModelType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
embeddingModelConfiguration
default ManagedKnowledgeBaseConfiguration.Builder embeddingModelConfiguration(Consumer<EmbeddingModelConfiguration.Builder> embeddingModelConfiguration) The configuration details for the embeddings model. Not required when choosing the MANAGED embeddingModelType.
This is a convenience method that creates an instance of theEmbeddingModelConfiguration.Builderavoiding the need to create one manually viaEmbeddingModelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toembeddingModelConfiguration(EmbeddingModelConfiguration).- Parameters:
embeddingModelConfiguration- a consumer that will call methods onEmbeddingModelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverSideEncryptionConfiguration
ManagedKnowledgeBaseConfiguration.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) Contains the configuration for server-side encryption for your managed knowledge base.
- Parameters:
serverSideEncryptionConfiguration- Contains the configuration for server-side encryption for your managed knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
default ManagedKnowledgeBaseConfiguration.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) Contains the configuration for server-side encryption for your managed knowledge base.
This is a convenience method that creates an instance of theServerSideEncryptionConfiguration.Builderavoiding the need to create one manually viaServerSideEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration).- Parameters:
serverSideEncryptionConfiguration- a consumer that will call methods onServerSideEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supplementalDataStorageConfiguration
ManagedKnowledgeBaseConfiguration.Builder supplementalDataStorageConfiguration(SupplementalDataStorageConfiguration supplementalDataStorageConfiguration) Use this object to specify the Amazon S3 location that the knowledge base uses to process and ingest multimodal content. This field is required when you use a native multimodal embedding model.
- Parameters:
supplementalDataStorageConfiguration- Use this object to specify the Amazon S3 location that the knowledge base uses to process and ingest multimodal content. This field is required when you use a native multimodal embedding model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supplementalDataStorageConfiguration
default ManagedKnowledgeBaseConfiguration.Builder supplementalDataStorageConfiguration(Consumer<SupplementalDataStorageConfiguration.Builder> supplementalDataStorageConfiguration) Use this object to specify the Amazon S3 location that the knowledge base uses to process and ingest multimodal content. This field is required when you use a native multimodal embedding model.
This is a convenience method that creates an instance of theSupplementalDataStorageConfiguration.Builderavoiding the need to create one manually viaSupplementalDataStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupplementalDataStorageConfiguration(SupplementalDataStorageConfiguration).- Parameters:
supplementalDataStorageConfiguration- a consumer that will call methods onSupplementalDataStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-