@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceStandardKnowledgeArticleTypeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides 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()
One or more objects that map fields in the knowledge article to Amazon Kendra index fields.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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)
One or more objects that map fields in the knowledge article to Amazon Kendra index fields.
|
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)
One or more objects that map fields in the knowledge article to Amazon Kendra index fields.
|
SalesforceStandardKnowledgeArticleTypeConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
One or more objects that map fields in the knowledge article to Amazon Kendra index fields.
|
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()
One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
fieldMappings - One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index
field must exist before you can map a Salesforce field to it.public SalesforceStandardKnowledgeArticleTypeConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
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 - One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index
field must exist before you can map a Salesforce field to it.public SalesforceStandardKnowledgeArticleTypeConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
fieldMappings - One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index
field must exist before you can map a Salesforce field to it.public String toString()
toString in class ObjectObject.toString()public SalesforceStandardKnowledgeArticleTypeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.