Class CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SharePointConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.SharePointConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SharePointConfigurationProperty>
A builder for
CfnDataSourcePropsMixin.SharePointConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crawlAttachments(Boolean crawlAttachments) crawlAttachments(IResolvable crawlAttachments) disableLocalGroups(Boolean disableLocalGroups) disableLocalGroups(IResolvable disableLocalGroups) documentTitleFieldName(String documentTitleFieldName) exclusionPatterns(List<String> exclusionPatterns) fieldMappings(List<? extends Object> fieldMappings) fieldMappings(IResolvable fieldMappings) inclusionPatterns(List<String> inclusionPatterns) Sets the value ofCfnDataSourcePropsMixin.SharePointConfigurationProperty.getSecretArn()sharePointVersion(String sharePointVersion) sslCertificateS3Path(CfnDataSourcePropsMixin.S3PathProperty sslCertificateS3Path) sslCertificateS3Path(IResolvable sslCertificateS3Path) Sets the value ofCfnDataSourcePropsMixin.SharePointConfigurationProperty.getUrls()useChangeLog(Boolean useChangeLog) useChangeLog(IResolvable useChangeLog) vpcConfiguration(CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty vpcConfiguration) vpcConfiguration(IResolvable vpcConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crawlAttachments
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder crawlAttachments(Boolean crawlAttachments) - Parameters:
crawlAttachments-TRUEto index document attachments.- Returns:
this
-
crawlAttachments
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments) - Parameters:
crawlAttachments-TRUEto index document attachments.- Returns:
this
-
disableLocalGroups
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder disableLocalGroups(Boolean disableLocalGroups) - Parameters:
disableLocalGroups-TRUEto disable local groups information.- Returns:
this
-
disableLocalGroups
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder disableLocalGroups(IResolvable disableLocalGroups) - Parameters:
disableLocalGroups-TRUEto disable local groups information.- Returns:
this
-
documentTitleFieldName
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder documentTitleFieldName(String documentTitleFieldName) Sets the value ofCfnDataSourcePropsMixin.SharePointConfigurationProperty.getDocumentTitleFieldName()- Parameters:
documentTitleFieldName- The Microsoft SharePoint attribute field that contains the title of the document.- Returns:
this
-
exclusionPatterns
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder exclusionPatterns(List<String> exclusionPatterns) - Parameters:
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.
- Returns:
this
-
fieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings) - Parameters:
fieldMappings- A list ofDataSourceToIndexFieldMappingobjects 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 .- Returns:
this
-
fieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings) - Parameters:
fieldMappings- A list ofDataSourceToIndexFieldMappingobjects 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 .- Returns:
this
-
inclusionPatterns
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder inclusionPatterns(List<String> inclusionPatterns) - Parameters:
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.
- Returns:
this
-
secretArn
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder secretArn(String secretArn) Sets the value ofCfnDataSourcePropsMixin.SharePointConfigurationProperty.getSecretArn()- Parameters:
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. For more information, see Microsoft SharePoint .- Returns:
this
-
sslCertificateS3Path
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder sslCertificateS3Path(IResolvable sslCertificateS3Path) - Parameters:
sslCertificateS3Path- Information required to find a specific file in an Amazon S3 bucket.- Returns:
this
-
sslCertificateS3Path
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder sslCertificateS3Path(CfnDataSourcePropsMixin.S3PathProperty sslCertificateS3Path) - Parameters:
sslCertificateS3Path- Information required to find a specific file in an Amazon S3 bucket.- Returns:
this
-
urls
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder urls(List<String> urls) Sets the value ofCfnDataSourcePropsMixin.SharePointConfigurationProperty.getUrls()- Parameters:
urls- The Microsoft SharePoint site URLs for the documents you want to index.- Returns:
this
-
useChangeLog
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder useChangeLog(Boolean useChangeLog) - Parameters:
useChangeLog-TRUEto 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.- Returns:
this
-
useChangeLog
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder useChangeLog(IResolvable useChangeLog) - Parameters:
useChangeLog-TRUEto 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.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder vpcConfiguration(IResolvable vpcConfiguration) - Parameters:
vpcConfiguration- Provides information for connecting to an Amazon VPC.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointConfigurationProperty.Builder vpcConfiguration(CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty vpcConfiguration) - Parameters:
vpcConfiguration- Provides information for connecting to an Amazon VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.SharePointConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.SharePointConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-