Class CfnQuickResponse.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnQuickResponse.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuickResponse>
- Enclosing class:
CfnQuickResponse
@Stability(Stable)
public static final class CfnQuickResponse.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuickResponse>
A fluent builder for
CfnQuickResponse
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The Amazon Connect contact channels this quick response applies to.content
(IResolvable content) The content of the quick response.The content of the quick response.contentType
(String contentType) The media type of the quick response content.static CfnQuickResponse.Builder
description
(String description) The description of the quick response.groupingConfiguration
(IResolvable groupingConfiguration) The configuration information of the user groups that the quick response is accessible to.groupingConfiguration
(CfnQuickResponse.GroupingConfigurationProperty groupingConfiguration) The configuration information of the user groups that the quick response is accessible to.Whether the quick response is active.isActive
(IResolvable isActive) Whether the quick response is active.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.The name of the quick response.shortcutKey
(String shortcutKey) The shortcut key of the quick response.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnQuickResponse.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
CfnQuickResponse.Builder
.
-
content
The content of the quick response.- Parameters:
content
- The content of the quick response. This parameter is required.- Returns:
this
- See Also:
-
content
@Stability(Stable) public CfnQuickResponse.Builder content(CfnQuickResponse.QuickResponseContentProviderProperty content) The content of the quick response.- Parameters:
content
- The content of the quick response. This parameter is required.- Returns:
this
- See Also:
-
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:
-
name
The name of the quick response.- Parameters:
name
- The name of the quick response. This parameter is required.- Returns:
this
- See Also:
-
channels
The Amazon Connect contact channels this quick response applies to.The supported contact channel types include
Chat
.- Parameters:
channels
- The Amazon Connect contact channels this quick response applies to. This parameter is required.- Returns:
this
- See Also:
-
contentType
The media type of the quick response content.- Use
application/x.quickresponse;format=plain
for quick response written in plain text. - Use
application/x.quickresponse;format=markdown
for quick response written in richtext.
- Parameters:
contentType
- The media type of the quick response content. This parameter is required.- Returns:
this
- See Also:
- Use
-
description
The description of the quick response.- Parameters:
description
- The description of the quick response. This parameter is required.- Returns:
this
- See Also:
-
groupingConfiguration
@Stability(Stable) public CfnQuickResponse.Builder groupingConfiguration(IResolvable groupingConfiguration) The configuration information of the user groups that the quick response is accessible to.- Parameters:
groupingConfiguration
- The configuration information of the user groups that the quick response is accessible to. This parameter is required.- Returns:
this
- See Also:
-
groupingConfiguration
@Stability(Stable) public CfnQuickResponse.Builder groupingConfiguration(CfnQuickResponse.GroupingConfigurationProperty groupingConfiguration) The configuration information of the user groups that the quick response is accessible to.- Parameters:
groupingConfiguration
- The configuration information of the user groups that the quick response is accessible to. This parameter is required.- Returns:
this
- See Also:
-
isActive
Whether the quick response is active.- Parameters:
isActive
- Whether the quick response is active. This parameter is required.- Returns:
this
- See Also:
-
isActive
Whether the quick response is active.- Parameters:
isActive
- Whether the quick response is active. 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:
-
shortcutKey
The shortcut key of the quick response.The value should be unique across the knowledge base.
- Parameters:
shortcutKey
- The shortcut key of the quick response. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnQuickResponse>
- Returns:
- a newly built instance of
CfnQuickResponse
.
-