Class CfnKnowledgeBase.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase>
- Enclosing class:
CfnKnowledgeBase
@Stability(Stable)
public static final class CfnKnowledgeBase.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase>
A fluent builder for
CfnKnowledgeBase
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnKnowledgeBase.Builder
description
(String description) The description of the knowledge base.knowledgeBaseConfiguration
(IResolvable knowledgeBaseConfiguration) Contains details about the embeddings configuration of the knowledge base.knowledgeBaseConfiguration
(CfnKnowledgeBase.KnowledgeBaseConfigurationProperty 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
(IResolvable storageConfiguration) Contains details about the storage configuration of the knowledge base.storageConfiguration
(CfnKnowledgeBase.StorageConfigurationProperty 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 CfnKnowledgeBase.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnKnowledgeBase.Builder
.
-
knowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBase.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 CfnKnowledgeBase.Builder knowledgeBaseConfiguration(CfnKnowledgeBase.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 CfnKnowledgeBase.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 CfnKnowledgeBase.Builder storageConfiguration(CfnKnowledgeBase.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:
-
description
The description of the knowledge base.- Parameters:
description
- The description 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase>
- Returns:
- a newly built instance of
CfnKnowledgeBase
.
-