Interface GitHubConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GitHubConfiguration.Builder,GitHubConfiguration>, SdkBuilder<GitHubConfiguration.Builder,GitHubConfiguration>, SdkPojo
Enclosing class:
GitHubConfiguration

public static interface GitHubConfiguration.Builder extends SdkPojo, CopyableBuilder<GitHubConfiguration.Builder,GitHubConfiguration>
  • Method Details

    • 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.
    • saaSConfiguration

      default GitHubConfiguration.Builder saaSConfiguration(Consumer<SaaSConfiguration.Builder> saaSConfiguration)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to saaSConfiguration(SaaSConfiguration).

      Parameters:
      saaSConfiguration - a consumer that will call methods on SaaSConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • onPremiseConfiguration

      default GitHubConfiguration.Builder onPremiseConfiguration(Consumer<OnPremiseConfiguration.Builder> onPremiseConfiguration)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to onPremiseConfiguration(OnPremiseConfiguration).

      Parameters:
      onPremiseConfiguration - a consumer that will call methods on OnPremiseConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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.
    • gitHubDocumentCrawlProperties

      default GitHubConfiguration.Builder gitHubDocumentCrawlProperties(Consumer<GitHubDocumentCrawlProperties.Builder> 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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to gitHubDocumentCrawlProperties(GitHubDocumentCrawlProperties).

      Parameters:
      gitHubDocumentCrawlProperties - a consumer that will call methods on GitHubDocumentCrawlProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • vpcConfiguration

      default GitHubConfiguration.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcConfiguration(DataSourceVpcConfiguration).

      Parameters:
      vpcConfiguration - a consumer that will call methods on DataSourceVpcConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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<DataSourceToIndexFieldMapping>).

      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:
    • 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.
    • gitHubCommitConfigurationFieldMappings

      GitHubConfiguration.Builder gitHubCommitConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... 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.

      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 gitHubCommitConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).

      Parameters:
      gitHubCommitConfigurationFieldMappings - 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

      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<DataSourceToIndexFieldMapping>).

      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:
    • 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<DataSourceToIndexFieldMapping>).

      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:
    • 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<DataSourceToIndexFieldMapping>).

      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:
    • 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<DataSourceToIndexFieldMapping>).

      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:
    • 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<DataSourceToIndexFieldMapping>).

      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:
    • 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<DataSourceToIndexFieldMapping>).

      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: