@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceCustomKnowledgeArticleTypeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceCustomKnowledgeArticleTypeConfiguration.Builder,SalesforceCustomKnowledgeArticleTypeConfiguration>
Provides configuration information for indexing Salesforce custom articles.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
builder() |
String |
documentDataFieldName()
The name of the field in the custom knowledge article that contains the document data to index.
|
String |
documentTitleFieldName()
The name of the field in the custom knowledge article that contains the document title.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<DataSourceToIndexFieldMapping> |
fieldMappings()
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFieldMappings()
Returns true if the FieldMappings property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
String |
name()
The name of the configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SalesforceCustomKnowledgeArticleTypeConfiguration.Builder> |
serializableBuilderClass() |
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the configuration.
public String documentDataFieldName()
The name of the field in the custom knowledge article that contains the document data to index.
public String documentTitleFieldName()
The name of the field in the custom knowledge article that contains the document title.
public boolean hasFieldMappings()
public List<DataSourceToIndexFieldMapping> fieldMappings()
One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFieldMappings() to see if a value was sent in this field.
public SalesforceCustomKnowledgeArticleTypeConfiguration.Builder toBuilder()
public static SalesforceCustomKnowledgeArticleTypeConfiguration.Builder builder()
public static Class<? extends SalesforceCustomKnowledgeArticleTypeConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.