@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()
Determines the types of file attachments that are excluded from the index.
|
List<DataSourceToIndexFieldMapping> |
getFieldMappings()
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
List<String> |
getIncludeAttachmentFilePatterns()
Determines the types of file attachments that are included in the index.
|
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)
Determines the types of file attachments that are excluded from the index.
|
void |
setFieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
void |
setIncludeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
Determines the types of file attachments that are included in the index.
|
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)
Determines the types of file attachments that are excluded from the index.
|
ServiceNowServiceCatalogConfiguration |
withExcludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns)
Determines the types of file attachments that are excluded from the index.
|
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)
Determines the types of file attachments that are included in the index.
|
ServiceNowServiceCatalogConfiguration |
withIncludeAttachmentFilePatterns(String... includeAttachmentFilePatterns)
Determines the types of file attachments that are included in the index.
|
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()
Determines the types of file attachments that are included in the index.
public void setIncludeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
Determines the types of file attachments that are included in the index.
includeAttachmentFilePatterns
- Determines the types of file attachments that are included in the index.public ServiceNowServiceCatalogConfiguration withIncludeAttachmentFilePatterns(String... includeAttachmentFilePatterns)
Determines the types of file attachments that are included in the index.
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
- Determines the types of file attachments that are included in the index.public ServiceNowServiceCatalogConfiguration withIncludeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
Determines the types of file attachments that are included in the index.
includeAttachmentFilePatterns
- Determines the types of file attachments that are included in the index.public List<String> getExcludeAttachmentFilePatterns()
Determines the types of file attachments that are excluded from the index.
public void setExcludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
Determines the types of file attachments that are excluded from the index.
excludeAttachmentFilePatterns
- Determines the types of file attachments that are excluded from the index.public ServiceNowServiceCatalogConfiguration withExcludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns)
Determines the types of file attachments that are excluded from the index.
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
- Determines the types of file attachments that are excluded from the index.public ServiceNowServiceCatalogConfiguration withExcludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
Determines the types of file attachments that are excluded from the index.
excludeAttachmentFilePatterns
- Determines the types of file attachments that are excluded from the index.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.