@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.
|
<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 Boolean crawlAttachments()
Indicates whether Amazon Kendra should index attachments to knowledge articles.
public boolean hasIncludeAttachmentFilePatterns()
public 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 boolean hasExcludeAttachmentFilePatterns()
public 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 String documentDataFieldName()
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
public String documentTitleFieldName()
The name of the ServiceNow field that is mapped to the index document title field.
public boolean hasFieldMappings()
public 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 ServiceNowKnowledgeArticleConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceNowKnowledgeArticleConfiguration.Builder,ServiceNowKnowledgeArticleConfiguration>public static ServiceNowKnowledgeArticleConfiguration.Builder builder()
public static Class<? extends ServiceNowKnowledgeArticleConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.