Interface UpdateQuickResponseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateQuickResponseRequest.Builder,UpdateQuickResponseRequest>,SdkBuilder<UpdateQuickResponseRequest.Builder,UpdateQuickResponseRequest>,SdkPojo,SdkRequest.Builder,WisdomRequest.Builder
- Enclosing class:
- UpdateQuickResponseRequest
public static interface UpdateQuickResponseRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<UpdateQuickResponseRequest.Builder,UpdateQuickResponseRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateQuickResponseRequest.Builderchannels(String... channels)The Amazon Connect contact channels this quick response applies to.UpdateQuickResponseRequest.Builderchannels(Collection<String> channels)The Amazon Connect contact channels this quick response applies to.default UpdateQuickResponseRequest.Buildercontent(Consumer<QuickResponseDataProvider.Builder> content)The updated content of the quick response.UpdateQuickResponseRequest.Buildercontent(QuickResponseDataProvider content)The updated content of the quick response.UpdateQuickResponseRequest.BuildercontentType(String contentType)The media type of the quick response content.UpdateQuickResponseRequest.Builderdescription(String description)The updated description of the quick response.default UpdateQuickResponseRequest.BuildergroupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration)The updated grouping configuration of the quick response.UpdateQuickResponseRequest.BuildergroupingConfiguration(GroupingConfiguration groupingConfiguration)The updated grouping configuration of the quick response.UpdateQuickResponseRequest.BuilderisActive(Boolean isActive)Whether the quick response is active.UpdateQuickResponseRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.UpdateQuickResponseRequest.Builderlanguage(String language)The language code value for the language in which the quick response is written.UpdateQuickResponseRequest.Buildername(String name)The name of the quick response.UpdateQuickResponseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateQuickResponseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateQuickResponseRequest.BuilderquickResponseId(String quickResponseId)The identifier of the quick response.UpdateQuickResponseRequest.BuilderremoveDescription(Boolean removeDescription)Whether to remove the description from the quick response.UpdateQuickResponseRequest.BuilderremoveGroupingConfiguration(Boolean removeGroupingConfiguration)Whether to remove the grouping configuration of the quick response.UpdateQuickResponseRequest.BuilderremoveShortcutKey(Boolean removeShortcutKey)Whether to remove the shortcut key of the quick response.UpdateQuickResponseRequest.BuildershortcutKey(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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
-
-
-
Method Detail
-
channels
UpdateQuickResponseRequest.Builder channels(Collection<String> 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
UpdateQuickResponseRequest.Builder channels(String... 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
UpdateQuickResponseRequest.Builder content(QuickResponseDataProvider 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.Builderavoiding the need to create one manually viaQuickResponseDataProvider.builder().When the
Consumercompletes,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:
content(QuickResponseDataProvider)
-
contentType
UpdateQuickResponseRequest.Builder contentType(String contentType)
The media type of the quick response content.
-
Use
application/x.quickresponse;format=plainfor quick response written in plain text. -
Use
application/x.quickresponse;format=markdownfor quick response written in richtext.
- Parameters:
contentType- The media type of the quick response content.-
Use
application/x.quickresponse;format=plainfor quick response written in plain text. -
Use
application/x.quickresponse;format=markdownfor quick response written in richtext.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
UpdateQuickResponseRequest.Builder description(String 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.Builderavoiding the need to create one manually viaGroupingConfiguration.builder().When the
Consumercompletes,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:
groupingConfiguration(GroupingConfiguration)
-
isActive
UpdateQuickResponseRequest.Builder isActive(Boolean 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
UpdateQuickResponseRequest.Builder knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
knowledgeBaseId- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. 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
UpdateQuickResponseRequest.Builder language(String 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
UpdateQuickResponseRequest.Builder name(String 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
UpdateQuickResponseRequest.Builder quickResponseId(String 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
UpdateQuickResponseRequest.Builder removeDescription(Boolean 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
UpdateQuickResponseRequest.Builder removeGroupingConfiguration(Boolean 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
UpdateQuickResponseRequest.Builder removeShortcutKey(Boolean 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
UpdateQuickResponseRequest.Builder shortcutKey(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateQuickResponseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-