@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about the content.
Constructor and Description |
---|
ContentSummary() |
Modifier and Type | Method and Description |
---|---|
ContentSummary |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
ContentSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ContentSummary |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
ContentSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ContentSummary |
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.
|
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 revision of the content.
|
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.
|
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 |
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 revision of the content.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
ContentSummary |
withContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
|
ContentSummary |
withContentId(String contentId)
The identifier of the content.
|
ContentSummary |
withContentType(String contentType)
The media type of the content.
|
ContentSummary |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
ContentSummary |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
ContentSummary |
withMetadata(Map<String,String> metadata)
A key/value map to store attributes without affecting tagging or recommendations.
|
ContentSummary |
withName(String name)
The name of the content.
|
ContentSummary |
withRevisionId(String revisionId)
The identifier of the revision of the content.
|
ContentSummary |
withStatus(ContentStatus status)
The status of the content.
|
ContentSummary |
withStatus(String status)
The status of the content.
|
ContentSummary |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
ContentSummary |
withTitle(String title)
The title of the content.
|
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 ContentSummary 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 ContentSummary 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 ContentSummary 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 ContentSummary 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 ContentSummary 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 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 Wisdom, 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 Wisdom, 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 Wisdom, you can store an external version identifier as
metadata to utilize for determining drift.public ContentSummary 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 Wisdom, 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 Wisdom, you can store an external version identifier as
metadata to utilize for determining drift.public ContentSummary addMetadataEntry(String key, String value)
public ContentSummary 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 ContentSummary withName(String name)
The name of the content.
name
- The name of the content.public void setRevisionId(String revisionId)
The identifier of the revision of the content.
revisionId
- The identifier of the revision of the content.public String getRevisionId()
The identifier of the revision of the content.
public ContentSummary withRevisionId(String revisionId)
The identifier of the revision of the content.
revisionId
- The identifier of the revision of the content.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 ContentSummary withStatus(String status)
The status of the content.
status
- The status of the content.ContentStatus
public ContentSummary 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 ContentSummary 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 ContentSummary addTagsEntry(String key, String value)
public ContentSummary 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 ContentSummary withTitle(String title)
The title of the content.
title
- The title of the content.public String toString()
toString
in class Object
Object.toString()
public ContentSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.