@Stability(value=Stable) public static final class CfnDataSource.SharePointConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.SharePointConfigurationProperty>
CfnDataSource.SharePointConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder secretArn(String secretArn)
CfnDataSource.SharePointConfigurationProperty.getSecretArn()secretArn - The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. This parameter is required.
If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source .
You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Using a SharePoint data source .
this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder sharePointVersion(String sharePointVersion)
CfnDataSource.SharePointConfigurationProperty.getSharePointVersion()sharePointVersion - The version of Microsoft SharePoint that you use. This parameter is required.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder urls(List<String> urls)
CfnDataSource.SharePointConfigurationProperty.getUrls()urls - The Microsoft SharePoint site URLs for the documents you want to index. This parameter is required.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder crawlAttachments(Boolean crawlAttachments)
CfnDataSource.SharePointConfigurationProperty.getCrawlAttachments()crawlAttachments - `TRUE` to index document attachments.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments)
CfnDataSource.SharePointConfigurationProperty.getCrawlAttachments()crawlAttachments - `TRUE` to index document attachments.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder disableLocalGroups(Boolean disableLocalGroups)
CfnDataSource.SharePointConfigurationProperty.getDisableLocalGroups()disableLocalGroups - `TRUE` to disable local groups information.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder disableLocalGroups(IResolvable disableLocalGroups)
CfnDataSource.SharePointConfigurationProperty.getDisableLocalGroups()disableLocalGroups - `TRUE` to disable local groups information.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder documentTitleFieldName(String documentTitleFieldName)
documentTitleFieldName - The Microsoft SharePoint attribute field that contains the title of the document.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder exclusionPatterns(List<String> exclusionPatterns)
CfnDataSource.SharePointConfigurationProperty.getExclusionPatterns()exclusionPatterns - 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 display URL of the SharePoint document.
this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
CfnDataSource.SharePointConfigurationProperty.getFieldMappings()fieldMappings - A list of `DataSourceToIndexFieldMapping` objects that map Microsoft SharePoint attributes or fields to Amazon Kendra index fields.
You must first create the index fields using the UpdateIndex operation before you map SharePoint attributes. For more information, see Mapping Data Source Fields .this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings)
CfnDataSource.SharePointConfigurationProperty.getFieldMappings()fieldMappings - A list of `DataSourceToIndexFieldMapping` objects that map Microsoft SharePoint attributes or fields to Amazon Kendra index fields.
You must first create the index fields using the UpdateIndex operation before you map SharePoint attributes. For more information, see Mapping Data Source Fields .this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder inclusionPatterns(List<String> inclusionPatterns)
CfnDataSource.SharePointConfigurationProperty.getInclusionPatterns()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.
The regex applies to the display URL of the SharePoint document.
this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder sslCertificateS3Path(IResolvable sslCertificateS3Path)
CfnDataSource.SharePointConfigurationProperty.getSslCertificateS3Path()sslCertificateS3Path - Information required to find a specific file in an Amazon S3 bucket.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder sslCertificateS3Path(CfnDataSource.S3PathProperty sslCertificateS3Path)
CfnDataSource.SharePointConfigurationProperty.getSslCertificateS3Path()sslCertificateS3Path - Information required to find a specific file in an Amazon S3 bucket.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder useChangeLog(Boolean useChangeLog)
CfnDataSource.SharePointConfigurationProperty.getUseChangeLog()useChangeLog - `TRUE` to use the SharePoint 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 SharePoint.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder useChangeLog(IResolvable useChangeLog)
CfnDataSource.SharePointConfigurationProperty.getUseChangeLog()useChangeLog - `TRUE` to use the SharePoint 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 SharePoint.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder vpcConfiguration(IResolvable vpcConfiguration)
CfnDataSource.SharePointConfigurationProperty.getVpcConfiguration()vpcConfiguration - Provides information for connecting to an Amazon VPC.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty.Builder vpcConfiguration(CfnDataSource.DataSourceVpcConfigurationProperty vpcConfiguration)
CfnDataSource.SharePointConfigurationProperty.getVpcConfiguration()vpcConfiguration - Provides information for connecting to an Amazon VPC.this@Stability(value=Stable) public CfnDataSource.SharePointConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.SharePointConfigurationProperty>CfnDataSource.SharePointConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.