@Generated(value="software.amazon.awssdk:codegen") public final class ConfluenceAttachmentConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfluenceAttachmentConfiguration.Builder,ConfluenceAttachmentConfiguration>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfluenceAttachmentConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<ConfluenceAttachmentToIndexFieldMapping> |
attachmentFieldMappings()
Defines how attachment metadata fields should be mapped to index fields.
|
static ConfluenceAttachmentConfiguration.Builder |
builder() |
Boolean |
crawlAttachments()
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttachmentFieldMappings()
Returns true if the AttachmentFieldMappings property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConfluenceAttachmentConfiguration.Builder> |
serializableBuilderClass() |
ConfluenceAttachmentConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean crawlAttachments()
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
public final boolean hasAttachmentFieldMappings()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttachmentFieldMappings() to see if a value was sent in this field.
UpdateIndex
operation.
If you specify the AttachentFieldMappings parameter, you must specify at least one field
mapping.
public ConfluenceAttachmentConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConfluenceAttachmentConfiguration.Builder,ConfluenceAttachmentConfiguration>public static ConfluenceAttachmentConfiguration.Builder builder()
public static Class<? extends ConfluenceAttachmentConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.