@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 final String name()
The name of the configuration.
public final String documentDataFieldName()
The name of the field in the custom knowledge article that contains the document data to index.
public final String documentTitleFieldName()
The name of the field in the custom knowledge article that contains the document title.
public final boolean hasFieldMappings()
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.