/AWS1/CL_QQBDOCUMENT¶
A document in an Amazon Q Business application.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/QQBDOCUMENTID /AWS1/QQBDOCUMENTID¶
The identifier of the document.
Optional arguments:¶
it_attributes TYPE /AWS1/CL_QQBDOCUMENTATTRIBUTE=>TT_DOCUMENTATTRIBUTES TT_DOCUMENTATTRIBUTES¶
Custom attributes to apply to the document for refining Amazon Q Business web experience responses.
io_content TYPE REF TO /AWS1/CL_QQBDOCUMENTCONTENT /AWS1/CL_QQBDOCUMENTCONTENT¶
The contents of the document.
iv_contenttype TYPE /AWS1/QQBCONTENTTYPE /AWS1/QQBCONTENTTYPE¶
The file type of the document in the Blob field.
If you want to index snippets or subsets of HTML documents instead of the entirety of the HTML documents, you add the
HTMLstart and closing tags (<HTML>content</HTML>) around the content.
iv_title TYPE /AWS1/QQBTITLE /AWS1/QQBTITLE¶
The title of the document.
io_accessconfiguration TYPE REF TO /AWS1/CL_QQBACCESSCONF /AWS1/CL_QQBACCESSCONF¶
Configuration information for access permission to a document.
io_documentenrichmentconf TYPE REF TO /AWS1/CL_QQBDOCENRICHMENTCONF /AWS1/CL_QQBDOCENRICHMENTCONF¶
The configuration information for altering document metadata and content during the document ingestion process.
io_mediaextractionconf TYPE REF TO /AWS1/CL_QQBMEDIAEXTRACTCONF /AWS1/CL_QQBMEDIAEXTRACTCONF¶
The configuration for extracting information from media in the document.
Queryable Attributes¶
id¶
The identifier of the document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ID() |
Getter for ID, with configurable default |
ASK_ID() |
Getter for ID w/ exceptions if field has no value |
HAS_ID() |
Determine if ID has a value |
attributes¶
Custom attributes to apply to the document for refining Amazon Q Business web experience responses.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTRIBUTES() |
Getter for ATTRIBUTES, with configurable default |
ASK_ATTRIBUTES() |
Getter for ATTRIBUTES w/ exceptions if field has no value |
HAS_ATTRIBUTES() |
Determine if ATTRIBUTES has a value |
content¶
The contents of the document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENT() |
Getter for CONTENT |
contentType¶
The file type of the document in the Blob field.
If you want to index snippets or subsets of HTML documents instead of the entirety of the HTML documents, you add the
HTMLstart and closing tags (<HTML>content</HTML>) around the content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENTTYPE() |
Getter for CONTENTTYPE, with configurable default |
ASK_CONTENTTYPE() |
Getter for CONTENTTYPE w/ exceptions if field has no value |
HAS_CONTENTTYPE() |
Determine if CONTENTTYPE has a value |
title¶
The title of the document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TITLE() |
Getter for TITLE, with configurable default |
ASK_TITLE() |
Getter for TITLE w/ exceptions if field has no value |
HAS_TITLE() |
Determine if TITLE has a value |
accessConfiguration¶
Configuration information for access permission to a document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ACCESSCONFIGURATION() |
Getter for ACCESSCONFIGURATION |
documentEnrichmentConfiguration¶
The configuration information for altering document metadata and content during the document ingestion process.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DOCUMENTENRICHMENTCONF() |
Getter for DOCUMENTENRICHMENTCONF |
mediaExtractionConfiguration¶
The configuration for extracting information from media in the document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MEDIAEXTRACTIONCONF() |
Getter for MEDIAEXTRACTIONCONFIGURATION |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_DOCUMENTS¶
TYPES TT_DOCUMENTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_QQBDOCUMENT WITH DEFAULT KEY
.