Class CfnKnowledgeBase.RenderingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.RenderingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.RenderingConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBase.RenderingConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.RenderingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.RenderingConfigurationProperty>
A builder for
CfnKnowledgeBase.RenderingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.templateUri(String templateUri) Sets the value ofCfnKnowledgeBase.RenderingConfigurationProperty.getTemplateUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
templateUri
@Stability(Stable) public CfnKnowledgeBase.RenderingConfigurationProperty.Builder templateUri(String templateUri) Sets the value ofCfnKnowledgeBase.RenderingConfigurationProperty.getTemplateUri()- Parameters:
templateUri- A URI template containing exactly one variable in${variableName}format. This can only be set forEXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted - ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive - Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent .
- Salesforce:
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase.RenderingConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBase.RenderingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-