@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfluenceAttachmentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration of attachment settings for the Confluence data source. Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.
| Constructor and Description |
|---|
ConfluenceAttachmentConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ConfluenceAttachmentConfiguration |
clone() |
boolean |
equals(Object obj) |
List<ConfluenceAttachmentToIndexFieldMapping> |
getAttachmentFieldMappings()
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.
|
Boolean |
getCrawlAttachments()
TRUE to index attachments of pages and blogs in Confluence. |
int |
hashCode() |
Boolean |
isCrawlAttachments()
TRUE to index attachments of pages and blogs in Confluence. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings)
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.
|
void |
setCrawlAttachments(Boolean crawlAttachments)
TRUE to index attachments of pages and blogs in Confluence. |
String |
toString()
Returns a string representation of this object.
|
ConfluenceAttachmentConfiguration |
withAttachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings)
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.
|
ConfluenceAttachmentConfiguration |
withAttachmentFieldMappings(ConfluenceAttachmentToIndexFieldMapping... attachmentFieldMappings)
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.
|
ConfluenceAttachmentConfiguration |
withCrawlAttachments(Boolean crawlAttachments)
TRUE to index attachments of pages and blogs in Confluence. |
public void setCrawlAttachments(Boolean crawlAttachments)
TRUE to index attachments of pages and blogs in Confluence.
crawlAttachments - TRUE to index attachments of pages and blogs in Confluence.public Boolean getCrawlAttachments()
TRUE to index attachments of pages and blogs in Confluence.
TRUE to index attachments of pages and blogs in Confluence.public ConfluenceAttachmentConfiguration withCrawlAttachments(Boolean crawlAttachments)
TRUE to index attachments of pages and blogs in Confluence.
crawlAttachments - TRUE to index attachments of pages and blogs in Confluence.public Boolean isCrawlAttachments()
TRUE to index attachments of pages and blogs in Confluence.
TRUE to index attachments of pages and blogs in Confluence.public List<ConfluenceAttachmentToIndexFieldMapping> getAttachmentFieldMappings()
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.
UpdateIndex API before you map to Confluence fields. For more
information, see Mapping data
source fields. The Confluence data source field names must exist in your Confluence custom
metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field
mapping.
public void setAttachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings)
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.
attachmentFieldMappings - Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex API before you map to Confluence fields. For more
information, see Mapping data
source fields. The Confluence data source field names must exist in your Confluence custom
metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field
mapping.
public ConfluenceAttachmentConfiguration withAttachmentFieldMappings(ConfluenceAttachmentToIndexFieldMapping... attachmentFieldMappings)
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.
NOTE: This method appends the values to the existing list (if any). Use
setAttachmentFieldMappings(java.util.Collection) or
withAttachmentFieldMappings(java.util.Collection) if you want to override the existing values.
attachmentFieldMappings - Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex API before you map to Confluence fields. For more
information, see Mapping data
source fields. The Confluence data source field names must exist in your Confluence custom
metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field
mapping.
public ConfluenceAttachmentConfiguration withAttachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings)
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The
Confluence data source field names must exist in your Confluence custom metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.
attachmentFieldMappings - Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex API before you map to Confluence fields. For more
information, see Mapping data
source fields. The Confluence data source field names must exist in your Confluence custom
metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field
mapping.
public String toString()
toString in class ObjectObject.toString()public ConfluenceAttachmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.