Class CfnKnowledgeBase.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.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.Builderdescription(String description) The description.knowledgeBaseType(String knowledgeBaseType) The type of knowledge base.The name of the knowledge base.renderingConfiguration(IResolvable renderingConfiguration) Information about how to render the content.renderingConfiguration(CfnKnowledgeBase.RenderingConfigurationProperty renderingConfiguration) Information about how to render the content.serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) The KMS key used for encryption.serverSideEncryptionConfiguration(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) The KMS key used for encryption.sourceConfiguration(IResolvable sourceConfiguration) The source of the knowledge base content.sourceConfiguration(CfnKnowledgeBase.SourceConfigurationProperty sourceConfiguration) The source of the knowledge base content.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnKnowledgeBase.Builder.
-
knowledgeBaseType
The type of knowledge base.Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
- Parameters:
knowledgeBaseType- The type of knowledge base. This parameter is required.- Returns:
this
-
name
The name of the knowledge base.- Parameters:
name- The name of the knowledge base. This parameter is required.- Returns:
this
-
description
The description.- Parameters:
description- The description. This parameter is required.- Returns:
this
-
renderingConfiguration
@Stability(Stable) public CfnKnowledgeBase.Builder renderingConfiguration(IResolvable renderingConfiguration) Information about how to render the content.- Parameters:
renderingConfiguration- Information about how to render the content. This parameter is required.- Returns:
this
-
renderingConfiguration
@Stability(Stable) public CfnKnowledgeBase.Builder renderingConfiguration(CfnKnowledgeBase.RenderingConfigurationProperty renderingConfiguration) Information about how to render the content.- Parameters:
renderingConfiguration- Information about how to render the content. This parameter is required.- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnKnowledgeBase.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) The KMS key used for encryption.- Parameters:
serverSideEncryptionConfiguration- The KMS key used for encryption. This parameter is required.- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnKnowledgeBase.Builder serverSideEncryptionConfiguration(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) The KMS key used for encryption.- Parameters:
serverSideEncryptionConfiguration- The KMS key used for encryption. This parameter is required.- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnKnowledgeBase.Builder sourceConfiguration(IResolvable sourceConfiguration) The source of the knowledge base content.Only set this argument for EXTERNAL knowledge bases.
- Parameters:
sourceConfiguration- The source of the knowledge base content. This parameter is required.- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnKnowledgeBase.Builder sourceConfiguration(CfnKnowledgeBase.SourceConfigurationProperty sourceConfiguration) The source of the knowledge base content.Only set this argument for EXTERNAL knowledge bases.
- Parameters:
sourceConfiguration- The source of the knowledge base content. This parameter is required.- Returns:
this
-
tags
The tags used to organize, track, or control access for this resource.- Parameters:
tags- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase>- Returns:
- a newly built instance of
CfnKnowledgeBase.
-