@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceCustomKnowledgeArticleTypeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information for indexing Salesforce custom articles.
| Constructor and Description |
|---|
SalesforceCustomKnowledgeArticleTypeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SalesforceCustomKnowledgeArticleTypeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentDataFieldName()
The name of the field in the custom knowledge article that contains the document data to index.
|
String |
getDocumentTitleFieldName()
The name of the field in the custom knowledge article that contains the document title.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
|
String |
getName()
The name of the configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDocumentDataFieldName(String documentDataFieldName)
The name of the field in the custom knowledge article that contains the document data to index.
|
void |
setDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the custom knowledge article that contains the document title.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
|
void |
setName(String name)
The name of the configuration.
|
String |
toString()
Returns a string representation of this object.
|
SalesforceCustomKnowledgeArticleTypeConfiguration |
withDocumentDataFieldName(String documentDataFieldName)
The name of the field in the custom knowledge article that contains the document data to index.
|
SalesforceCustomKnowledgeArticleTypeConfiguration |
withDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the custom knowledge article that contains the document title.
|
SalesforceCustomKnowledgeArticleTypeConfiguration |
withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
|
SalesforceCustomKnowledgeArticleTypeConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
|
SalesforceCustomKnowledgeArticleTypeConfiguration |
withName(String name)
The name of the configuration.
|
public SalesforceCustomKnowledgeArticleTypeConfiguration()
public void setName(String name)
The name of the configuration.
name - The name of the configuration.public String getName()
The name of the configuration.
public SalesforceCustomKnowledgeArticleTypeConfiguration withName(String name)
The name of the configuration.
name - The name of the configuration.public void setDocumentDataFieldName(String documentDataFieldName)
The name of the field in the custom knowledge article that contains the document data to index.
documentDataFieldName - The name of the field in the custom knowledge article that contains the document data to index.public String getDocumentDataFieldName()
The name of the field in the custom knowledge article that contains the document data to index.
public SalesforceCustomKnowledgeArticleTypeConfiguration withDocumentDataFieldName(String documentDataFieldName)
The name of the field in the custom knowledge article that contains the document data to index.
documentDataFieldName - The name of the field in the custom knowledge article that contains the document data to index.public void setDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the custom knowledge article that contains the document title.
documentTitleFieldName - The name of the field in the custom knowledge article that contains the document title.public String getDocumentTitleFieldName()
The name of the field in the custom knowledge article that contains the document title.
public SalesforceCustomKnowledgeArticleTypeConfiguration withDocumentTitleFieldName(String documentTitleFieldName)
The name of the field in the custom knowledge article that contains the document title.
documentTitleFieldName - The name of the field in the custom knowledge article that contains the document title.public List<DataSourceToIndexFieldMapping> getFieldMappings()
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
fieldMappings - One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.public SalesforceCustomKnowledgeArticleTypeConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
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 custom knowledge article to fields in the Amazon Kendra index.public SalesforceCustomKnowledgeArticleTypeConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
fieldMappings - One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.public String toString()
toString in class ObjectObject.toString()public SalesforceCustomKnowledgeArticleTypeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.