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) TRUEto 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 ofDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names.fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names.fieldMappings(DataSourceToIndexFieldMapping... fieldMappings) A list ofDataSourceToIndexFieldMappingobjects 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.BuilderoneDriveUsers(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaOneDriveUsers.builder().When the
Consumercompletes,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
DataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 theDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,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
TRUEto disable local groups information.- Parameters:
disableLocalGroups-TRUEto disable local groups information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-