@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()
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
|
int |
hashCode() |
Boolean |
isCrawlAttachments()
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
|
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)
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
|
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)
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
|
public void setCrawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
crawlAttachments
- Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.public Boolean getCrawlAttachments()
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
public ConfluenceAttachmentConfiguration withCrawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
crawlAttachments
- Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.public Boolean isCrawlAttachments()
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
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 Object
Object.toString()
public ConfluenceAttachmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.