Interface QuickResponseData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QuickResponseData.Builder,QuickResponseData>,SdkBuilder<QuickResponseData.Builder,QuickResponseData>,SdkPojo
- Enclosing class:
- QuickResponseData
public static interface QuickResponseData.Builder extends SdkPojo, CopyableBuilder<QuickResponseData.Builder,QuickResponseData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description QuickResponseData.Builderchannels(String... channels)The Amazon Connect contact channels this quick response applies to.QuickResponseData.Builderchannels(Collection<String> channels)The Amazon Connect contact channels this quick response applies to.default QuickResponseData.Buildercontents(Consumer<QuickResponseContents.Builder> contents)The contents of the quick response.QuickResponseData.Buildercontents(QuickResponseContents contents)The contents of the quick response.QuickResponseData.BuildercontentType(String contentType)The media type of the quick response content.QuickResponseData.BuildercreatedTime(Instant createdTime)The timestamp when the quick response was created.QuickResponseData.Builderdescription(String description)The description of the quick response.default QuickResponseData.BuildergroupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration)The configuration information of the user groups that the quick response is accessible to.QuickResponseData.BuildergroupingConfiguration(GroupingConfiguration groupingConfiguration)The configuration information of the user groups that the quick response is accessible to.QuickResponseData.BuilderisActive(Boolean isActive)Whether the quick response is active.QuickResponseData.BuilderknowledgeBaseArn(String knowledgeBaseArn)The Amazon Resource Name (ARN) of the knowledge base.QuickResponseData.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.QuickResponseData.Builderlanguage(String language)The language code value for the language in which the quick response is written.QuickResponseData.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last updated the quick response data.QuickResponseData.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when the quick response data was last modified.QuickResponseData.Buildername(String name)The name of the quick response.QuickResponseData.BuilderquickResponseArn(String quickResponseArn)The Amazon Resource Name (ARN) of the quick response.QuickResponseData.BuilderquickResponseId(String quickResponseId)The identifier of the quick response.QuickResponseData.BuildershortcutKey(String shortcutKey)The shortcut key of the quick response.QuickResponseData.Builderstatus(String status)The status of the quick response data.QuickResponseData.Builderstatus(QuickResponseStatus status)The status of the quick response data.QuickResponseData.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.-
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
-
-
-
-
Method Detail
-
channels
QuickResponseData.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
QuickResponseData.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.
-
contentType
QuickResponseData.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.
-
-
contents
QuickResponseData.Builder contents(QuickResponseContents contents)
The contents of the quick response.
- Parameters:
contents- The contents of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contents
default QuickResponseData.Builder contents(Consumer<QuickResponseContents.Builder> contents)
The contents of the quick response.
This is a convenience method that creates an instance of theQuickResponseContents.Builderavoiding the need to create one manually viaQuickResponseContents.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontents(QuickResponseContents).- Parameters:
contents- a consumer that will call methods onQuickResponseContents.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
contents(QuickResponseContents)
-
createdTime
QuickResponseData.Builder createdTime(Instant createdTime)
The timestamp when the quick response was created.
- Parameters:
createdTime- The timestamp when the quick response was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
QuickResponseData.Builder description(String 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.
-
groupingConfiguration
QuickResponseData.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 QuickResponseData.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.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
QuickResponseData.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.
-
knowledgeBaseArn
QuickResponseData.Builder knowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
- Parameters:
knowledgeBaseArn- The Amazon Resource Name (ARN) of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
QuickResponseData.Builder knowledgeBaseId(String 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
QuickResponseData.Builder language(String language)
The language code value for the language in which the quick response is written.
- Parameters:
language- The language code value for the language in which the quick response is written.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
QuickResponseData.Builder lastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
- Parameters:
lastModifiedBy- The Amazon Resource Name (ARN) of the user who last updated the quick response data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
QuickResponseData.Builder lastModifiedTime(Instant lastModifiedTime)
The timestamp when the quick response data was last modified.
- Parameters:
lastModifiedTime- The timestamp when the quick response data was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
QuickResponseData.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.
-
quickResponseArn
QuickResponseData.Builder quickResponseArn(String quickResponseArn)
The Amazon Resource Name (ARN) of the quick response.
- Parameters:
quickResponseArn- The Amazon Resource Name (ARN) of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quickResponseId
QuickResponseData.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.
-
shortcutKey
QuickResponseData.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.
-
status
QuickResponseData.Builder status(String status)
The status of the quick response data.
- Parameters:
status- The status of the quick response data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuickResponseStatus,QuickResponseStatus
-
status
QuickResponseData.Builder status(QuickResponseStatus status)
The status of the quick response data.
- Parameters:
status- The status of the quick response data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuickResponseStatus,QuickResponseStatus
-
tags
QuickResponseData.Builder tags(Map<String,String> 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.
-
-