Interface GitHubConfiguration.Builder

    • Method Detail

      • saaSConfiguration

        GitHubConfiguration.Builder saaSConfiguration​(SaaSConfiguration saaSConfiguration)

        Configuration information to connect to GitHub Enterprise Cloud (SaaS).

        Parameters:
        saaSConfiguration - Configuration information to connect to GitHub Enterprise Cloud (SaaS).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • onPremiseConfiguration

        GitHubConfiguration.Builder onPremiseConfiguration​(OnPremiseConfiguration onPremiseConfiguration)

        Configuration information to connect to GitHub Enterprise Server (on premises).

        Parameters:
        onPremiseConfiguration - Configuration information to connect to GitHub Enterprise Server (on premises).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        GitHubConfiguration.Builder type​(String type)

        The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on premises).

        Parameters:
        type - The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on premises).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • type

        GitHubConfiguration.Builder type​(Type type)

        The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on premises).

        Parameters:
        type - The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on premises).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • secretArn

        GitHubConfiguration.Builder secretArn​(String secretArn)

        The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your GitHub. The secret must contain a JSON structure with the following keys:

        • personalToken—The access token created in GitHub. For more information on creating a token in GitHub, see Using a GitHub data source.

        Parameters:
        secretArn - The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your GitHub. The secret must contain a JSON structure with the following keys:

        • personalToken—The access token created in GitHub. For more information on creating a token in GitHub, see Using a GitHub data source.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • useChangeLog

        GitHubConfiguration.Builder useChangeLog​(Boolean useChangeLog)

        TRUE to use the GitHub change log to determine which documents require updating in the index. Depending on the GitHub change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in GitHub.

        Parameters:
        useChangeLog - TRUE to use the GitHub change log to determine which documents require updating in the index. Depending on the GitHub change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubDocumentCrawlProperties

        GitHubConfiguration.Builder gitHubDocumentCrawlProperties​(GitHubDocumentCrawlProperties gitHubDocumentCrawlProperties)

        Configuration information to include certain types of GitHub content. You can configure to index repository files only, or also include issues and pull requests, comments, and comment attachments.

        Parameters:
        gitHubDocumentCrawlProperties - Configuration information to include certain types of GitHub content. You can configure to index repository files only, or also include issues and pull requests, comments, and comment attachments.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryFilter

        GitHubConfiguration.Builder repositoryFilter​(Collection<String> repositoryFilter)

        A list of names of the specific repositories you want to index.

        Parameters:
        repositoryFilter - A list of names of the specific repositories you want to index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryFilter

        GitHubConfiguration.Builder repositoryFilter​(String... repositoryFilter)

        A list of names of the specific repositories you want to index.

        Parameters:
        repositoryFilter - A list of names of the specific repositories you want to index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFolderNamePatterns

        GitHubConfiguration.Builder inclusionFolderNamePatterns​(Collection<String> inclusionFolderNamePatterns)

        A list of regular expression patterns to include certain folder names in your GitHub repository or repositories. Folder names that match the patterns are included in the index. Folder names that don't match the patterns are excluded from the index. If a folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.

        Parameters:
        inclusionFolderNamePatterns - A list of regular expression patterns to include certain folder names in your GitHub repository or repositories. Folder names that match the patterns are included in the index. Folder names that don't match the patterns are excluded from the index. If a folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFolderNamePatterns

        GitHubConfiguration.Builder inclusionFolderNamePatterns​(String... inclusionFolderNamePatterns)

        A list of regular expression patterns to include certain folder names in your GitHub repository or repositories. Folder names that match the patterns are included in the index. Folder names that don't match the patterns are excluded from the index. If a folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.

        Parameters:
        inclusionFolderNamePatterns - A list of regular expression patterns to include certain folder names in your GitHub repository or repositories. Folder names that match the patterns are included in the index. Folder names that don't match the patterns are excluded from the index. If a folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFileTypePatterns

        GitHubConfiguration.Builder inclusionFileTypePatterns​(Collection<String> inclusionFileTypePatterns)

        A list of regular expression patterns to include certain file types in your GitHub repository or repositories. File types that match the patterns are included in the index. File types that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        inclusionFileTypePatterns - A list of regular expression patterns to include certain file types in your GitHub repository or repositories. File types that match the patterns are included in the index. File types that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFileTypePatterns

        GitHubConfiguration.Builder inclusionFileTypePatterns​(String... inclusionFileTypePatterns)

        A list of regular expression patterns to include certain file types in your GitHub repository or repositories. File types that match the patterns are included in the index. File types that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        inclusionFileTypePatterns - A list of regular expression patterns to include certain file types in your GitHub repository or repositories. File types that match the patterns are included in the index. File types that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFileNamePatterns

        GitHubConfiguration.Builder inclusionFileNamePatterns​(Collection<String> inclusionFileNamePatterns)

        A list of regular expression patterns to include certain file names in your GitHub repository or repositories. File names that match the patterns are included in the index. File names that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        inclusionFileNamePatterns - A list of regular expression patterns to include certain file names in your GitHub repository or repositories. File names that match the patterns are included in the index. File names that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inclusionFileNamePatterns

        GitHubConfiguration.Builder inclusionFileNamePatterns​(String... inclusionFileNamePatterns)

        A list of regular expression patterns to include certain file names in your GitHub repository or repositories. File names that match the patterns are included in the index. File names that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        inclusionFileNamePatterns - A list of regular expression patterns to include certain file names in your GitHub repository or repositories. File names that match the patterns are included in the index. File names that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusionFolderNamePatterns

        GitHubConfiguration.Builder exclusionFolderNamePatterns​(Collection<String> exclusionFolderNamePatterns)

        A list of regular expression patterns to exclude certain folder names in your GitHub repository or repositories. Folder names that match the patterns are excluded from the index. Folder names that don't match the patterns are included in the index. If a folder matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.

        Parameters:
        exclusionFolderNamePatterns - A list of regular expression patterns to exclude certain folder names in your GitHub repository or repositories. Folder names that match the patterns are excluded from the index. Folder names that don't match the patterns are included in the index. If a folder matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusionFolderNamePatterns

        GitHubConfiguration.Builder exclusionFolderNamePatterns​(String... exclusionFolderNamePatterns)

        A list of regular expression patterns to exclude certain folder names in your GitHub repository or repositories. Folder names that match the patterns are excluded from the index. Folder names that don't match the patterns are included in the index. If a folder matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.

        Parameters:
        exclusionFolderNamePatterns - A list of regular expression patterns to exclude certain folder names in your GitHub repository or repositories. Folder names that match the patterns are excluded from the index. Folder names that don't match the patterns are included in the index. If a folder matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the folder isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusionFileTypePatterns

        GitHubConfiguration.Builder exclusionFileTypePatterns​(Collection<String> exclusionFileTypePatterns)

        A list of regular expression patterns to exclude certain file types in your GitHub repository or repositories. File types that match the patterns are excluded from the index. File types that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        exclusionFileTypePatterns - A list of regular expression patterns to exclude certain file types in your GitHub repository or repositories. File types that match the patterns are excluded from the index. File types that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusionFileTypePatterns

        GitHubConfiguration.Builder exclusionFileTypePatterns​(String... exclusionFileTypePatterns)

        A list of regular expression patterns to exclude certain file types in your GitHub repository or repositories. File types that match the patterns are excluded from the index. File types that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        exclusionFileTypePatterns - A list of regular expression patterns to exclude certain file types in your GitHub repository or repositories. File types that match the patterns are excluded from the index. File types that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusionFileNamePatterns

        GitHubConfiguration.Builder exclusionFileNamePatterns​(Collection<String> exclusionFileNamePatterns)

        A list of regular expression patterns to exclude certain file names in your GitHub repository or repositories. File names that match the patterns are excluded from the index. File names that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        exclusionFileNamePatterns - A list of regular expression patterns to exclude certain file names in your GitHub repository or repositories. File names that match the patterns are excluded from the index. File names that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusionFileNamePatterns

        GitHubConfiguration.Builder exclusionFileNamePatterns​(String... exclusionFileNamePatterns)

        A list of regular expression patterns to exclude certain file names in your GitHub repository or repositories. File names that match the patterns are excluded from the index. File names that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

        Parameters:
        exclusionFileNamePatterns - A list of regular expression patterns to exclude certain file names in your GitHub repository or repositories. File names that match the patterns are excluded from the index. File names that don't match the patterns are included in the index. If a file matches both an exclusion and inclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcConfiguration

        GitHubConfiguration.Builder vpcConfiguration​(DataSourceVpcConfiguration vpcConfiguration)

        Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see Configuring a VPC.

        Parameters:
        vpcConfiguration - Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see Configuring a VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubRepositoryConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubRepositoryConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubRepositoryConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubRepositoryConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubRepositoryConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubRepositoryConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubRepositoryConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubRepositoryConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubRepositoryConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubRepositoryConfigurationFieldMappings​(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubRepositoryConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        This is a convenience method that creates an instance of the DataSourceToIndexFieldMapping.Builder avoiding the need to create one manually via DataSourceToIndexFieldMapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #gitHubRepositoryConfigurationFieldMappings(List).

        Parameters:
        gitHubRepositoryConfigurationFieldMappings - a consumer that will call methods on DataSourceToIndexFieldMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #gitHubRepositoryConfigurationFieldMappings(java.util.Collection)
      • gitHubCommitConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubCommitConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubCommitConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubCommitConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubCommitConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubCommitConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubCommitConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubCommitConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubIssueDocumentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueDocumentConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubIssueDocumentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubIssueDocumentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubIssueDocumentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueDocumentConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubIssueDocumentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubIssueDocumentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubIssueDocumentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueDocumentConfigurationFieldMappings​(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubIssueDocumentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        This is a convenience method that creates an instance of the DataSourceToIndexFieldMapping.Builder avoiding the need to create one manually via DataSourceToIndexFieldMapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #gitHubIssueDocumentConfigurationFieldMappings(List).

        Parameters:
        gitHubIssueDocumentConfigurationFieldMappings - a consumer that will call methods on DataSourceToIndexFieldMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #gitHubIssueDocumentConfigurationFieldMappings(java.util.Collection)
      • gitHubIssueCommentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueCommentConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubIssueCommentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubIssueCommentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubIssueCommentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueCommentConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubIssueCommentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubIssueCommentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubIssueCommentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueCommentConfigurationFieldMappings​(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubIssueCommentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        This is a convenience method that creates an instance of the DataSourceToIndexFieldMapping.Builder avoiding the need to create one manually via DataSourceToIndexFieldMapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #gitHubIssueCommentConfigurationFieldMappings(List).

        Parameters:
        gitHubIssueCommentConfigurationFieldMappings - a consumer that will call methods on DataSourceToIndexFieldMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #gitHubIssueCommentConfigurationFieldMappings(java.util.Collection)
      • gitHubIssueAttachmentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueAttachmentConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubIssueAttachmentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubIssueAttachmentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubIssueAttachmentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueAttachmentConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubIssueAttachmentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubIssueAttachmentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubIssueAttachmentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubIssueAttachmentConfigurationFieldMappings​(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubIssueAttachmentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        This is a convenience method that creates an instance of the DataSourceToIndexFieldMapping.Builder avoiding the need to create one manually via DataSourceToIndexFieldMapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #gitHubIssueAttachmentConfigurationFieldMappings(List).

        Parameters:
        gitHubIssueAttachmentConfigurationFieldMappings - a consumer that will call methods on DataSourceToIndexFieldMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #gitHubIssueAttachmentConfigurationFieldMappings(java.util.Collection)
      • gitHubPullRequestCommentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestCommentConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestCommentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubPullRequestCommentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubPullRequestCommentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestCommentConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubPullRequestCommentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubPullRequestCommentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubPullRequestCommentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestCommentConfigurationFieldMappings​(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubPullRequestCommentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        This is a convenience method that creates an instance of the DataSourceToIndexFieldMapping.Builder avoiding the need to create one manually via DataSourceToIndexFieldMapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #gitHubPullRequestCommentConfigurationFieldMappings(List).

        Parameters:
        gitHubPullRequestCommentConfigurationFieldMappings - a consumer that will call methods on DataSourceToIndexFieldMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #gitHubPullRequestCommentConfigurationFieldMappings(java.util.Collection)
      • gitHubPullRequestDocumentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestDocumentConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestDocumentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubPullRequestDocumentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubPullRequestDocumentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestDocumentConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubPullRequestDocumentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubPullRequestDocumentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubPullRequestDocumentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestDocumentConfigurationFieldMappings​(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubPullRequestDocumentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        This is a convenience method that creates an instance of the DataSourceToIndexFieldMapping.Builder avoiding the need to create one manually via DataSourceToIndexFieldMapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #gitHubPullRequestDocumentConfigurationFieldMappings(List).

        Parameters:
        gitHubPullRequestDocumentConfigurationFieldMappings - a consumer that will call methods on DataSourceToIndexFieldMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #gitHubPullRequestDocumentConfigurationFieldMappings(java.util.Collection)
      • gitHubPullRequestDocumentAttachmentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestDocumentAttachmentConfigurationFieldMappings​(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestDocumentAttachmentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubPullRequestDocumentAttachmentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubPullRequestDocumentAttachmentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestDocumentAttachmentConfigurationFieldMappings​(DataSourceToIndexFieldMapping... gitHubPullRequestDocumentAttachmentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        Parameters:
        gitHubPullRequestDocumentAttachmentConfigurationFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gitHubPullRequestDocumentAttachmentConfigurationFieldMappings

        GitHubConfiguration.Builder gitHubPullRequestDocumentAttachmentConfigurationFieldMappings​(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubPullRequestDocumentAttachmentConfigurationFieldMappings)

        A list of DataSourceToIndexFieldMapping objects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to GitHub fields. For more information, see Mapping data source fields. The GitHub data source field names must exist in your GitHub custom metadata.

        This is a convenience method that creates an instance of the DataSourceToIndexFieldMapping.Builder avoiding the need to create one manually via DataSourceToIndexFieldMapping.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #gitHubPullRequestDocumentAttachmentConfigurationFieldMappings(List).

        Parameters:
        gitHubPullRequestDocumentAttachmentConfigurationFieldMappings - a consumer that will call methods on DataSourceToIndexFieldMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #gitHubPullRequestDocumentAttachmentConfigurationFieldMappings(java.util.Collection< DataSourceToIndexFieldMapping>)