Class CfnKnowledgeBasePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin>
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin>
A fluent builder for
CfnKnowledgeBasePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the knowledge base associated with the inline agent.knowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty knowledgeBaseConfiguration) Contains details about the embeddings configuration of the knowledge base.knowledgeBaseConfiguration(IResolvable knowledgeBaseConfiguration) Contains details about the embeddings configuration of the knowledge base.The name of the knowledge base.The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.storageConfiguration(CfnKnowledgeBasePropsMixin.StorageConfigurationProperty storageConfiguration) Contains details about the storage configuration of the knowledge base.storageConfiguration(IResolvable storageConfiguration) Contains details about the storage configuration of the knowledge base.Metadata that you can assign to a resource as key-value pairs.
-
Method Details
-
create
@Stability(Stable) public static CfnKnowledgeBasePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.Builder.
-
description
The description of the knowledge base associated with the inline agent.- Parameters:
description- The description of the knowledge base associated with the inline agent. This parameter is required.- Returns:
this- See Also:
-
knowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder knowledgeBaseConfiguration(IResolvable knowledgeBaseConfiguration) Contains details about the embeddings configuration of the knowledge base.- Parameters:
knowledgeBaseConfiguration- Contains details about the embeddings configuration of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
knowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder knowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty knowledgeBaseConfiguration) Contains details about the embeddings configuration of the knowledge base.- Parameters:
knowledgeBaseConfiguration- Contains details about the embeddings configuration of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
name
The name of the knowledge base.- Parameters:
name- The name of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. This parameter is required.- Returns:
this- See Also:
-
storageConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder storageConfiguration(IResolvable storageConfiguration) Contains details about the storage configuration of the knowledge base.- Parameters:
storageConfiguration- Contains details about the storage configuration of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
storageConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder storageConfiguration(CfnKnowledgeBasePropsMixin.StorageConfigurationProperty storageConfiguration) Contains details about the storage configuration of the knowledge base.- Parameters:
storageConfiguration- Contains details about the storage configuration of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.- Parameters:
tags- Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin>- Returns:
- a newly built instance of
CfnKnowledgeBasePropsMixin.
-