public ServiceNowServiceCatalogConfiguration withExcludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns) {
        if (this.excludeAttachmentFilePatterns == null) {
            setExcludeAttachmentFilePatterns(new java.util.ArrayList<String>(excludeAttachmentFilePatterns.length));
        }
        for (String ele : excludeAttachmentFilePatterns) {
            this.excludeAttachmentFilePatterns.add(ele);
        }
        return this;
    }
<p>
A list of regular expression patterns to exclude certain attachments of catalogs in your ServiceNow. Item that
match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If
an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item
isn't included in the index.
</p>
<p>
The regex is applied to the file name of the attachment.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setExcludeAttachmentFilePatterns(java.util.Collection)} or
{@link #withExcludeAttachmentFilePatterns(java.util.Collection)} if you want to override the existing values.
</p>

@param excludeAttachmentFilePatterns
       A list of regular expression patterns to exclude certain attachments of catalogs in your ServiceNow. Item
       that match the patterns are excluded from the index. Items that don't match the patterns are included in
       the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes
       precedence and the item isn't included in the index.</p>
       <p>
       The regex is applied to the file name of the attachment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/ServiceNowServiceCatalogConfiguration.java