@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceNowServiceCatalogConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information for crawling service catalog items in the ServiceNow site
Constructor and Description |
---|
ServiceNowServiceCatalogConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServiceNowServiceCatalogConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCrawlAttachments()
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
|
String |
getDocumentDataFieldName()
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
|
String |
getDocumentTitleFieldName()
The name of the ServiceNow field that is mapped to the index document title field.
|
List<String> |
getExcludeAttachmentFilePatterns()
A list of regular expression patterns.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
List<String> |
getIncludeAttachmentFilePatterns()
A list of regular expression patterns.
|
int |
hashCode() |
Boolean |
isCrawlAttachments()
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCrawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
|
void |
setDocumentDataFieldName(String documentDataFieldName)
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
|
void |
setDocumentTitleFieldName(String documentTitleFieldName)
The name of the ServiceNow field that is mapped to the index document title field.
|
void |
setExcludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
A list of regular expression patterns.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
void |
setIncludeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
A list of regular expression patterns.
|
String |
toString()
Returns a string representation of this object.
|
ServiceNowServiceCatalogConfiguration |
withCrawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
|
ServiceNowServiceCatalogConfiguration |
withDocumentDataFieldName(String documentDataFieldName)
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
|
ServiceNowServiceCatalogConfiguration |
withDocumentTitleFieldName(String documentTitleFieldName)
The name of the ServiceNow field that is mapped to the index document title field.
|
ServiceNowServiceCatalogConfiguration |
withExcludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
A list of regular expression patterns.
|
ServiceNowServiceCatalogConfiguration |
withExcludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns)
A list of regular expression patterns.
|
ServiceNowServiceCatalogConfiguration |
withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
ServiceNowServiceCatalogConfiguration |
withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
ServiceNowServiceCatalogConfiguration |
withIncludeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
A list of regular expression patterns.
|
ServiceNowServiceCatalogConfiguration |
withIncludeAttachmentFilePatterns(String... includeAttachmentFilePatterns)
A list of regular expression patterns.
|
public ServiceNowServiceCatalogConfiguration()
public void setCrawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
crawlAttachments
- Indicates whether Amazon Kendra should crawl attachments to the service catalog items.public Boolean getCrawlAttachments()
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
public ServiceNowServiceCatalogConfiguration withCrawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
crawlAttachments
- Indicates whether Amazon Kendra should crawl attachments to the service catalog items.public Boolean isCrawlAttachments()
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
public List<String> getIncludeAttachmentFilePatterns()
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.
The regex is applied to the file name of the attachment.
public void setIncludeAttachmentFilePatterns(Collection<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.
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.
public ServiceNowServiceCatalogConfiguration withIncludeAttachmentFilePatterns(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.
NOTE: This method appends the values to the existing list (if any). Use
setIncludeAttachmentFilePatterns(java.util.Collection)
or
withIncludeAttachmentFilePatterns(java.util.Collection)
if you want to override the existing values.
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.
public ServiceNowServiceCatalogConfiguration withIncludeAttachmentFilePatterns(Collection<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.
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.
public List<String> getExcludeAttachmentFilePatterns()
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.
The regex is applied to the file name of the attachment.
public void setExcludeAttachmentFilePatterns(Collection<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.
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.
public ServiceNowServiceCatalogConfiguration withExcludeAttachmentFilePatterns(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.
NOTE: This method appends the values to the existing list (if any). Use
setExcludeAttachmentFilePatterns(java.util.Collection)
or
withExcludeAttachmentFilePatterns(java.util.Collection)
if you want to override the existing values.
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.
public ServiceNowServiceCatalogConfiguration withExcludeAttachmentFilePatterns(Collection<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.
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.
public void setDocumentDataFieldName(String documentDataFieldName)
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
documentDataFieldName
- The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra
index.public String getDocumentDataFieldName()
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
public ServiceNowServiceCatalogConfiguration withDocumentDataFieldName(String documentDataFieldName)
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
documentDataFieldName
- The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra
index.public void setDocumentTitleFieldName(String documentTitleFieldName)
The name of the ServiceNow field that is mapped to the index document title field.
documentTitleFieldName
- The name of the ServiceNow field that is mapped to the index document title field.public String getDocumentTitleFieldName()
The name of the ServiceNow field that is mapped to the index document title field.
public ServiceNowServiceCatalogConfiguration withDocumentTitleFieldName(String documentTitleFieldName)
The name of the ServiceNow field that is mapped to the index document title field.
documentTitleFieldName
- The name of the ServiceNow field that is mapped to the index document title field.public List<DataSourceToIndexFieldMapping> getFieldMappings()
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
public void setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
fieldMappings
- Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before
you map the field.public ServiceNowServiceCatalogConfiguration withFieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
NOTE: This method appends the values to the existing list (if any). Use
setFieldMappings(java.util.Collection)
or withFieldMappings(java.util.Collection)
if you want
to override the existing values.
fieldMappings
- Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before
you map the field.public ServiceNowServiceCatalogConfiguration withFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
fieldMappings
- Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before
you map the field.public String toString()
toString
in class Object
Object.toString()
public ServiceNowServiceCatalogConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.