@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuickResponseSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary information about the quick response.
Constructor and Description |
---|
QuickResponseSummary() |
Modifier and Type | Method and Description |
---|---|
QuickResponseSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
QuickResponseSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
QuickResponseSummary |
clone() |
boolean |
equals(Object obj) |
List<String> |
getChannels()
The Amazon Connect contact channels this quick response applies to.
|
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.
|
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 |
getLastModifiedBy()
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
|
Date |
getLastModifiedTime()
The timestamp when the quick response summary 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 |
getStatus()
The resource status of the quick response.
|
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 |
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 |
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 |
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 summary 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 |
setStatus(String status)
The resource status of the quick response.
|
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.
|
QuickResponseSummary |
withChannels(Collection<String> channels)
The Amazon Connect contact channels this quick response applies to.
|
QuickResponseSummary |
withChannels(String... channels)
The Amazon Connect contact channels this quick response applies to.
|
QuickResponseSummary |
withContentType(String contentType)
The media type of the quick response content.
|
QuickResponseSummary |
withCreatedTime(Date createdTime)
The timestamp when the quick response was created.
|
QuickResponseSummary |
withDescription(String description)
The description of the quick response.
|
QuickResponseSummary |
withIsActive(Boolean isActive)
Whether the quick response is active.
|
QuickResponseSummary |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
QuickResponseSummary |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
QuickResponseSummary |
withLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the quick response data.
|
QuickResponseSummary |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the quick response summary was last modified.
|
QuickResponseSummary |
withName(String name)
The name of the quick response.
|
QuickResponseSummary |
withQuickResponseArn(String quickResponseArn)
The Amazon Resource Name (ARN) of the quick response.
|
QuickResponseSummary |
withQuickResponseId(String quickResponseId)
The identifier of the quick response.
|
QuickResponseSummary |
withStatus(QuickResponseStatus status)
The resource status of the quick response.
|
QuickResponseSummary |
withStatus(String status)
The resource status of the quick response.
|
QuickResponseSummary |
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 QuickResponseSummary 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 QuickResponseSummary 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 QuickResponseSummary 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 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 QuickResponseSummary 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 QuickResponseSummary withDescription(String description)
The description of the quick response.
description
- The description 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 QuickResponseSummary 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 QuickResponseSummary 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. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
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.public String getKnowledgeBaseId()
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.
public QuickResponseSummary withKnowledgeBaseId(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.
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.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 QuickResponseSummary 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 summary was last modified.
lastModifiedTime
- The timestamp when the quick response summary was last modified.public Date getLastModifiedTime()
The timestamp when the quick response summary was last modified.
public QuickResponseSummary withLastModifiedTime(Date lastModifiedTime)
The timestamp when the quick response summary was last modified.
lastModifiedTime
- The timestamp when the quick response summary 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 QuickResponseSummary 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 QuickResponseSummary 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 QuickResponseSummary withQuickResponseId(String quickResponseId)
The identifier of the quick response.
quickResponseId
- The identifier of the quick response.public void setStatus(String status)
The resource status of the quick response.
status
- The resource status of the quick response.QuickResponseStatus
public String getStatus()
The resource status of the quick response.
QuickResponseStatus
public QuickResponseSummary withStatus(String status)
The resource status of the quick response.
status
- The resource status of the quick response.QuickResponseStatus
public QuickResponseSummary withStatus(QuickResponseStatus status)
The resource status of the quick response.
status
- The resource status of the quick response.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 QuickResponseSummary 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 QuickResponseSummary addTagsEntry(String key, String value)
public QuickResponseSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public QuickResponseSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.