Interface OneDriveConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OneDriveConfiguration.Builder,
,OneDriveConfiguration> SdkBuilder<OneDriveConfiguration.Builder,
,OneDriveConfiguration> SdkPojo
- Enclosing class:
OneDriveConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondisableLocalGroups
(Boolean disableLocalGroups) TRUE
to disable local groups information.exclusionPatterns
(String... exclusionPatterns) A list of regular expression patterns to exclude certain documents in your OneDrive.exclusionPatterns
(Collection<String> exclusionPatterns) A list of regular expression patterns to exclude certain documents in your OneDrive.fieldMappings
(Collection<DataSourceToIndexFieldMapping> fieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names.fieldMappings
(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names.fieldMappings
(DataSourceToIndexFieldMapping... fieldMappings) A list ofDataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names.inclusionPatterns
(String... inclusionPatterns) A list of regular expression patterns to include certain documents in your OneDrive.inclusionPatterns
(Collection<String> inclusionPatterns) A list of regular expression patterns to include certain documents in your OneDrive.default OneDriveConfiguration.Builder
oneDriveUsers
(Consumer<OneDriveUsers.Builder> oneDriveUsers) A list of user accounts whose documents should be indexed.oneDriveUsers
(OneDriveUsers oneDriveUsers) A list of user accounts whose documents should be indexed.The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive.tenantDomain
(String tenantDomain) The Azure Active Directory domain of the organization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tenantDomain
The Azure Active Directory domain of the organization.
- Parameters:
tenantDomain
- The Azure Active Directory domain of the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
- Parameters:
secretArn
- The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oneDriveUsers
A list of user accounts whose documents should be indexed.
- Parameters:
oneDriveUsers
- A list of user accounts whose documents should be indexed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oneDriveUsers
A list of user accounts whose documents should be indexed.
This is a convenience method that creates an instance of theOneDriveUsers.Builder
avoiding the need to create one manually viaOneDriveUsers.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooneDriveUsers(OneDriveUsers)
.- Parameters:
oneDriveUsers
- a consumer that will call methods onOneDriveUsers.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inclusionPatterns
A list of regular expression patterns to include certain documents in your OneDrive. 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 pattern is applied to the file name.
- Parameters:
inclusionPatterns
- A list of regular expression patterns to include certain documents in your OneDrive. 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 pattern is applied to the file name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusionPatterns
A list of regular expression patterns to include certain documents in your OneDrive. 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 pattern is applied to the file name.
- Parameters:
inclusionPatterns
- A list of regular expression patterns to include certain documents in your OneDrive. 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 pattern is applied to the file name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusionPatterns
A list of regular expression patterns to exclude certain documents in your OneDrive. 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 inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the file name.
- Parameters:
exclusionPatterns
- A list of regular expression patterns to exclude certain documents in your OneDrive. 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 inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.The pattern is applied to the file name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusionPatterns
A list of regular expression patterns to exclude certain documents in your OneDrive. 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 inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the file name.
- Parameters:
exclusionPatterns
- A list of regular expression patterns to exclude certain documents in your OneDrive. 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 inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.The pattern is applied to the file name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
OneDriveConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings) A list of
DataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.- Parameters:
fieldMappings
- A list ofDataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
A list of
DataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.- Parameters:
fieldMappings
- A list ofDataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
OneDriveConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) A list of
This is a convenience method that creates an instance of theDataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.DataSourceToIndexFieldMapping.Builder
avoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldMappings(List<DataSourceToIndexFieldMapping>)
.- Parameters:
fieldMappings
- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disableLocalGroups
TRUE
to disable local groups information.- Parameters:
disableLocalGroups
-TRUE
to disable local groups information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-