Interface GitHubConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GitHubConfiguration.Builder,,GitHubConfiguration> SdkBuilder<GitHubConfiguration.Builder,,GitHubConfiguration> SdkPojo
- Enclosing class:
GitHubConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionexclusionFileNamePatterns(String... exclusionFileNamePatterns) A list of regular expression patterns to exclude certain file names in your GitHub repository or repositories.exclusionFileNamePatterns(Collection<String> exclusionFileNamePatterns) A list of regular expression patterns to exclude certain file names in your GitHub repository or repositories.exclusionFileTypePatterns(String... exclusionFileTypePatterns) A list of regular expression patterns to exclude certain file types in your GitHub repository or repositories.exclusionFileTypePatterns(Collection<String> exclusionFileTypePatterns) A list of regular expression patterns to exclude certain file types in your GitHub repository or repositories.exclusionFolderNamePatterns(String... exclusionFolderNamePatterns) A list of regular expression patterns to exclude certain folder names in your GitHub repository or repositories.exclusionFolderNamePatterns(Collection<String> exclusionFolderNamePatterns) A list of regular expression patterns to exclude certain folder names in your GitHub repository or repositories.gitHubCommitConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubCommitConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names.gitHubCommitConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubCommitConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names.gitHubCommitConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubCommitConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names.default GitHubConfiguration.BuildergitHubDocumentCrawlProperties(Consumer<GitHubDocumentCrawlProperties.Builder> gitHubDocumentCrawlProperties) Configuration information to include certain types of GitHub content.gitHubDocumentCrawlProperties(GitHubDocumentCrawlProperties gitHubDocumentCrawlProperties) Configuration information to include certain types of GitHub content.gitHubIssueAttachmentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubIssueAttachmentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names.gitHubIssueAttachmentConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubIssueAttachmentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names.gitHubIssueAttachmentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubIssueAttachmentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names.gitHubIssueCommentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubIssueCommentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names.gitHubIssueCommentConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubIssueCommentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names.gitHubIssueCommentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubIssueCommentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names.gitHubIssueDocumentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubIssueDocumentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names.gitHubIssueDocumentConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubIssueDocumentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names.gitHubIssueDocumentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubIssueDocumentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names.gitHubPullRequestCommentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestCommentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names.gitHubPullRequestCommentConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubPullRequestCommentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names.gitHubPullRequestCommentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubPullRequestCommentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names.gitHubPullRequestDocumentAttachmentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestDocumentAttachmentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names.gitHubPullRequestDocumentAttachmentConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubPullRequestDocumentAttachmentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names.gitHubPullRequestDocumentAttachmentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubPullRequestDocumentAttachmentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names.gitHubPullRequestDocumentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestDocumentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names.gitHubPullRequestDocumentConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubPullRequestDocumentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names.gitHubPullRequestDocumentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubPullRequestDocumentConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names.gitHubRepositoryConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubRepositoryConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names.gitHubRepositoryConfigurationFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... gitHubRepositoryConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names.gitHubRepositoryConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubRepositoryConfigurationFieldMappings) A list ofDataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names.inclusionFileNamePatterns(String... inclusionFileNamePatterns) A list of regular expression patterns to include certain file names in your GitHub repository or repositories.inclusionFileNamePatterns(Collection<String> inclusionFileNamePatterns) A list of regular expression patterns to include certain file names in your GitHub repository or repositories.inclusionFileTypePatterns(String... inclusionFileTypePatterns) A list of regular expression patterns to include certain file types in your GitHub repository or repositories.inclusionFileTypePatterns(Collection<String> inclusionFileTypePatterns) A list of regular expression patterns to include certain file types in your GitHub repository or repositories.inclusionFolderNamePatterns(String... inclusionFolderNamePatterns) A list of regular expression patterns to include certain folder names in your GitHub repository or repositories.inclusionFolderNamePatterns(Collection<String> inclusionFolderNamePatterns) A list of regular expression patterns to include certain folder names in your GitHub repository or repositories.default GitHubConfiguration.BuilderonPremiseConfiguration(Consumer<OnPremiseConfiguration.Builder> onPremiseConfiguration) Configuration information to connect to GitHub Enterprise Server (on premises).onPremiseConfiguration(OnPremiseConfiguration onPremiseConfiguration) Configuration information to connect to GitHub Enterprise Server (on premises).repositoryFilter(String... repositoryFilter) A list of names of the specific repositories you want to index.repositoryFilter(Collection<String> repositoryFilter) A list of names of the specific repositories you want to index.default GitHubConfiguration.BuildersaaSConfiguration(Consumer<SaaSConfiguration.Builder> saaSConfiguration) Configuration information to connect to GitHub Enterprise Cloud (SaaS).saaSConfiguration(SaaSConfiguration saaSConfiguration) Configuration information to connect to GitHub Enterprise Cloud (SaaS).The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your GitHub.The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on premises).The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on premises).useChangeLog(Boolean useChangeLog) TRUEto use the GitHub change log to determine which documents require updating in the index.default GitHubConfiguration.BuildervpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub.vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theSaaSConfiguration.Builderavoiding the need to create one manually viaSaaSConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosaaSConfiguration(SaaSConfiguration).- Parameters:
saaSConfiguration- a consumer that will call methods onSaaSConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theOnPremiseConfiguration.Builderavoiding the need to create one manually viaOnPremiseConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonPremiseConfiguration(OnPremiseConfiguration).- Parameters:
onPremiseConfiguration- a consumer that will call methods onOnPremiseConfiguration.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
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
TRUEto 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-TRUEto 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 theGitHubDocumentCrawlProperties.Builderavoiding the need to create one manually viaGitHubDocumentCrawlProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubDocumentCrawlProperties(GitHubDocumentCrawlProperties).- Parameters:
gitHubDocumentCrawlProperties- a consumer that will call methods onGitHubDocumentCrawlProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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
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
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
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
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
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
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 theDataSourceVpcConfiguration.Builderavoiding the need to create one manually viaDataSourceVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(DataSourceVpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onDataSourceVpcConfiguration.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
DataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map GitHub repository attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubRepositoryConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubRepositoryConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubCommitConfigurationFieldMappings
GitHubConfiguration.Builder gitHubCommitConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubCommitConfigurationFieldMappings) A list of
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub commits to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubCommitConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubCommitConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubIssueDocumentConfigurationFieldMappings
GitHubConfiguration.Builder gitHubIssueDocumentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubIssueDocumentConfigurationFieldMappings) A list of
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issues to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubIssueDocumentConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubIssueDocumentConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubIssueCommentConfigurationFieldMappings
GitHubConfiguration.Builder gitHubIssueCommentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubIssueCommentConfigurationFieldMappings) A list of
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubIssueCommentConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubIssueCommentConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubIssueAttachmentConfigurationFieldMappings
GitHubConfiguration.Builder gitHubIssueAttachmentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubIssueAttachmentConfigurationFieldMappings) A list of
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub issue attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubIssueAttachmentConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubIssueAttachmentConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubPullRequestCommentConfigurationFieldMappings
GitHubConfiguration.Builder gitHubPullRequestCommentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestCommentConfigurationFieldMappings) A list of
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request comments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubPullRequestCommentConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubPullRequestCommentConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubPullRequestDocumentConfigurationFieldMappings
GitHubConfiguration.Builder gitHubPullRequestDocumentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestDocumentConfigurationFieldMappings) A list of
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull requests to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubPullRequestDocumentConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubPullRequestDocumentConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubPullRequestDocumentAttachmentConfigurationFieldMappings
GitHubConfiguration.Builder gitHubPullRequestDocumentAttachmentConfigurationFieldMappings(Collection<DataSourceToIndexFieldMapping> gitHubPullRequestDocumentAttachmentConfigurationFieldMappings) A list of
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
DataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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 ofDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
This is a convenience method that creates an instance of theDataSourceToIndexFieldMappingobjects that map attributes or field names of GitHub pull request attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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.DataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubPullRequestDocumentAttachmentConfigurationFieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
gitHubPullRequestDocumentAttachmentConfigurationFieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-