Class CfnMessageTemplatePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnMessageTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMessageTemplatePropsMixin>
- Enclosing class:
CfnMessageTemplatePropsMixin
@Stability(Stable)
public static final class CfnMessageTemplatePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMessageTemplatePropsMixin>
A fluent builder for
CfnMessageTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()channelSubtype(String channelSubtype) The channel subtype this message template applies to.The content of the message template.content(IResolvable content) The content of the message template.create()create(CfnPropertyMixinOptions options) defaultAttributes(CfnMessageTemplatePropsMixin.MessageTemplateAttributesProperty defaultAttributes) An object that specifies the default values to use for variables in the message template.defaultAttributes(IResolvable defaultAttributes) An object that specifies the default values to use for variables in the message template.description(String description) The description of the message template.groupingConfiguration(CfnMessageTemplatePropsMixin.GroupingConfigurationProperty groupingConfiguration) The configuration information of the external data source.groupingConfiguration(IResolvable groupingConfiguration) The configuration information of the external data source.knowledgeBaseArn(String knowledgeBaseArn) The Amazon Resource Name (ARN) of the knowledge base.The language code value for the language in which the quick response is written.messageTemplateAttachments(List<? extends Object> messageTemplateAttachments) List of message template attachments.messageTemplateAttachments(IResolvable messageTemplateAttachments) List of message template attachments.The name of the message template.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnMessageTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMessageTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMessageTemplatePropsMixin.Builder.
-
channelSubtype
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder channelSubtype(String channelSubtype) The channel subtype this message template applies to.- Parameters:
channelSubtype- The channel subtype this message template applies to. This parameter is required.- Returns:
this- See Also:
-
content
The content of the message template.- Parameters:
content- The content of the message template. This parameter is required.- Returns:
this- See Also:
-
content
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder content(CfnMessageTemplatePropsMixin.ContentProperty content) The content of the message template.- Parameters:
content- The content of the message template. This parameter is required.- Returns:
this- See Also:
-
defaultAttributes
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder defaultAttributes(IResolvable defaultAttributes) An object that specifies the default values to use for variables in the message template.This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
- Parameters:
defaultAttributes- An object that specifies the default values to use for variables in the message template. This parameter is required.- Returns:
this- See Also:
-
defaultAttributes
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder defaultAttributes(CfnMessageTemplatePropsMixin.MessageTemplateAttributesProperty defaultAttributes) An object that specifies the default values to use for variables in the message template.This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
- Parameters:
defaultAttributes- An object that specifies the default values to use for variables in the message template. This parameter is required.- Returns:
this- See Also:
-
description
The description of the message template.- Parameters:
description- The description of the message template. This parameter is required.- Returns:
this- See Also:
-
groupingConfiguration
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder groupingConfiguration(IResolvable groupingConfiguration) The configuration information of the external data source.- Parameters:
groupingConfiguration- The configuration information of the external data source. This parameter is required.- Returns:
this- See Also:
-
groupingConfiguration
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder groupingConfiguration(CfnMessageTemplatePropsMixin.GroupingConfigurationProperty groupingConfiguration) The configuration information of the external data source.- Parameters:
groupingConfiguration- The configuration information of the external data source. This parameter is required.- Returns:
this- See Also:
-
knowledgeBaseArn
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder knowledgeBaseArn(String knowledgeBaseArn) The Amazon Resource Name (ARN) of the knowledge base.- Parameters:
knowledgeBaseArn- The Amazon Resource Name (ARN) of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
language
The language code value for the language in which the quick response is written.The supported language codes include
de_DE,en_US,es_ES,fr_FR,id_ID,it_IT,ja_JP,ko_KR,pt_BR,zh_CN,zh_TW- Parameters:
language- The language code value for the language in which the quick response is written. This parameter is required.- Returns:
this- See Also:
-
messageTemplateAttachments
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder messageTemplateAttachments(IResolvable messageTemplateAttachments) List of message template attachments.- Parameters:
messageTemplateAttachments- List of message template attachments. This parameter is required.- Returns:
this- See Also:
-
messageTemplateAttachments
@Stability(Stable) public CfnMessageTemplatePropsMixin.Builder messageTemplateAttachments(List<? extends Object> messageTemplateAttachments) List of message template attachments.- Parameters:
messageTemplateAttachments- List of message template attachments. This parameter is required.- Returns:
this- See Also:
-
name
The name of the message template.- Parameters:
name- The name of the message template. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMessageTemplatePropsMixin>- Returns:
- a newly built instance of
CfnMessageTemplatePropsMixin.
-