Interface OneDriveConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OneDriveConfiguration.Builder,OneDriveConfiguration>,SdkBuilder<OneDriveConfiguration.Builder,OneDriveConfiguration>,SdkPojo
- Enclosing class:
- OneDriveConfiguration
public static interface OneDriveConfiguration.Builder extends SdkPojo, CopyableBuilder<OneDriveConfiguration.Builder,OneDriveConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OneDriveConfiguration.BuilderdisableLocalGroups(Boolean disableLocalGroups)TRUEto disable local groups information.OneDriveConfiguration.BuilderexclusionPatterns(String... exclusionPatterns)A list of regular expression patterns to exclude certain documents in your OneDrive.OneDriveConfiguration.BuilderexclusionPatterns(Collection<String> exclusionPatterns)A list of regular expression patterns to exclude certain documents in your OneDrive.OneDriveConfiguration.BuilderfieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)A list ofDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names.OneDriveConfiguration.BuilderfieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)A list ofDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names.OneDriveConfiguration.BuilderfieldMappings(DataSourceToIndexFieldMapping... fieldMappings)A list ofDataSourceToIndexFieldMappingobjects that map OneDrive data source attributes or field names to Amazon Kendra index field names.OneDriveConfiguration.BuilderinclusionPatterns(String... inclusionPatterns)A list of regular expression patterns to include certain documents in your OneDrive.OneDriveConfiguration.BuilderinclusionPatterns(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.OneDriveConfiguration.BuilderoneDriveUsers(OneDriveUsers oneDriveUsers)A list of user accounts whose documents should be indexed.OneDriveConfiguration.BuildersecretArn(String secretArn)The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive.OneDriveConfiguration.BuildertenantDomain(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 Detail
-
tenantDomain
OneDriveConfiguration.Builder tenantDomain(String 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
OneDriveConfiguration.Builder secretArn(String 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
OneDriveConfiguration.Builder oneDriveUsers(OneDriveUsers 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
default OneDriveConfiguration.Builder oneDriveUsers(Consumer<OneDriveUsers.Builder> 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:
oneDriveUsers(OneDriveUsers)
-
inclusionPatterns
OneDriveConfiguration.Builder inclusionPatterns(Collection<String> 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
OneDriveConfiguration.Builder inclusionPatterns(String... 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
OneDriveConfiguration.Builder exclusionPatterns(Collection<String> 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
OneDriveConfiguration.Builder exclusionPatterns(String... 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
OneDriveConfiguration.Builder fieldMappings(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
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 to#fieldMappings(List.) - 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:
#fieldMappings(java.util.Collection)
-
disableLocalGroups
OneDriveConfiguration.Builder disableLocalGroups(Boolean 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.
-
-