Class CfnKnowledgeBaseMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnKnowledgeBaseMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBaseMixinProps>
- Enclosing interface:
CfnKnowledgeBaseMixinProps
@Stability(Stable)
public static final class CfnKnowledgeBaseMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBaseMixinProps>
A builder for
CfnKnowledgeBaseMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnKnowledgeBaseMixinProps.getDescription()knowledgeBaseType(String knowledgeBaseType) Sets the value ofCfnKnowledgeBaseMixinProps.getKnowledgeBaseType()Sets the value ofCfnKnowledgeBaseMixinProps.getName()renderingConfiguration(CfnKnowledgeBasePropsMixin.RenderingConfigurationProperty renderingConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getRenderingConfiguration()renderingConfiguration(IResolvable renderingConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getRenderingConfiguration()serverSideEncryptionConfiguration(CfnKnowledgeBasePropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getServerSideEncryptionConfiguration()serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getServerSideEncryptionConfiguration()sourceConfiguration(CfnKnowledgeBasePropsMixin.SourceConfigurationProperty sourceConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getSourceConfiguration()sourceConfiguration(IResolvable sourceConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getSourceConfiguration()Sets the value ofCfnKnowledgeBaseMixinProps.getTags()vectorIngestionConfiguration(CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getVectorIngestionConfiguration()vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getVectorIngestionConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnKnowledgeBaseMixinProps.getDescription()- Parameters:
description- The description.- Returns:
this
-
knowledgeBaseType
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder knowledgeBaseType(String knowledgeBaseType) Sets the value ofCfnKnowledgeBaseMixinProps.getKnowledgeBaseType()- Parameters:
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.- Returns:
this
-
name
Sets the value ofCfnKnowledgeBaseMixinProps.getName()- Parameters:
name- The name of the knowledge base.- Returns:
this
-
renderingConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder renderingConfiguration(IResolvable renderingConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getRenderingConfiguration()- Parameters:
renderingConfiguration- Information about how to render the content.- Returns:
this
-
renderingConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder renderingConfiguration(CfnKnowledgeBasePropsMixin.RenderingConfigurationProperty renderingConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getRenderingConfiguration()- Parameters:
renderingConfiguration- Information about how to render the content.- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getServerSideEncryptionConfiguration()- Parameters:
serverSideEncryptionConfiguration- This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance . For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder serverSideEncryptionConfiguration(CfnKnowledgeBasePropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getServerSideEncryptionConfiguration()- Parameters:
serverSideEncryptionConfiguration- This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance . For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder sourceConfiguration(IResolvable sourceConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getSourceConfiguration()- Parameters:
sourceConfiguration- The source of the knowledge base content. Only set this argument for EXTERNAL or Managed knowledge bases.- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder sourceConfiguration(CfnKnowledgeBasePropsMixin.SourceConfigurationProperty sourceConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getSourceConfiguration()- Parameters:
sourceConfiguration- The source of the knowledge base content. Only set this argument for EXTERNAL or Managed knowledge bases.- Returns:
this
-
tags
Sets the value ofCfnKnowledgeBaseMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
this
-
vectorIngestionConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getVectorIngestionConfiguration()- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in a data source.- Returns:
this
-
vectorIngestionConfiguration
@Stability(Stable) public CfnKnowledgeBaseMixinProps.Builder vectorIngestionConfiguration(CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Sets the value ofCfnKnowledgeBaseMixinProps.getVectorIngestionConfiguration()- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in a data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBaseMixinProps>- Returns:
- a new instance of
CfnKnowledgeBaseMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-