@Generated(value="software.amazon.awssdk:codegen") public final class ConfluenceAttachmentToIndexFieldMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfluenceAttachmentToIndexFieldMapping.Builder,ConfluenceAttachmentToIndexFieldMapping>
Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.
You must first create the index field using the UpdateIndex operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfluenceAttachmentToIndexFieldMapping.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConfluenceAttachmentToIndexFieldMapping.Builder |
builder() |
ConfluenceAttachmentFieldName |
dataSourceFieldName()
The name of the field in the data source.
|
String |
dataSourceFieldNameAsString()
The name of the field in the data source.
|
String |
dateFieldFormat()
The format for date fields in the data source.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
indexFieldName()
The name of the index field to map to the Confluence data source field.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConfluenceAttachmentToIndexFieldMapping.Builder> |
serializableBuilderClass() |
ConfluenceAttachmentToIndexFieldMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ConfluenceAttachmentFieldName dataSourceFieldName()
The name of the field in the data source.
You must first create the index field using the UpdateIndex operation.
If the service returns an enum value that is not available in the current SDK version,
dataSourceFieldName will return ConfluenceAttachmentFieldName.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from dataSourceFieldNameAsString().
You must first create the index field using the UpdateIndex operation.
ConfluenceAttachmentFieldNamepublic final String dataSourceFieldNameAsString()
The name of the field in the data source.
You must first create the index field using the UpdateIndex operation.
If the service returns an enum value that is not available in the current SDK version,
dataSourceFieldName will return ConfluenceAttachmentFieldName.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from dataSourceFieldNameAsString().
You must first create the index field using the UpdateIndex operation.
ConfluenceAttachmentFieldNamepublic final String dateFieldFormat()
The format for date fields in the data source. If the field specified in DataSourceFieldName is a
date field you must specify the date format. If the field is not a date field, an exception is thrown.
DataSourceFieldName
is a date field you must specify the date format. If the field is not a date field, an exception is
thrown.public final String indexFieldName()
The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.
public ConfluenceAttachmentToIndexFieldMapping.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConfluenceAttachmentToIndexFieldMapping.Builder,ConfluenceAttachmentToIndexFieldMapping>public static ConfluenceAttachmentToIndexFieldMapping.Builder builder()
public static Class<? extends ConfluenceAttachmentToIndexFieldMapping.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.