@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfluenceBlogToIndexFieldMapping extends Object implements Serializable, Cloneable, StructuredPojo
Maps attributes or field names of Confluence blog 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 Confluence
data source field names must exist in your Confluence custom metadata.
Constructor and Description |
---|
ConfluenceBlogToIndexFieldMapping() |
Modifier and Type | Method and Description |
---|---|
ConfluenceBlogToIndexFieldMapping |
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.
|
ConfluenceBlogToIndexFieldMapping |
withDataSourceFieldName(ConfluenceBlogFieldName dataSourceFieldName)
The name of the field in the data source.
|
ConfluenceBlogToIndexFieldMapping |
withDataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source.
|
ConfluenceBlogToIndexFieldMapping |
withDateFieldFormat(String dateFieldFormat)
The format for date fields in the data source.
|
ConfluenceBlogToIndexFieldMapping |
withIndexFieldName(String indexFieldName)
The name of the index field to map to the Confluence data source field.
|
public void setDataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source.
dataSourceFieldName
- The name of the field in the data source.ConfluenceBlogFieldName
public String getDataSourceFieldName()
The name of the field in the data source.
ConfluenceBlogFieldName
public ConfluenceBlogToIndexFieldMapping withDataSourceFieldName(String dataSourceFieldName)
The name of the field in the data source.
dataSourceFieldName
- The name of the field in the data source.ConfluenceBlogFieldName
public ConfluenceBlogToIndexFieldMapping withDataSourceFieldName(ConfluenceBlogFieldName dataSourceFieldName)
The name of the field in the data source.
dataSourceFieldName
- The name of the field in the data source.ConfluenceBlogFieldName
public 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 ConfluenceBlogToIndexFieldMapping 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 ConfluenceBlogToIndexFieldMapping 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 Object
Object.toString()
public ConfluenceBlogToIndexFieldMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.