@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateQuickResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateQuickResponseRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateQuickResponseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getChannels()
The Amazon Connect contact channels this quick response applies to.
|
QuickResponseDataProvider |
getContent()
The updated content of the quick response.
|
String |
getContentType()
The media type of the quick response content.
|
String |
getDescription()
The updated description of the quick response.
|
GroupingConfiguration |
getGroupingConfiguration()
The updated grouping configuration of the quick response.
|
Boolean |
getIsActive()
Whether the quick response is active.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
String |
getLanguage()
The language code value for the language in which the quick response is written.
|
String |
getName()
The name of the quick response.
|
String |
getQuickResponseId()
The identifier of the quick response.
|
Boolean |
getRemoveDescription()
Whether to remove the description from the quick response.
|
Boolean |
getRemoveGroupingConfiguration()
Whether to remove the grouping configuration of the quick response.
|
Boolean |
getRemoveShortcutKey()
Whether to remove the shortcut key of the quick response.
|
String |
getShortcutKey()
The shortcut key of the quick response.
|
int |
hashCode() |
Boolean |
isActive()
Whether the quick response is active.
|
Boolean |
isRemoveDescription()
Whether to remove the description from the quick response.
|
Boolean |
isRemoveGroupingConfiguration()
Whether to remove the grouping configuration of the quick response.
|
Boolean |
isRemoveShortcutKey()
Whether to remove the shortcut key of the quick response.
|
void |
setChannels(Collection<String> channels)
The Amazon Connect contact channels this quick response applies to.
|
void |
setContent(QuickResponseDataProvider content)
The updated content of the quick response.
|
void |
setContentType(String contentType)
The media type of the quick response content.
|
void |
setDescription(String description)
The updated description of the quick response.
|
void |
setGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The updated grouping configuration of the quick response.
|
void |
setIsActive(Boolean isActive)
Whether the quick response is active.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
void |
setLanguage(String language)
The language code value for the language in which the quick response is written.
|
void |
setName(String name)
The name of the quick response.
|
void |
setQuickResponseId(String quickResponseId)
The identifier of the quick response.
|
void |
setRemoveDescription(Boolean removeDescription)
Whether to remove the description from the quick response.
|
void |
setRemoveGroupingConfiguration(Boolean removeGroupingConfiguration)
Whether to remove the grouping configuration of the quick response.
|
void |
setRemoveShortcutKey(Boolean removeShortcutKey)
Whether to remove the shortcut key of the quick response.
|
void |
setShortcutKey(String shortcutKey)
The shortcut key of the quick response.
|
String |
toString()
Returns a string representation of this object.
|
UpdateQuickResponseRequest |
withChannels(Collection<String> channels)
The Amazon Connect contact channels this quick response applies to.
|
UpdateQuickResponseRequest |
withChannels(String... channels)
The Amazon Connect contact channels this quick response applies to.
|
UpdateQuickResponseRequest |
withContent(QuickResponseDataProvider content)
The updated content of the quick response.
|
UpdateQuickResponseRequest |
withContentType(String contentType)
The media type of the quick response content.
|
UpdateQuickResponseRequest |
withDescription(String description)
The updated description of the quick response.
|
UpdateQuickResponseRequest |
withGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The updated grouping configuration of the quick response.
|
UpdateQuickResponseRequest |
withIsActive(Boolean isActive)
Whether the quick response is active.
|
UpdateQuickResponseRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
UpdateQuickResponseRequest |
withLanguage(String language)
The language code value for the language in which the quick response is written.
|
UpdateQuickResponseRequest |
withName(String name)
The name of the quick response.
|
UpdateQuickResponseRequest |
withQuickResponseId(String quickResponseId)
The identifier of the quick response.
|
UpdateQuickResponseRequest |
withRemoveDescription(Boolean removeDescription)
Whether to remove the description from the quick response.
|
UpdateQuickResponseRequest |
withRemoveGroupingConfiguration(Boolean removeGroupingConfiguration)
Whether to remove the grouping configuration of the quick response.
|
UpdateQuickResponseRequest |
withRemoveShortcutKey(Boolean removeShortcutKey)
Whether to remove the shortcut key of the quick response.
|
UpdateQuickResponseRequest |
withShortcutKey(String shortcutKey)
The shortcut key of the quick response.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getChannels()
The Amazon Connect contact channels this quick response applies to. The supported contact channel types include
Chat
.
Chat
.public void setChannels(Collection<String> channels)
The Amazon Connect contact channels this quick response applies to. The supported contact channel types include
Chat
.
channels
- The Amazon Connect contact channels this quick response applies to. The supported contact channel types
include Chat
.public UpdateQuickResponseRequest withChannels(String... channels)
The Amazon Connect contact channels this quick response applies to. The supported contact channel types include
Chat
.
NOTE: This method appends the values to the existing list (if any). Use
setChannels(java.util.Collection)
or withChannels(java.util.Collection)
if you want to override
the existing values.
channels
- The Amazon Connect contact channels this quick response applies to. The supported contact channel types
include Chat
.public UpdateQuickResponseRequest withChannels(Collection<String> channels)
The Amazon Connect contact channels this quick response applies to. The supported contact channel types include
Chat
.
channels
- The Amazon Connect contact channels this quick response applies to. The supported contact channel types
include Chat
.public void setContent(QuickResponseDataProvider content)
The updated content of the quick response.
content
- The updated content of the quick response.public QuickResponseDataProvider getContent()
The updated content of the quick response.
public UpdateQuickResponseRequest withContent(QuickResponseDataProvider content)
The updated content of the quick response.
content
- The updated content of the quick response.public void setContentType(String 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.
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.
public String getContentType()
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.
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.
public UpdateQuickResponseRequest withContentType(String 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.
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.
public void setDescription(String description)
The updated description of the quick response.
description
- The updated description of the quick response.public String getDescription()
The updated description of the quick response.
public UpdateQuickResponseRequest withDescription(String description)
The updated description of the quick response.
description
- The updated description of the quick response.public void setGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The updated grouping configuration of the quick response.
groupingConfiguration
- The updated grouping configuration of the quick response.public GroupingConfiguration getGroupingConfiguration()
The updated grouping configuration of the quick response.
public UpdateQuickResponseRequest withGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The updated grouping configuration of the quick response.
groupingConfiguration
- The updated grouping configuration of the quick response.public void setIsActive(Boolean isActive)
Whether the quick response is active.
isActive
- Whether the quick response is active.public Boolean getIsActive()
Whether the quick response is active.
public UpdateQuickResponseRequest withIsActive(Boolean isActive)
Whether the quick response is active.
isActive
- Whether the quick response is active.public Boolean isActive()
Whether the quick response is active.
public void setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getKnowledgeBaseId()
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
public UpdateQuickResponseRequest withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.public void setLanguage(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
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
public String getLanguage()
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
de_DE
, en_US
, es_ES
, fr_FR
,
id_ID
, it_IT
, ja_JP
, ko_KR
, pt_BR
,
zh_CN
, zh_TW
public UpdateQuickResponseRequest withLanguage(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
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
public void setName(String name)
The name of the quick response.
name
- The name of the quick response.public String getName()
The name of the quick response.
public UpdateQuickResponseRequest withName(String name)
The name of the quick response.
name
- The name of the quick response.public void setQuickResponseId(String quickResponseId)
The identifier of the quick response.
quickResponseId
- The identifier of the quick response.public String getQuickResponseId()
The identifier of the quick response.
public UpdateQuickResponseRequest withQuickResponseId(String quickResponseId)
The identifier of the quick response.
quickResponseId
- The identifier of the quick response.public void setRemoveDescription(Boolean removeDescription)
Whether to remove the description from the quick response.
removeDescription
- Whether to remove the description from the quick response.public Boolean getRemoveDescription()
Whether to remove the description from the quick response.
public UpdateQuickResponseRequest withRemoveDescription(Boolean removeDescription)
Whether to remove the description from the quick response.
removeDescription
- Whether to remove the description from the quick response.public Boolean isRemoveDescription()
Whether to remove the description from the quick response.
public void setRemoveGroupingConfiguration(Boolean removeGroupingConfiguration)
Whether to remove the grouping configuration of the quick response.
removeGroupingConfiguration
- Whether to remove the grouping configuration of the quick response.public Boolean getRemoveGroupingConfiguration()
Whether to remove the grouping configuration of the quick response.
public UpdateQuickResponseRequest withRemoveGroupingConfiguration(Boolean removeGroupingConfiguration)
Whether to remove the grouping configuration of the quick response.
removeGroupingConfiguration
- Whether to remove the grouping configuration of the quick response.public Boolean isRemoveGroupingConfiguration()
Whether to remove the grouping configuration of the quick response.
public void setRemoveShortcutKey(Boolean removeShortcutKey)
Whether to remove the shortcut key of the quick response.
removeShortcutKey
- Whether to remove the shortcut key of the quick response.public Boolean getRemoveShortcutKey()
Whether to remove the shortcut key of the quick response.
public UpdateQuickResponseRequest withRemoveShortcutKey(Boolean removeShortcutKey)
Whether to remove the shortcut key of the quick response.
removeShortcutKey
- Whether to remove the shortcut key of the quick response.public Boolean isRemoveShortcutKey()
Whether to remove the shortcut key of the quick response.
public void setShortcutKey(String shortcutKey)
The shortcut key of the quick response. The value should be unique across the knowledge base.
shortcutKey
- The shortcut key of the quick response. The value should be unique across the knowledge base.public String getShortcutKey()
The shortcut key of the quick response. The value should be unique across the knowledge base.
public UpdateQuickResponseRequest withShortcutKey(String shortcutKey)
The shortcut key of the quick response. The value should be unique across the knowledge base.
shortcutKey
- The shortcut key of the quick response. The value should be unique across the knowledge base.public String toString()
toString
in class Object
Object.toString()
public UpdateQuickResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()