Interface QuickResponseSearchResultData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QuickResponseSearchResultData.Builder,QuickResponseSearchResultData>,SdkBuilder<QuickResponseSearchResultData.Builder,QuickResponseSearchResultData>,SdkPojo
- Enclosing class:
- QuickResponseSearchResultData
public static interface QuickResponseSearchResultData.Builder extends SdkPojo, CopyableBuilder<QuickResponseSearchResultData.Builder,QuickResponseSearchResultData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description QuickResponseSearchResultData.BuilderattributesInterpolated(String... attributesInterpolated)The user defined contact attributes that are resolved when the search result is returned.QuickResponseSearchResultData.BuilderattributesInterpolated(Collection<String> attributesInterpolated)The user defined contact attributes that are resolved when the search result is returned.QuickResponseSearchResultData.BuilderattributesNotInterpolated(String... attributesNotInterpolated)The user defined contact attributes that are not resolved when the search result is returned.QuickResponseSearchResultData.BuilderattributesNotInterpolated(Collection<String> attributesNotInterpolated)The user defined contact attributes that are not resolved when the search result is returned.QuickResponseSearchResultData.Builderchannels(String... channels)The Amazon Connect contact channels this quick response applies to.QuickResponseSearchResultData.Builderchannels(Collection<String> channels)The Amazon Connect contact channels this quick response applies to.default QuickResponseSearchResultData.Buildercontents(Consumer<QuickResponseContents.Builder> contents)The contents of the quick response.QuickResponseSearchResultData.Buildercontents(QuickResponseContents contents)The contents of the quick response.QuickResponseSearchResultData.BuildercontentType(String contentType)The media type of the quick response content.QuickResponseSearchResultData.BuildercreatedTime(Instant createdTime)The timestamp when the quick response was created.QuickResponseSearchResultData.Builderdescription(String description)The description of the quick response.default QuickResponseSearchResultData.BuildergroupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration)The configuration information of the user groups that the quick response is accessible to.QuickResponseSearchResultData.BuildergroupingConfiguration(GroupingConfiguration groupingConfiguration)The configuration information of the user groups that the quick response is accessible to.QuickResponseSearchResultData.BuilderisActive(Boolean isActive)Whether the quick response is active.QuickResponseSearchResultData.BuilderknowledgeBaseArn(String knowledgeBaseArn)The Amazon Resource Name (ARN) of the knowledge base.QuickResponseSearchResultData.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.QuickResponseSearchResultData.Builderlanguage(String language)The language code value for the language in which the quick response is written.QuickResponseSearchResultData.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last updated the quick response search result data.QuickResponseSearchResultData.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when the quick response search result data was last modified.QuickResponseSearchResultData.Buildername(String name)The name of the quick response.QuickResponseSearchResultData.BuilderquickResponseArn(String quickResponseArn)The Amazon Resource Name (ARN) of the quick response.QuickResponseSearchResultData.BuilderquickResponseId(String quickResponseId)The identifier of the quick response.QuickResponseSearchResultData.BuildershortcutKey(String shortcutKey)The shortcut key of the quick response.QuickResponseSearchResultData.Builderstatus(String status)The resource status of the quick response.QuickResponseSearchResultData.Builderstatus(QuickResponseStatus status)The resource status of the quick response.QuickResponseSearchResultData.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attributesInterpolated
QuickResponseSearchResultData.Builder attributesInterpolated(Collection<String> attributesInterpolated)
The user defined contact attributes that are resolved when the search result is returned.
- Parameters:
attributesInterpolated- The user defined contact attributes that are resolved when the search result is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesInterpolated
QuickResponseSearchResultData.Builder attributesInterpolated(String... attributesInterpolated)
The user defined contact attributes that are resolved when the search result is returned.
- Parameters:
attributesInterpolated- The user defined contact attributes that are resolved when the search result is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesNotInterpolated
QuickResponseSearchResultData.Builder attributesNotInterpolated(Collection<String> attributesNotInterpolated)
The user defined contact attributes that are not resolved when the search result is returned.
- Parameters:
attributesNotInterpolated- The user defined contact attributes that are not resolved when the search result is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesNotInterpolated
QuickResponseSearchResultData.Builder attributesNotInterpolated(String... attributesNotInterpolated)
The user defined contact attributes that are not resolved when the search result is returned.
- Parameters:
attributesNotInterpolated- The user defined contact attributes that are not resolved when the search result is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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 QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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 QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.Builder lastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the quick response search result data.
- Parameters:
lastModifiedBy- The Amazon Resource Name (ARN) of the user who last updated the quick response search result data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
QuickResponseSearchResultData.Builder lastModifiedTime(Instant lastModifiedTime)
The timestamp when the quick response search result data was last modified.
- Parameters:
lastModifiedTime- The timestamp when the quick response search result data was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.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
QuickResponseSearchResultData.Builder status(String status)
The resource status of the quick response.
- Parameters:
status- The resource status of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuickResponseStatus,QuickResponseStatus
-
status
QuickResponseSearchResultData.Builder status(QuickResponseStatus status)
The resource status of the quick response.
- Parameters:
status- The resource status of the quick response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuickResponseStatus,QuickResponseStatus
-
tags
QuickResponseSearchResultData.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.
-
-