@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentAssociationSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a content association.
Constructor and Description |
---|
ContentAssociationSummary() |
Modifier and Type | Method and Description |
---|---|
ContentAssociationSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ContentAssociationSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ContentAssociationSummary |
clone() |
boolean |
equals(Object obj) |
ContentAssociationContents |
getAssociationData()
The content association.
|
String |
getAssociationType()
The type of association.
|
String |
getContentArn()
The Amazon Resource Name (ARN) of the content.
|
String |
getContentAssociationArn()
The Amazon Resource Name (ARN) of the content association.
|
String |
getContentAssociationId()
The identifier of the content association.
|
String |
getContentId()
The identifier 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> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationData(ContentAssociationContents associationData)
The content association.
|
void |
setAssociationType(String associationType)
The type of association.
|
void |
setContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
|
void |
setContentAssociationArn(String contentAssociationArn)
The Amazon Resource Name (ARN) of the content association.
|
void |
setContentAssociationId(String contentAssociationId)
The identifier of the content association.
|
void |
setContentId(String contentId)
The identifier 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 |
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.
|
ContentAssociationSummary |
withAssociationData(ContentAssociationContents associationData)
The content association.
|
ContentAssociationSummary |
withAssociationType(ContentAssociationType associationType)
The type of association.
|
ContentAssociationSummary |
withAssociationType(String associationType)
The type of association.
|
ContentAssociationSummary |
withContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
|
ContentAssociationSummary |
withContentAssociationArn(String contentAssociationArn)
The Amazon Resource Name (ARN) of the content association.
|
ContentAssociationSummary |
withContentAssociationId(String contentAssociationId)
The identifier of the content association.
|
ContentAssociationSummary |
withContentId(String contentId)
The identifier of the content.
|
ContentAssociationSummary |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
ContentAssociationSummary |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
ContentAssociationSummary |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
public void setAssociationData(ContentAssociationContents associationData)
The content association.
associationData
- The content association.public ContentAssociationContents getAssociationData()
The content association.
public ContentAssociationSummary withAssociationData(ContentAssociationContents associationData)
The content association.
associationData
- The content association.public void setAssociationType(String associationType)
The type of association.
associationType
- The type of association.ContentAssociationType
public String getAssociationType()
The type of association.
ContentAssociationType
public ContentAssociationSummary withAssociationType(String associationType)
The type of association.
associationType
- The type of association.ContentAssociationType
public ContentAssociationSummary withAssociationType(ContentAssociationType associationType)
The type of association.
associationType
- The type of association.ContentAssociationType
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 ContentAssociationSummary withContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
contentArn
- The Amazon Resource Name (ARN) of the content.public void setContentAssociationArn(String contentAssociationArn)
The Amazon Resource Name (ARN) of the content association.
contentAssociationArn
- The Amazon Resource Name (ARN) of the content association.public String getContentAssociationArn()
The Amazon Resource Name (ARN) of the content association.
public ContentAssociationSummary withContentAssociationArn(String contentAssociationArn)
The Amazon Resource Name (ARN) of the content association.
contentAssociationArn
- The Amazon Resource Name (ARN) of the content association.public void setContentAssociationId(String contentAssociationId)
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentAssociationId
- The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getContentAssociationId()
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
public ContentAssociationSummary withContentAssociationId(String contentAssociationId)
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentAssociationId
- The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.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 ContentAssociationSummary withContentId(String contentId)
The identifier of the content.
contentId
- The identifier 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 ContentAssociationSummary 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 ContentAssociationSummary withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
knowledgeBaseId
- The identifier of the knowledge base.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 ContentAssociationSummary 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 ContentAssociationSummary addTagsEntry(String key, String value)
public ContentAssociationSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ContentAssociationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.