@Generated(value="software.amazon.awssdk:codegen") public final class ConfluencePageToIndexFieldMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfluencePageToIndexFieldMapping.Builder,ConfluencePageToIndexFieldMapping>
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 |
ConfluencePageToIndexFieldMapping.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConfluencePageToIndexFieldMapping.Builder |
builder() |
ConfluencePageFieldName |
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 ConfluencePageToIndexFieldMapping.Builder> |
serializableBuilderClass() |
ConfluencePageToIndexFieldMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ConfluencePageFieldName dataSourceFieldName()
The name of the field in the data source.
If the service returns an enum value that is not available in the current SDK version,
dataSourceFieldName will return ConfluencePageFieldName.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataSourceFieldNameAsString().
ConfluencePageFieldNamepublic final String dataSourceFieldNameAsString()
The name of the field in the data source.
If the service returns an enum value that is not available in the current SDK version,
dataSourceFieldName will return ConfluencePageFieldName.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataSourceFieldNameAsString().
ConfluencePageFieldNamepublic 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 ConfluencePageToIndexFieldMapping.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConfluencePageToIndexFieldMapping.Builder,ConfluencePageToIndexFieldMapping>public static ConfluencePageToIndexFieldMapping.Builder builder()
public static Class<? extends ConfluencePageToIndexFieldMapping.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.