@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfluenceAttachmentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the 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()
Defines how attachment metadata fields should be mapped to index fields.
|
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)
Defines how attachment metadata fields should be mapped to index fields.
|
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)
Defines how attachment metadata fields should be mapped to index fields.
|
ConfluenceAttachmentConfiguration |
withAttachmentFieldMappings(ConfluenceAttachmentToIndexFieldMapping... attachmentFieldMappings)
Defines how attachment metadata fields should be mapped to index fields.
|
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()
Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must
first create an index field with a matching type using the console or the UpdateIndex
operation.
If you specify the AttachentFieldMappings
parameter, you must specify at least one field mapping.
UpdateIndex
operation.
If you specify the AttachentFieldMappings
parameter, you must specify at least one field
mapping.
public void setAttachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings)
Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must
first create an index field with a matching type using the console or the UpdateIndex
operation.
If you specify the AttachentFieldMappings
parameter, you must specify at least one field mapping.
attachmentFieldMappings
- Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you
must first create an index field with a matching type using the console or the UpdateIndex
operation.
If you specify the AttachentFieldMappings
parameter, you must specify at least one field
mapping.
public ConfluenceAttachmentConfiguration withAttachmentFieldMappings(ConfluenceAttachmentToIndexFieldMapping... attachmentFieldMappings)
Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must
first create an index field with a matching type using the console or the UpdateIndex
operation.
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
- Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you
must first create an index field with a matching type using the console or the UpdateIndex
operation.
If you specify the AttachentFieldMappings
parameter, you must specify at least one field
mapping.
public ConfluenceAttachmentConfiguration withAttachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings)
Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must
first create an index field with a matching type using the console or the UpdateIndex
operation.
If you specify the AttachentFieldMappings
parameter, you must specify at least one field mapping.
attachmentFieldMappings
- Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you
must first create an index field with a matching type using the console or the UpdateIndex
operation.
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.