public SharePointConfiguration withInclusionPatterns(java.util.Collection<String> inclusionPatterns) {
        setInclusionPatterns(inclusionPatterns);
        return this;
    }
<p>
A list of regular expression patterns to include certain documents in your SharePoint. 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 inclusion and exclusion pattern, the exclusion pattern takes precedence and the document
isn't included in the index.
</p>
<p>
The regex applies to the display URL of the SharePoint document.
</p>

@param inclusionPatterns
       A list of regular expression patterns to include certain documents in your SharePoint. 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 inclusion and exclusion pattern, the exclusion pattern takes
       precedence and the document isn't included in the index.</p>
       <p>
       The regex applies to the display URL of the SharePoint document.
@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/SharePointConfiguration.java