@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceStandardKnowledgeArticleTypeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceStandardKnowledgeArticleTypeConfiguration.Builder,SalesforceStandardKnowledgeArticleTypeConfiguration>
Provides configuration information for standard Salesforce knowledge articles.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceStandardKnowledgeArticleTypeConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceStandardKnowledgeArticleTypeConfiguration.Builder |
builder() |
String |
documentDataFieldName()
The name of the field that contains the document data to index.
|
String |
documentTitleFieldName()
The name of the field 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 knowledge article to Amazon Kendra index fields.
|
<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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SalesforceStandardKnowledgeArticleTypeConfiguration.Builder> |
serializableBuilderClass() |
SalesforceStandardKnowledgeArticleTypeConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String documentDataFieldName()
The name of the field that contains the document data to index.
public String documentTitleFieldName()
The name of the field that contains the document title.
public boolean hasFieldMappings()
public List<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.
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 SalesforceStandardKnowledgeArticleTypeConfiguration.Builder toBuilder()
public static SalesforceStandardKnowledgeArticleTypeConfiguration.Builder builder()
public static Class<? extends SalesforceStandardKnowledgeArticleTypeConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.