Interface CreateQuickResponseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateQuickResponseRequest.Builder,
,CreateQuickResponseRequest> QConnectRequest.Builder
,SdkBuilder<CreateQuickResponseRequest.Builder,
,CreateQuickResponseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateQuickResponseRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Connect channels this quick response applies to.channels
(Collection<String> channels) The Amazon Connect channels this quick response applies to.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.content
(Consumer<QuickResponseDataProvider.Builder> content) The content of the quick response.content
(QuickResponseDataProvider content) The content of the quick response.contentType
(String contentType) The media type of the quick response content.description
(String description) The description of the quick response.groupingConfiguration
(Consumer<GroupingConfiguration.Builder> groupingConfiguration) The configuration information of the user groups that the quick response is accessible to.groupingConfiguration
(GroupingConfiguration groupingConfiguration) The configuration information of the user groups that the quick response is accessible to.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.shortcutKey
(String shortcutKey) The shortcut key of the quick response.The tags used to organize, track, or control access for this resource.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
content
The content of the quick response.
- Parameters:
content
- The content of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default CreateQuickResponseRequest.Builder content(Consumer<QuickResponseDataProvider.Builder> content) The 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 a quick response written in plain text. -
Use
application/x.quickresponse;format=markdown
for a quick response written in richtext.
- Parameters:
contentType
- The media type of the quick response content.-
Use
application/x.quickresponse;format=plain
for a quick response written in plain text. -
Use
application/x.quickresponse;format=markdown
for a quick response written in richtext.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
groupingConfiguration
CreateQuickResponseRequest.Builder groupingConfiguration(GroupingConfiguration 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingConfiguration
default CreateQuickResponseRequest.Builder groupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration) The configuration information of the user groups that the quick response is accessible to.
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:
-
description
The description of the quick response.
- Parameters:
description
- The description 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.
-
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.
-
channels
The Amazon Connect channels this quick response applies to.
- Parameters:
channels
- The Amazon Connect channels this quick response applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
The Amazon Connect channels this quick response applies to.
- Parameters:
channels
- The Amazon Connect channels this quick response applies to.- 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.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateQuickResponseRequest.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
CreateQuickResponseRequest.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.
-