Interface OneDriveConfiguration.Builder

    • 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.
      • 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 DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex 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 of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex 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​(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 the UpdateIndex 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 of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex 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.
      • disableLocalGroups

        OneDriveConfiguration.Builder disableLocalGroups​(Boolean 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.