@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfluencePageConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration of the page settings for the Confluence data source.
Constructor and Description |
---|
ConfluencePageConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConfluencePageConfiguration |
clone() |
boolean |
equals(Object obj) |
List<ConfluencePageToIndexFieldMapping> |
getPageFieldMappings()
Maps attributes or field names of Confluence pages to Amazon Kendra index field names.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPageFieldMappings(Collection<ConfluencePageToIndexFieldMapping> pageFieldMappings)
Maps attributes or field names of Confluence pages to Amazon Kendra index field names.
|
String |
toString()
Returns a string representation of this object.
|
ConfluencePageConfiguration |
withPageFieldMappings(Collection<ConfluencePageToIndexFieldMapping> pageFieldMappings)
Maps attributes or field names of Confluence pages to Amazon Kendra index field names.
|
ConfluencePageConfiguration |
withPageFieldMappings(ConfluencePageToIndexFieldMapping... pageFieldMappings)
Maps attributes or field names of Confluence pages to Amazon Kendra index field names.
|
public List<ConfluencePageToIndexFieldMapping> getPageFieldMappings()
Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
public void setPageFieldMappings(Collection<ConfluencePageToIndexFieldMapping> pageFieldMappings)
Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
pageFieldMappings
- Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
public ConfluencePageConfiguration withPageFieldMappings(ConfluencePageToIndexFieldMapping... pageFieldMappings)
Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
NOTE: This method appends the values to the existing list (if any). Use
setPageFieldMappings(java.util.Collection)
or withPageFieldMappings(java.util.Collection)
if
you want to override the existing values.
pageFieldMappings
- Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
public ConfluencePageConfiguration withPageFieldMappings(Collection<ConfluencePageToIndexFieldMapping> pageFieldMappings)
Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
pageFieldMappings
- Maps attributes or field names of Confluence pages 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.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
public String toString()
toString
in class Object
Object.toString()
public ConfluencePageConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.