@Generated(value="software.amazon.awssdk:codegen") public final class ServiceNowKnowledgeArticleConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceNowKnowledgeArticleConfiguration.Builder,ServiceNowKnowledgeArticleConfiguration>
Provides configuration information for crawling knowledge articles in the ServiceNow site.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceNowKnowledgeArticleConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceNowKnowledgeArticleConfiguration.Builder |
builder() |
Boolean |
crawlAttachments()
Indicates whether Amazon Kendra should index attachments to knowledge articles.
|
String |
documentDataFieldName()
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
|
String |
documentTitleFieldName()
The name of the ServiceNow field that is mapped to the index document title field.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
excludeAttachmentFilePatterns()
List of regular expressions applied to knowledge articles.
|
List<DataSourceToIndexFieldMapping> |
fieldMappings()
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
String |
filterQuery()
A query that selects the knowledge articles to index.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludeAttachmentFilePatterns()
Returns true if the ExcludeAttachmentFilePatterns property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
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() |
boolean |
hasIncludeAttachmentFilePatterns()
Returns true if the IncludeAttachmentFilePatterns property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
List<String> |
includeAttachmentFilePatterns()
List of regular expressions applied to knowledge articles.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceNowKnowledgeArticleConfiguration.Builder> |
serializableBuilderClass() |
ServiceNowKnowledgeArticleConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean crawlAttachments()
Indicates whether Amazon Kendra should index attachments to knowledge articles.
public final boolean hasIncludeAttachmentFilePatterns()
public final List<String> includeAttachmentFilePatterns()
List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are not
indexed. The regex is applied to the field specified in the PatternTargetField.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIncludeAttachmentFilePatterns() to see if a value was sent in this field.
PatternTargetField.public final boolean hasExcludeAttachmentFilePatterns()
public final List<String> excludeAttachmentFilePatterns()
List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are not
indexed. The regex is applied to the field specified in the PatternTargetField
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludeAttachmentFilePatterns() to see if a value was sent in this field.
PatternTargetFieldpublic final String documentDataFieldName()
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
public final String documentTitleFieldName()
The name of the ServiceNow field that is mapped to the index document title field.
public final boolean hasFieldMappings()
public final List<DataSourceToIndexFieldMapping> fieldMappings()
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
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 final String filterQuery()
A query that selects the knowledge articles to index. The query can return articles from multiple knowledge bases, and the knowledge bases can be public or private.
The query string must be one generated by the ServiceNow console. For more information, see Specifying documents to index with a query.
The query string must be one generated by the ServiceNow console. For more information, see Specifying documents to index with a query.
public ServiceNowKnowledgeArticleConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceNowKnowledgeArticleConfiguration.Builder,ServiceNowKnowledgeArticleConfiguration>public static ServiceNowKnowledgeArticleConfiguration.Builder builder()
public static Class<? extends ServiceNowKnowledgeArticleConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.