@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceStandardKnowledgeArticleTypeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for standard Salesforce knowledge articles.
Constructor and Description |
---|
SalesforceStandardKnowledgeArticleTypeConfiguration() |
Modifier and Type | Method and Description |
---|---|
SalesforceStandardKnowledgeArticleTypeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentDataFieldName()
The name of the field that contains the document data to index.
|
String |
getDocumentTitleFieldName()
The name of the field that contains the document title.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
Maps attributes or field names of the knowledge article to Amazon Kendra index field names.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentDataFieldName(String documentDataFieldName)
The name of the field that contains the document data to index.
|
void |
setDocumentTitleFieldName(String documentTitleFieldName)
The name of the field that contains the document title.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the knowledge article to Amazon Kendra index field names.
|
String |
toString()
Returns a string representation of this object.
|
SalesforceStandardKnowledgeArticleTypeConfiguration |
withDocumentDataFieldName(String documentDataFieldName)
The name of the field that contains the document data to index.
|
SalesforceStandardKnowledgeArticleTypeConfiguration |
withDocumentTitleFieldName(String documentTitleFieldName)
The name of the field that contains the document title.
|
SalesforceStandardKnowledgeArticleTypeConfiguration |
withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the knowledge article to Amazon Kendra index field names.
|
SalesforceStandardKnowledgeArticleTypeConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Maps attributes or field names of the knowledge article to Amazon Kendra index field names.
|
public SalesforceStandardKnowledgeArticleTypeConfiguration()
public void setDocumentDataFieldName(String documentDataFieldName)
The name of the field that contains the document data to index.
documentDataFieldName
- The name of the field that contains the document data to index.public String getDocumentDataFieldName()
The name of the field that contains the document data to index.
public SalesforceStandardKnowledgeArticleTypeConfiguration withDocumentDataFieldName(String documentDataFieldName)
The name of the field that contains the document data to index.
documentDataFieldName
- The name of the field that contains the document data to index.public void setDocumentTitleFieldName(String documentTitleFieldName)
The name of the field that contains the document title.
documentTitleFieldName
- The name of the field that contains the document title.public String getDocumentTitleFieldName()
The name of the field that contains the document title.
public SalesforceStandardKnowledgeArticleTypeConfiguration withDocumentTitleFieldName(String documentTitleFieldName)
The name of the field that contains the document title.
documentTitleFieldName
- The name of the field that contains the document title.public List<DataSourceToIndexFieldMapping> getFieldMappings()
Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
UpdateIndex
API before you map to Salesforce fields. For more
information, see Mapping data
source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
fieldMappings
- Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex
API before you map to Salesforce fields. For more
information, see Mapping data
source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public SalesforceStandardKnowledgeArticleTypeConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
NOTE: This method appends the values to the existing list (if any). Use
setFieldMappings(java.util.Collection)
or withFieldMappings(java.util.Collection)
if you want
to override the existing values.
fieldMappings
- Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex
API before you map to Salesforce fields. For more
information, see Mapping data
source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public SalesforceStandardKnowledgeArticleTypeConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create custom
fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields. The
Salesforce data source field names must exist in your Salesforce custom metadata.
fieldMappings
- Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex
API before you map to Salesforce fields. For more
information, see Mapping data
source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.public String toString()
toString
in class Object
Object.toString()
public SalesforceStandardKnowledgeArticleTypeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.