@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentReference extends Object implements Serializable, Cloneable, StructuredPojo
Reference information about the content.
Constructor and Description |
---|
ContentReference() |
Modifier and Type | Method and Description |
---|---|
ContentReference |
clone() |
boolean |
equals(Object obj) |
String |
getContentArn()
The Amazon Resource Name (ARN) of the content.
|
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.
|
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 |
setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
String |
toString()
Returns a string representation of this object.
|
ContentReference |
withContentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
|
ContentReference |
withContentId(String contentId)
The identifier of the content.
|
ContentReference |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
ContentReference |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
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 ContentReference 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 ContentReference 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 ContentReference 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 ContentReference 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 String toString()
toString
in class Object
Object.toString()
public ContentReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.