Interface UpdateQuickResponseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateQuickResponseRequest.Builder,
,UpdateQuickResponseRequest> QConnectRequest.Builder
,SdkBuilder<UpdateQuickResponseRequest.Builder,
,UpdateQuickResponseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateQuickResponseRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Connect contact channels this quick response applies to.channels
(Collection<String> channels) The Amazon Connect contact channels this quick response applies to.content
(Consumer<QuickResponseDataProvider.Builder> content) The updated content of the quick response.content
(QuickResponseDataProvider content) The updated content of the quick response.contentType
(String contentType) The media type of the quick response content.description
(String description) The updated description of the quick response.groupingConfiguration
(Consumer<GroupingConfiguration.Builder> groupingConfiguration) The updated grouping configuration of the quick response.groupingConfiguration
(GroupingConfiguration groupingConfiguration) The updated grouping configuration of the quick response.Whether the quick response is active.knowledgeBaseId
(String knowledgeBaseId) The identifier of the knowledge base.The language code value for the language in which the quick response is written.The name of the quick response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.quickResponseId
(String quickResponseId) The identifier of the quick response.removeDescription
(Boolean removeDescription) Whether to remove the description from the quick response.removeGroupingConfiguration
(Boolean removeGroupingConfiguration) Whether to remove the grouping configuration of the quick response.removeShortcutKey
(Boolean removeShortcutKey) Whether to remove the shortcut key of the quick response.shortcutKey
(String shortcutKey) The shortcut key of the quick response.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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. The supported contact channel types includeChat
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. The supported contact channel types includeChat
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The updated content of the quick response.
- Parameters:
content
- The updated content of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default UpdateQuickResponseRequest.Builder content(Consumer<QuickResponseDataProvider.Builder> content) The updated content of the quick response.
This is a convenience method that creates an instance of theQuickResponseDataProvider.Builder
avoiding the need to create one manually viaQuickResponseDataProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(QuickResponseDataProvider)
.- Parameters:
content
- a consumer that will call methods onQuickResponseDataProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
The updated description of the quick response.
- Parameters:
description
- The updated description of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingConfiguration
UpdateQuickResponseRequest.Builder groupingConfiguration(GroupingConfiguration groupingConfiguration) The updated grouping configuration of the quick response.
- Parameters:
groupingConfiguration
- The updated grouping configuration of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingConfiguration
default UpdateQuickResponseRequest.Builder groupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration) The updated grouping configuration of the quick response.
This is a convenience method that creates an instance of theGroupingConfiguration.Builder
avoiding the need to create one manually viaGroupingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupingConfiguration(GroupingConfiguration)
.- Parameters:
groupingConfiguration
- a consumer that will call methods onGroupingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isActive
Whether the quick response is active.
- Parameters:
isActive
- Whether the quick response is active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. The supported language codes includede_DE
,en_US
,es_ES
,fr_FR
,id_ID
,it_IT
,ja_JP
,ko_KR
,pt_BR
,zh_CN
,zh_TW
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the quick response.
- Parameters:
name
- The name of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quickResponseId
The identifier of the quick response.
- Parameters:
quickResponseId
- The identifier of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeDescription
Whether to remove the description from the quick response.
- Parameters:
removeDescription
- Whether to remove the description from the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeGroupingConfiguration
Whether to remove the grouping configuration of the quick response.
- Parameters:
removeGroupingConfiguration
- Whether to remove the grouping configuration of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeShortcutKey
Whether to remove the shortcut key of the quick response.
- Parameters:
removeShortcutKey
- Whether to remove the shortcut key of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. The value should be unique across the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateQuickResponseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateQuickResponseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-