@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuickResponseData extends Object implements Serializable, Cloneable, StructuredPojo
Information about the quick response.
Constructor and Description |
---|
QuickResponseData() |
Modifier and Type | Method and Description |
---|---|
QuickResponseData |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
QuickResponseData |
clearTagsEntries()
Removes all the entries added into Tags.
|
QuickResponseData |
clone() |
boolean |
equals(Object obj) |
List<String> |
getChannels()
The Amazon Connect contact channels this quick response applies to.
|
QuickResponseContents |
getContents()
The contents of the quick response.
|
String |
getContentType()
The media type of the quick response content.
|
Date |
getCreatedTime()
The timestamp when the quick response was created.
|
String |
getDescription()
The description of the quick response.
|
GroupingConfiguration |
getGroupingConfiguration()
The configuration information of the user groups that the quick response is accessible to.
|
Boolean |
getIsActive()
Whether the quick response is active.
|
String |
getKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
|
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 |
getLastModifiedBy()
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
|
Date |
getLastModifiedTime()
The timestamp when the quick response data was last modified.
|
String |
getName()
The name of the quick response.
|
String |
getQuickResponseArn()
The Amazon Resource Name (ARN) of the quick response.
|
String |
getQuickResponseId()
The identifier of the quick response.
|
String |
getShortcutKey()
The shortcut key of the quick response.
|
String |
getStatus()
The status of the quick response data.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
Boolean |
isActive()
Whether the quick response is active.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannels(Collection<String> channels)
The Amazon Connect contact channels this quick response applies to.
|
void |
setContents(QuickResponseContents contents)
The contents of the quick response.
|
void |
setContentType(String contentType)
The media type of the quick response content.
|
void |
setCreatedTime(Date createdTime)
The timestamp when the quick response was created.
|
void |
setDescription(String description)
The description of the quick response.
|
void |
setGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The configuration information of the user groups that the quick response is accessible to.
|
void |
setIsActive(Boolean isActive)
Whether the quick response is active.
|
void |
setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
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 |
setLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when the quick response data was last modified.
|
void |
setName(String name)
The name of the quick response.
|
void |
setQuickResponseArn(String quickResponseArn)
The Amazon Resource Name (ARN) of the quick response.
|
void |
setQuickResponseId(String quickResponseId)
The identifier of the quick response.
|
void |
setShortcutKey(String shortcutKey)
The shortcut key of the quick response.
|
void |
setStatus(String status)
The status of the quick response data.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
QuickResponseData |
withChannels(Collection<String> channels)
The Amazon Connect contact channels this quick response applies to.
|
QuickResponseData |
withChannels(String... channels)
The Amazon Connect contact channels this quick response applies to.
|
QuickResponseData |
withContents(QuickResponseContents contents)
The contents of the quick response.
|
QuickResponseData |
withContentType(String contentType)
The media type of the quick response content.
|
QuickResponseData |
withCreatedTime(Date createdTime)
The timestamp when the quick response was created.
|
QuickResponseData |
withDescription(String description)
The description of the quick response.
|
QuickResponseData |
withGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The configuration information of the user groups that the quick response is accessible to.
|
QuickResponseData |
withIsActive(Boolean isActive)
Whether the quick response is active.
|
QuickResponseData |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
QuickResponseData |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
QuickResponseData |
withLanguage(String language)
The language code value for the language in which the quick response is written.
|
QuickResponseData |
withLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
|
QuickResponseData |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the quick response data was last modified.
|
QuickResponseData |
withName(String name)
The name of the quick response.
|
QuickResponseData |
withQuickResponseArn(String quickResponseArn)
The Amazon Resource Name (ARN) of the quick response.
|
QuickResponseData |
withQuickResponseId(String quickResponseId)
The identifier of the quick response.
|
QuickResponseData |
withShortcutKey(String shortcutKey)
The shortcut key of the quick response.
|
QuickResponseData |
withStatus(QuickResponseStatus status)
The status of the quick response data.
|
QuickResponseData |
withStatus(String status)
The status of the quick response data.
|
QuickResponseData |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
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 QuickResponseData 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 QuickResponseData 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 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 QuickResponseData 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 setContents(QuickResponseContents contents)
The contents of the quick response.
contents
- The contents of the quick response.public QuickResponseContents getContents()
The contents of the quick response.
public QuickResponseData withContents(QuickResponseContents contents)
The contents of the quick response.
contents
- The contents of the quick response.public void setCreatedTime(Date createdTime)
The timestamp when the quick response was created.
createdTime
- The timestamp when the quick response was created.public Date getCreatedTime()
The timestamp when the quick response was created.
public QuickResponseData withCreatedTime(Date createdTime)
The timestamp when the quick response was created.
createdTime
- The timestamp when the quick response was created.public void setDescription(String description)
The description of the quick response.
description
- The description of the quick response.public String getDescription()
The description of the quick response.
public QuickResponseData withDescription(String description)
The description of the quick response.
description
- The description of the quick response.public void setGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The configuration information of the user groups that the quick response is accessible to.
groupingConfiguration
- The configuration information of the user groups that the quick response is accessible to.public GroupingConfiguration getGroupingConfiguration()
The configuration information of the user groups that the quick response is accessible to.
public QuickResponseData withGroupingConfiguration(GroupingConfiguration groupingConfiguration)
The configuration information of the user groups that the quick response is accessible to.
groupingConfiguration
- The configuration information of the user groups that the quick response is accessible to.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 QuickResponseData 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 setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseArn
- The Amazon Resource Name (ARN) of the knowledge base.public String getKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
public QuickResponseData withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseArn
- The Amazon Resource Name (ARN) of the knowledge base.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 QuickResponseData 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.
language
- The language code value for the language in which the quick response is written.public String getLanguage()
The language code value for the language in which the quick response is written.
public QuickResponseData withLanguage(String language)
The language code value for the language in which the quick response is written.
language
- The language code value for the language in which the quick response is written.public void setLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
lastModifiedBy
- The Amazon Resource Name (ARN) of the user who last updated the quick response data.public String getLastModifiedBy()
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
public QuickResponseData withLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
lastModifiedBy
- The Amazon Resource Name (ARN) of the user who last updated the quick response data.public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when the quick response data was last modified.
lastModifiedTime
- The timestamp when the quick response data was last modified.public Date getLastModifiedTime()
The timestamp when the quick response data was last modified.
public QuickResponseData withLastModifiedTime(Date lastModifiedTime)
The timestamp when the quick response data was last modified.
lastModifiedTime
- The timestamp when the quick response data was last modified.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 QuickResponseData withName(String name)
The name of the quick response.
name
- The name of the quick response.public void setQuickResponseArn(String quickResponseArn)
The Amazon Resource Name (ARN) of the quick response.
quickResponseArn
- The Amazon Resource Name (ARN) of the quick response.public String getQuickResponseArn()
The Amazon Resource Name (ARN) of the quick response.
public QuickResponseData withQuickResponseArn(String quickResponseArn)
The Amazon Resource Name (ARN) of the quick response.
quickResponseArn
- The Amazon Resource Name (ARN) 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 QuickResponseData withQuickResponseId(String quickResponseId)
The identifier of the quick response.
quickResponseId
- The identifier 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 QuickResponseData 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 void setStatus(String status)
The status of the quick response data.
status
- The status of the quick response data.QuickResponseStatus
public String getStatus()
The status of the quick response data.
QuickResponseStatus
public QuickResponseData withStatus(String status)
The status of the quick response data.
status
- The status of the quick response data.QuickResponseStatus
public QuickResponseData withStatus(QuickResponseStatus status)
The status of the quick response data.
status
- The status of the quick response data.QuickResponseStatus
public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public QuickResponseData withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public QuickResponseData addTagsEntry(String key, String value)
public QuickResponseData clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public QuickResponseData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.