@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfluenceAttachmentToIndexFieldMapping extends Object implements Serializable, Cloneable, StructuredPojo
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 Confuence
data source field names must exist in your Confluence custom metadata.
| Constructor and Description |
|---|
ConfluenceAttachmentToIndexFieldMapping() |
| Modifier and Type | Method and Description |
|---|---|
ConfluenceAttachmentToIndexFieldMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceFieldName()
The name of the field in the data source.
|
String |
getDateFieldFormat()
The format for date fields in the data source.
|
String |
getIndexFieldName()
The name of the index field to map to the Confluence data source field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source.
|
void |
setDateFieldFormat(String dateFieldFormat)
The format for date fields in the data source.
|
void |
setIndexFieldName(String indexFieldName)
The name of the index field to map to the Confluence data source field.
|
String |
toString()
Returns a string representation of this object.
|
ConfluenceAttachmentToIndexFieldMapping |
withDataSourceFieldName(ConfluenceAttachmentFieldName dataSourceFieldName)
The name of the field in the data source.
|
ConfluenceAttachmentToIndexFieldMapping |
withDataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source.
|
ConfluenceAttachmentToIndexFieldMapping |
withDateFieldFormat(String dateFieldFormat)
The format for date fields in the data source.
|
ConfluenceAttachmentToIndexFieldMapping |
withIndexFieldName(String indexFieldName)
The name of the index field to map to the Confluence data source field.
|
public ConfluenceAttachmentToIndexFieldMapping()
public void setDataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source.
You must first create the index field using the UpdateIndex API.
dataSourceFieldName - The name of the field in the data source.
You must first create the index field using the UpdateIndex API.
ConfluenceAttachmentFieldNamepublic String getDataSourceFieldName()
The name of the field in the data source.
You must first create the index field using the UpdateIndex API.
You must first create the index field using the UpdateIndex API.
ConfluenceAttachmentFieldNamepublic ConfluenceAttachmentToIndexFieldMapping withDataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source.
You must first create the index field using the UpdateIndex API.
dataSourceFieldName - The name of the field in the data source.
You must first create the index field using the UpdateIndex API.
ConfluenceAttachmentFieldNamepublic ConfluenceAttachmentToIndexFieldMapping withDataSourceFieldName(ConfluenceAttachmentFieldName dataSourceFieldName)
The name of the field in the data source.
You must first create the index field using the UpdateIndex API.
dataSourceFieldName - The name of the field in the data source.
You must first create the index field using the UpdateIndex API.
ConfluenceAttachmentFieldNamepublic void setDateFieldFormat(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.
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.public String getDateFieldFormat()
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 ConfluenceAttachmentToIndexFieldMapping withDateFieldFormat(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.
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.public void setIndexFieldName(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.
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 String getIndexFieldName()
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 withIndexFieldName(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.
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 String toString()
toString in class ObjectObject.toString()public ConfluenceAttachmentToIndexFieldMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.