@Stability(value=Stable) public static final class CfnDataSource.OneDriveConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.OneDriveConfigurationProperty>
CfnDataSource.OneDriveConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder oneDriveUsers(CfnDataSource.OneDriveUsersProperty oneDriveUsers)
CfnDataSource.OneDriveConfigurationProperty.getOneDriveUsers()oneDriveUsers - A list of user accounts whose documents should be indexed. This parameter is required.this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder oneDriveUsers(IResolvable oneDriveUsers)
CfnDataSource.OneDriveConfigurationProperty.getOneDriveUsers()oneDriveUsers - A list of user accounts whose documents should be indexed. This parameter is required.this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder secretArn(String secretArn)
CfnDataSource.OneDriveConfigurationProperty.getSecretArn()secretArn - The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive. This parameter is required.
The user named should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder tenantDomain(String tenantDomain)
CfnDataSource.OneDriveConfigurationProperty.getTenantDomain()tenantDomain - The Azure Active Directory domain of the organization. This parameter is required.this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder disableLocalGroups(Boolean disableLocalGroups)
CfnDataSource.OneDriveConfigurationProperty.getDisableLocalGroups()disableLocalGroups - A Boolean value that specifies whether local groups are disabled ( `True` ) or enabled ( `False` ).this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder disableLocalGroups(IResolvable disableLocalGroups)
CfnDataSource.OneDriveConfigurationProperty.getDisableLocalGroups()disableLocalGroups - A Boolean value that specifies whether local groups are disabled ( `True` ) or enabled ( `False` ).this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder exclusionPatterns(List<String> exclusionPatterns)
CfnDataSource.OneDriveConfigurationProperty.getExclusionPatterns()exclusionPatterns - List of regular expressions applied to documents.
Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn't indexed.
The exclusion pattern is applied to the file name.
this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
CfnDataSource.OneDriveConfigurationProperty.getFieldMappings()fieldMappings - A list of `DataSourceToIndexFieldMapping` objects that map Microsoft OneDrive fields to custom fields in the Amazon Kendra index.
You must first create the index fields before you map OneDrive fields.this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings)
CfnDataSource.OneDriveConfigurationProperty.getFieldMappings()fieldMappings - A list of `DataSourceToIndexFieldMapping` objects that map Microsoft OneDrive fields to custom fields in the Amazon Kendra index.
You must first create the index fields before you map OneDrive fields.this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty.Builder inclusionPatterns(List<String> inclusionPatterns)
CfnDataSource.OneDriveConfigurationProperty.getInclusionPatterns()inclusionPatterns - A list of regular expression patterns.
Documents that match the pattern are included in the index. Documents that don't match the pattern are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.
The exclusion pattern is applied to the file name.
this@Stability(value=Stable) public CfnDataSource.OneDriveConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.OneDriveConfigurationProperty>CfnDataSource.OneDriveConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.