@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentAssociationData extends Object implements Serializable, Cloneable, StructuredPojo
Information about the content association.
Constructor and Description |
---|
ContentAssociationData() |
Modifier and Type | Method and Description |
---|---|
ContentAssociationData |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ContentAssociationData |
clearTagsEntries()
Removes all the entries added into Tags.
|
ContentAssociationData |
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.
|
ContentAssociationData |
withAssociationData(ContentAssociationContents associationData)
The content association.
|
ContentAssociationData |
withAssociationType(ContentAssociationType associationType)
The type of association.
|
ContentAssociationData |
withAssociationType(String associationType)
The type of association.
|
ContentAssociationData |
withContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
|
ContentAssociationData |
withContentAssociationArn(String contentAssociationArn)
The Amazon Resource Name (ARN) of the content association.
|
ContentAssociationData |
withContentAssociationId(String contentAssociationId)
The identifier of the content association.
|
ContentAssociationData |
withContentId(String contentId)
The identifier of the content.
|
ContentAssociationData |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
ContentAssociationData |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
ContentAssociationData |
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 ContentAssociationData 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 ContentAssociationData withAssociationType(String associationType)
The type of association.
associationType
- The type of association.ContentAssociationType
public ContentAssociationData 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 ContentAssociationData 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 ContentAssociationData 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 ContentAssociationData 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 ContentAssociationData 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 ContentAssociationData 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 ContentAssociationData 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 ContentAssociationData 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 ContentAssociationData addTagsEntry(String key, String value)
public ContentAssociationData clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ContentAssociationData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.