@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentData extends Object implements Serializable, Cloneable, StructuredPojo
Information about the content.
Constructor and Description |
---|
ContentData() |
Modifier and Type | Method and Description |
---|---|
ContentData |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
ContentData |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ContentData |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
ContentData |
clearTagsEntries()
Removes all the entries added into Tags.
|
ContentData |
clone() |
boolean |
equals(Object obj) |
String |
getContentArn()
The Amazon Resource Name (ARN) of the content.
|
String |
getContentId()
The identifier of the content.
|
String |
getContentType()
The media type of the content.
|
String |
getKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
String |
getLinkOutUri()
The URI of the content.
|
Map<String,String> |
getMetadata()
A key/value map to store attributes without affecting tagging or recommendations.
|
String |
getName()
The name of the content.
|
String |
getRevisionId()
The identifier of the content revision.
|
String |
getStatus()
The status of the content.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getTitle()
The title of the content.
|
String |
getUrl()
The URL of the content.
|
Date |
getUrlExpiry()
The expiration time of the URL as an epoch timestamp.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
|
void |
setContentId(String contentId)
The identifier of the content.
|
void |
setContentType(String contentType)
The media type of the content.
|
void |
setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
void |
setLinkOutUri(String linkOutUri)
The URI of the content.
|
void |
setMetadata(Map<String,String> metadata)
A key/value map to store attributes without affecting tagging or recommendations.
|
void |
setName(String name)
The name of the content.
|
void |
setRevisionId(String revisionId)
The identifier of the content revision.
|
void |
setStatus(String status)
The status of the content.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setTitle(String title)
The title of the content.
|
void |
setUrl(String url)
The URL of the content.
|
void |
setUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
|
String |
toString()
Returns a string representation of this object.
|
ContentData |
withContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
|
ContentData |
withContentId(String contentId)
The identifier of the content.
|
ContentData |
withContentType(String contentType)
The media type of the content.
|
ContentData |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
ContentData |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
ContentData |
withLinkOutUri(String linkOutUri)
The URI of the content.
|
ContentData |
withMetadata(Map<String,String> metadata)
A key/value map to store attributes without affecting tagging or recommendations.
|
ContentData |
withName(String name)
The name of the content.
|
ContentData |
withRevisionId(String revisionId)
The identifier of the content revision.
|
ContentData |
withStatus(ContentStatus status)
The status of the content.
|
ContentData |
withStatus(String status)
The status of the content.
|
ContentData |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
ContentData |
withTitle(String title)
The title of the content.
|
ContentData |
withUrl(String url)
The URL of the content.
|
ContentData |
withUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
|
public void setContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
contentArn
- The Amazon Resource Name (ARN) of the content.public String getContentArn()
The Amazon Resource Name (ARN) of the content.
public ContentData withContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
contentArn
- The Amazon Resource Name (ARN) of the content.public void setContentId(String contentId)
The identifier of the content.
contentId
- The identifier of the content.public String getContentId()
The identifier of the content.
public ContentData withContentId(String contentId)
The identifier of the content.
contentId
- The identifier of the content.public void setContentType(String contentType)
The media type of the content.
contentType
- The media type of the content.public String getContentType()
The media type of the content.
public ContentData withContentType(String contentType)
The media type of the content.
contentType
- The media type of the content.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 ContentData 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.
knowledgeBaseId
- The identifier of the knowledge base.public String getKnowledgeBaseId()
The identifier of the knowledge base.
public ContentData withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
knowledgeBaseId
- The identifier of the knowledge base.public void setLinkOutUri(String linkOutUri)
The URI of the content.
linkOutUri
- The URI of the content.public String getLinkOutUri()
The URI of the content.
public ContentData withLinkOutUri(String linkOutUri)
The URI of the content.
linkOutUri
- The URI of the content.public Map<String,String> getMetadata()
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
public void setMetadata(Map<String,String> metadata)
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
metadata
- A key/value map to store attributes without affecting tagging or recommendations. For example, when
synchronizing data between an external system and Amazon Q in Connect, you can store an external version
identifier as metadata to utilize for determining drift.public ContentData withMetadata(Map<String,String> metadata)
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
metadata
- A key/value map to store attributes without affecting tagging or recommendations. For example, when
synchronizing data between an external system and Amazon Q in Connect, you can store an external version
identifier as metadata to utilize for determining drift.public ContentData addMetadataEntry(String key, String value)
public ContentData clearMetadataEntries()
public void setName(String name)
The name of the content.
name
- The name of the content.public String getName()
The name of the content.
public ContentData withName(String name)
The name of the content.
name
- The name of the content.public void setRevisionId(String revisionId)
The identifier of the content revision.
revisionId
- The identifier of the content revision.public String getRevisionId()
The identifier of the content revision.
public ContentData withRevisionId(String revisionId)
The identifier of the content revision.
revisionId
- The identifier of the content revision.public void setStatus(String status)
The status of the content.
status
- The status of the content.ContentStatus
public String getStatus()
The status of the content.
ContentStatus
public ContentData withStatus(String status)
The status of the content.
status
- The status of the content.ContentStatus
public ContentData withStatus(ContentStatus status)
The status of the content.
status
- The status of the content.ContentStatus
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 ContentData 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 ContentData addTagsEntry(String key, String value)
public ContentData clearTagsEntries()
public void setTitle(String title)
The title of the content.
title
- The title of the content.public String getTitle()
The title of the content.
public ContentData withTitle(String title)
The title of the content.
title
- The title of the content.public void setUrl(String url)
The URL of the content.
url
- The URL of the content.public String getUrl()
The URL of the content.
public ContentData withUrl(String url)
The URL of the content.
url
- The URL of the content.public void setUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
urlExpiry
- The expiration time of the URL as an epoch timestamp.public Date getUrlExpiry()
The expiration time of the URL as an epoch timestamp.
public ContentData withUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
urlExpiry
- The expiration time of the URL as an epoch timestamp.public String toString()
toString
in class Object
Object.toString()
public ContentData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.