public static final class CfnDataSource.SharePointConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.SharePointConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnDataSource.SharePointConfigurationProperty.Builder secretArn(java.lang.String secretArn)
CfnDataSource.SharePointConfigurationProperty.getSecretArn()
secretArn
- The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager . This parameter is required.
The credentials should be a user/password pair. 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 . For more information about AWS Secrets Manager see What Is AWS Secrets Manager in the AWS Secrets Manager user guide.this
public CfnDataSource.SharePointConfigurationProperty.Builder sharePointVersion(java.lang.String sharePointVersion)
CfnDataSource.SharePointConfigurationProperty.getSharePointVersion()
sharePointVersion
- The version of Microsoft SharePoint that you are using as a data source. This parameter is required.this
public CfnDataSource.SharePointConfigurationProperty.Builder urls(java.util.List<java.lang.String> urls)
CfnDataSource.SharePointConfigurationProperty.getUrls()
urls
- The URLs of the Microsoft SharePoint site that contains the documents that should be indexed. This parameter is required.this
public CfnDataSource.SharePointConfigurationProperty.Builder crawlAttachments(java.lang.Boolean crawlAttachments)
CfnDataSource.SharePointConfigurationProperty.getCrawlAttachments()
crawlAttachments
- `TRUE` to include attachments to documents stored in your Microsoft SharePoint site in the index;.
otherwise, FALSE
.this
public CfnDataSource.SharePointConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments)
CfnDataSource.SharePointConfigurationProperty.getCrawlAttachments()
crawlAttachments
- `TRUE` to include attachments to documents stored in your Microsoft SharePoint site in the index;.
otherwise, FALSE
.this
public CfnDataSource.SharePointConfigurationProperty.Builder disableLocalGroups(java.lang.Boolean disableLocalGroups)
CfnDataSource.SharePointConfigurationProperty.getDisableLocalGroups()
disableLocalGroups
- A Boolean value that specifies whether local groups are disabled ( `True` ) or enabled ( `False` ).this
public CfnDataSource.SharePointConfigurationProperty.Builder disableLocalGroups(IResolvable disableLocalGroups)
CfnDataSource.SharePointConfigurationProperty.getDisableLocalGroups()
disableLocalGroups
- A Boolean value that specifies whether local groups are disabled ( `True` ) or enabled ( `False` ).this
public CfnDataSource.SharePointConfigurationProperty.Builder documentTitleFieldName(java.lang.String documentTitleFieldName)
documentTitleFieldName
- The Microsoft SharePoint attribute field that contains the title of the document.this
public CfnDataSource.SharePointConfigurationProperty.Builder exclusionPatterns(java.util.List<java.lang.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
public CfnDataSource.SharePointConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
CfnDataSource.SharePointConfigurationProperty.getFieldMappings()
fieldMappings
- A list of `DataSourceToIndexFieldMapping` objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index.
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
public CfnDataSource.SharePointConfigurationProperty.Builder fieldMappings(java.util.List<? extends java.lang.Object> fieldMappings)
CfnDataSource.SharePointConfigurationProperty.getFieldMappings()
fieldMappings
- A list of `DataSourceToIndexFieldMapping` objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index.
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
public CfnDataSource.SharePointConfigurationProperty.Builder inclusionPatterns(java.util.List<java.lang.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 is applied to the display URL of the SharePoint document.
this
public CfnDataSource.SharePointConfigurationProperty.Builder sslCertificateS3Path(IResolvable sslCertificateS3Path)
CfnDataSource.SharePointConfigurationProperty.getSslCertificateS3Path()
sslCertificateS3Path
- Information required to find a specific file in an Amazon S3 bucket.this
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
public CfnDataSource.SharePointConfigurationProperty.Builder useChangeLog(java.lang.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
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
public CfnDataSource.SharePointConfigurationProperty.Builder vpcConfiguration(IResolvable vpcConfiguration)
CfnDataSource.SharePointConfigurationProperty.getVpcConfiguration()
vpcConfiguration
- Provides information for connecting to an Amazon VPC.this
public CfnDataSource.SharePointConfigurationProperty.Builder vpcConfiguration(CfnDataSource.DataSourceVpcConfigurationProperty vpcConfiguration)
CfnDataSource.SharePointConfigurationProperty.getVpcConfiguration()
vpcConfiguration
- Provides information for connecting to an Amazon VPC.this
public CfnDataSource.SharePointConfigurationProperty build()
CfnDataSource.SharePointConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided