@Generated(value="software.amazon.awssdk:codegen") public final class ServiceNowServiceCatalogConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceNowServiceCatalogConfiguration.Builder,ServiceNowServiceCatalogConfiguration>
Provides configuration information for crawling service catalog items in the ServiceNow site
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceNowServiceCatalogConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceNowServiceCatalogConfiguration.Builder |
builder() |
Boolean |
crawlAttachments()
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
|
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()
A list of regular expression patterns.
|
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()
A list of regular expression patterns.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceNowServiceCatalogConfiguration.Builder> |
serializableBuilderClass() |
ServiceNowServiceCatalogConfiguration.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 crawl attachments to the service catalog items.
public final boolean hasIncludeAttachmentFilePatterns()
public final List<String> includeAttachmentFilePatterns()
A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.
The regex is applied to the file name of the attachment.
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.
The regex is applied to the file name of the attachment.
public final boolean hasExcludeAttachmentFilePatterns()
public final List<String> excludeAttachmentFilePatterns()
A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.
The regex is applied to the file name of the attachment.
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.
The regex is applied to the file name of the attachment.
public 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 ServiceNowServiceCatalogConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceNowServiceCatalogConfiguration.Builder,ServiceNowServiceCatalogConfiguration>public static ServiceNowServiceCatalogConfiguration.Builder builder()
public static Class<? extends ServiceNowServiceCatalogConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.