@Stability(value=Stable) public static final class CfnDataSource.WorkDocsConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.WorkDocsConfigurationProperty>
CfnDataSource.WorkDocsConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder organizationId(String organizationId)
CfnDataSource.WorkDocsConfigurationProperty.getOrganizationId()organizationId - The identifier of the directory corresponding to your Amazon WorkDocs site repository. This parameter is required.
You can find the organization ID in the AWS Directory Service by going to Active Directory , then Directories . Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder crawlComments(Boolean crawlComments)
CfnDataSource.WorkDocsConfigurationProperty.getCrawlComments()crawlComments - `TRUE` to include comments on documents in your index.
Including comments in your index means each comment is a document that can be searched on.
The default is set to FALSE .
this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder crawlComments(IResolvable crawlComments)
CfnDataSource.WorkDocsConfigurationProperty.getCrawlComments()crawlComments - `TRUE` to include comments on documents in your index.
Including comments in your index means each comment is a document that can be searched on.
The default is set to FALSE .
this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder exclusionPatterns(List<String> exclusionPatterns)
CfnDataSource.WorkDocsConfigurationProperty.getExclusionPatterns()exclusionPatterns - A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository.
Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
CfnDataSource.WorkDocsConfigurationProperty.getFieldMappings()fieldMappings - A list of `DataSourceToIndexFieldMapping` objects that map Amazon WorkDocs data source attributes or field names to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex API before you map to Amazon WorkDocs fields. For more information, see Mapping data source fields . The Amazon WorkDocs data source field names must exist in your Amazon WorkDocs custom metadata.this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings)
CfnDataSource.WorkDocsConfigurationProperty.getFieldMappings()fieldMappings - A list of `DataSourceToIndexFieldMapping` objects that map Amazon WorkDocs data source attributes or field names to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex API before you map to Amazon WorkDocs fields. For more information, see Mapping data source fields . The Amazon WorkDocs data source field names must exist in your Amazon WorkDocs custom metadata.this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder inclusionPatterns(List<String> inclusionPatterns)
CfnDataSource.WorkDocsConfigurationProperty.getInclusionPatterns()inclusionPatterns - A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository.
Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder useChangeLog(Boolean useChangeLog)
CfnDataSource.WorkDocsConfigurationProperty.getUseChangeLog()useChangeLog - `TRUE` to use the Amazon WorkDocs change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Amazon WorkDocs.this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty.Builder useChangeLog(IResolvable useChangeLog)
CfnDataSource.WorkDocsConfigurationProperty.getUseChangeLog()useChangeLog - `TRUE` to use the Amazon WorkDocs change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Amazon WorkDocs.this@Stability(value=Stable) public CfnDataSource.WorkDocsConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.WorkDocsConfigurationProperty>CfnDataSource.WorkDocsConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.