/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.kendra.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides the configuration information to connect to GitHub as your data source. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GitHubConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** Configuration information to connect to GitHub Enterprise Cloud (SaaS). *
*/ private SaaSConfiguration saaSConfiguration; /** ** Configuration information to connect to GitHub Enterprise Server (on premises). *
*/ private OnPremiseConfiguration onPremiseConfiguration; /** ** The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on * premises). *
*/ private String type; /** ** 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. *
*
* 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.
*
* 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. *
*/ private GitHubDocumentCrawlProperties gitHubDocumentCrawlProperties; /** ** A list of names of the specific repositories you want to index. *
*/ private java.util.List* 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. *
*/ private java.util.List* 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. *
*/ private java.util.List* 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. *
*/ private java.util.List* 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. *
*/ private java.util.List* 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. *
*/ private java.util.List* 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. *
*/ private java.util.List* Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see * Configuring a VPC. *
*/ private DataSourceVpcConfiguration vpcConfiguration; /** *
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* Configuration information to connect to GitHub Enterprise Cloud (SaaS). *
* * @param saaSConfiguration * Configuration information to connect to GitHub Enterprise Cloud (SaaS). */ public void setSaaSConfiguration(SaaSConfiguration saaSConfiguration) { this.saaSConfiguration = saaSConfiguration; } /** ** Configuration information to connect to GitHub Enterprise Cloud (SaaS). *
* * @return Configuration information to connect to GitHub Enterprise Cloud (SaaS). */ public SaaSConfiguration getSaaSConfiguration() { return this.saaSConfiguration; } /** ** Configuration information to connect to GitHub Enterprise Cloud (SaaS). *
* * @param saaSConfiguration * Configuration information to connect to GitHub Enterprise Cloud (SaaS). * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withSaaSConfiguration(SaaSConfiguration saaSConfiguration) { setSaaSConfiguration(saaSConfiguration); return this; } /** ** Configuration information to connect to GitHub Enterprise Server (on premises). *
* * @param onPremiseConfiguration * Configuration information to connect to GitHub Enterprise Server (on premises). */ public void setOnPremiseConfiguration(OnPremiseConfiguration onPremiseConfiguration) { this.onPremiseConfiguration = onPremiseConfiguration; } /** ** Configuration information to connect to GitHub Enterprise Server (on premises). *
* * @return Configuration information to connect to GitHub Enterprise Server (on premises). */ public OnPremiseConfiguration getOnPremiseConfiguration() { return this.onPremiseConfiguration; } /** ** Configuration information to connect to GitHub Enterprise Server (on premises). *
* * @param onPremiseConfiguration * Configuration information to connect to GitHub Enterprise Server (on premises). * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withOnPremiseConfiguration(OnPremiseConfiguration onPremiseConfiguration) { setOnPremiseConfiguration(onPremiseConfiguration); return this; } /** ** The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on * premises). *
* * @param type * The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise * Server (on premises). * @see Type */ public void setType(String type) { this.type = type; } /** ** The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on * premises). *
* * @return The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise * Server (on premises). * @see Type */ public String getType() { return this.type; } /** ** The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on * premises). *
* * @param type * The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise * Server (on premises). * @return Returns a reference to this object so that method calls can be chained together. * @see Type */ public GitHubConfiguration withType(String type) { setType(type); return this; } /** ** The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise Server (on * premises). *
* * @param type * The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) or GitHub Enterprise * Server (on premises). * @return Returns a reference to this object so that method calls can be chained together. * @see Type */ public GitHubConfiguration withType(Type type) { this.type = type.toString(); return this; } /** ** 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. *
** personalToken—The access token created in GitHub. For more information on creating a token in GitHub, see * Using a GitHub data * source. *
** 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. *
** personalToken—The access token created in GitHub. For more information on creating a token in GitHub, see * Using a GitHub data * source. *
** 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. *
** personalToken—The access token created in GitHub. For more information on creating a token in GitHub, see * Using a GitHub data * source. *
*
* 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.
*
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.
*/
public void setUseChangeLog(Boolean useChangeLog) {
this.useChangeLog = 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.
*
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.
*/
public Boolean getUseChangeLog() {
return this.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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withUseChangeLog(Boolean useChangeLog) {
setUseChangeLog(useChangeLog);
return this;
}
/**
*
* 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.
*
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.
*/
public Boolean isUseChangeLog() {
return this.useChangeLog;
}
/**
* * 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. *
* * @param 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. */ public void setGitHubDocumentCrawlProperties(GitHubDocumentCrawlProperties gitHubDocumentCrawlProperties) { this.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. *
* * @return 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. */ public GitHubDocumentCrawlProperties getGitHubDocumentCrawlProperties() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withGitHubDocumentCrawlProperties(GitHubDocumentCrawlProperties gitHubDocumentCrawlProperties) { setGitHubDocumentCrawlProperties(gitHubDocumentCrawlProperties); return this; } /** ** A list of names of the specific repositories you want to index. *
* * @return A list of names of the specific repositories you want to index. */ public java.util.List* A list of names of the specific repositories you want to index. *
* * @param repositoryFilter * A list of names of the specific repositories you want to index. */ public void setRepositoryFilter(java.util.Collection* A list of names of the specific repositories you want to index. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRepositoryFilter(java.util.Collection)} or {@link #withRepositoryFilter(java.util.Collection)} if you * want to override the existing values. *
* * @param repositoryFilter * A list of names of the specific repositories you want to index. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withRepositoryFilter(String... repositoryFilter) { if (this.repositoryFilter == null) { setRepositoryFilter(new java.util.ArrayList* A list of names of the specific repositories you want to index. *
* * @param repositoryFilter * A list of names of the specific repositories you want to index. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withRepositoryFilter(java.util.Collection* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setInclusionFolderNamePatterns(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInclusionFolderNamePatterns(java.util.Collection)} or * {@link #withInclusionFolderNamePatterns(java.util.Collection)} if you want to override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withInclusionFolderNamePatterns(String... inclusionFolderNamePatterns) { if (this.inclusionFolderNamePatterns == null) { setInclusionFolderNamePatterns(new java.util.ArrayList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withInclusionFolderNamePatterns(java.util.Collection* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setInclusionFileTypePatterns(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInclusionFileTypePatterns(java.util.Collection)} or * {@link #withInclusionFileTypePatterns(java.util.Collection)} if you want to override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withInclusionFileTypePatterns(String... inclusionFileTypePatterns) { if (this.inclusionFileTypePatterns == null) { setInclusionFileTypePatterns(new java.util.ArrayList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withInclusionFileTypePatterns(java.util.Collection* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setInclusionFileNamePatterns(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInclusionFileNamePatterns(java.util.Collection)} or * {@link #withInclusionFileNamePatterns(java.util.Collection)} if you want to override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withInclusionFileNamePatterns(String... inclusionFileNamePatterns) { if (this.inclusionFileNamePatterns == null) { setInclusionFileNamePatterns(new java.util.ArrayList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withInclusionFileNamePatterns(java.util.Collection* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setExclusionFolderNamePatterns(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setExclusionFolderNamePatterns(java.util.Collection)} or * {@link #withExclusionFolderNamePatterns(java.util.Collection)} if you want to override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withExclusionFolderNamePatterns(String... exclusionFolderNamePatterns) { if (this.exclusionFolderNamePatterns == null) { setExclusionFolderNamePatterns(new java.util.ArrayList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withExclusionFolderNamePatterns(java.util.Collection* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setExclusionFileTypePatterns(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setExclusionFileTypePatterns(java.util.Collection)} or * {@link #withExclusionFileTypePatterns(java.util.Collection)} if you want to override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withExclusionFileTypePatterns(String... exclusionFileTypePatterns) { if (this.exclusionFileTypePatterns == null) { setExclusionFileTypePatterns(new java.util.ArrayList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withExclusionFileTypePatterns(java.util.Collection* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setExclusionFileNamePatterns(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setExclusionFileNamePatterns(java.util.Collection)} or * {@link #withExclusionFileNamePatterns(java.util.Collection)} if you want to override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withExclusionFileNamePatterns(String... exclusionFileNamePatterns) { if (this.exclusionFileNamePatterns == null) { setExclusionFileNamePatterns(new java.util.ArrayList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withExclusionFileNamePatterns(java.util.Collection* Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see * Configuring a VPC. *
* * @param vpcConfiguration * Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more * information, see Configuring * a VPC. */ public void setVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) { this.vpcConfiguration = vpcConfiguration; } /** ** Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see * Configuring a VPC. *
* * @return Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more * information, see Configuring a VPC. */ public DataSourceVpcConfiguration getVpcConfiguration() { return this.vpcConfiguration; } /** ** Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see * Configuring a VPC. *
* * @param vpcConfiguration * Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more * information, see Configuring * a VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public GitHubConfiguration withVpcConfiguration(DataSourceVpcConfiguration vpcConfiguration) { setVpcConfiguration(vpcConfiguration); return this; } /** *
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubRepositoryConfigurationFieldMappings(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubRepositoryConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubRepositoryConfigurationFieldMappings(java.util.Collection)} if you want to override the * existing values. *
* * @param gitHubRepositoryConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubRepositoryConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubRepositoryConfigurationFieldMappings) {
if (this.gitHubRepositoryConfigurationFieldMappings == null) {
setGitHubRepositoryConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubRepositoryConfigurationFieldMappings(
java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubCommitConfigurationFieldMappings(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubCommitConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubCommitConfigurationFieldMappings(java.util.Collection)} if you want to override the existing * values. *
* * @param gitHubCommitConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubCommitConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubCommitConfigurationFieldMappings) {
if (this.gitHubCommitConfigurationFieldMappings == null) {
setGitHubCommitConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubCommitConfigurationFieldMappings(
java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubIssueDocumentConfigurationFieldMappings(
java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubIssueDocumentConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubIssueDocumentConfigurationFieldMappings(java.util.Collection)} if you want to override the * existing values. *
* * @param gitHubIssueDocumentConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubIssueDocumentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubIssueDocumentConfigurationFieldMappings) {
if (this.gitHubIssueDocumentConfigurationFieldMappings == null) {
setGitHubIssueDocumentConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubIssueDocumentConfigurationFieldMappings(
java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubIssueCommentConfigurationFieldMappings(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubIssueCommentConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubIssueCommentConfigurationFieldMappings(java.util.Collection)} if you want to override the * existing values. *
* * @param gitHubIssueCommentConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubIssueCommentConfigurationFieldMappings(DataSourceToIndexFieldMapping... gitHubIssueCommentConfigurationFieldMappings) {
if (this.gitHubIssueCommentConfigurationFieldMappings == null) {
setGitHubIssueCommentConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubIssueCommentConfigurationFieldMappings(
java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubIssueAttachmentConfigurationFieldMappings(
java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubIssueAttachmentConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubIssueAttachmentConfigurationFieldMappings(java.util.Collection)} if you want to override the * existing values. *
* * @param gitHubIssueAttachmentConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubIssueAttachmentConfigurationFieldMappings(
DataSourceToIndexFieldMapping... gitHubIssueAttachmentConfigurationFieldMappings) {
if (this.gitHubIssueAttachmentConfigurationFieldMappings == null) {
setGitHubIssueAttachmentConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubIssueAttachmentConfigurationFieldMappings(
java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubPullRequestCommentConfigurationFieldMappings(
java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubPullRequestCommentConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubPullRequestCommentConfigurationFieldMappings(java.util.Collection)} if you want to override the * existing values. *
* * @param gitHubPullRequestCommentConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubPullRequestCommentConfigurationFieldMappings(
DataSourceToIndexFieldMapping... gitHubPullRequestCommentConfigurationFieldMappings) {
if (this.gitHubPullRequestCommentConfigurationFieldMappings == null) {
setGitHubPullRequestCommentConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubPullRequestCommentConfigurationFieldMappings(
java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubPullRequestDocumentConfigurationFieldMappings(
java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubPullRequestDocumentConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubPullRequestDocumentConfigurationFieldMappings(java.util.Collection)} if you want to override * the existing values. *
* * @param gitHubPullRequestDocumentConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubPullRequestDocumentConfigurationFieldMappings(
DataSourceToIndexFieldMapping... gitHubPullRequestDocumentConfigurationFieldMappings) {
if (this.gitHubPullRequestDocumentConfigurationFieldMappings == null) {
setGitHubPullRequestDocumentConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubPullRequestDocumentConfigurationFieldMappings(
java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(
java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(java.util.Collection)} or * {@link #withGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(java.util.Collection)} if you want to * override the existing values. *
* * @param gitHubPullRequestDocumentAttachmentConfigurationFieldMappings * A list ofDataSourceToIndexFieldMapping
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(
DataSourceToIndexFieldMapping... gitHubPullRequestDocumentAttachmentConfigurationFieldMappings) {
if (this.gitHubPullRequestDocumentAttachmentConfigurationFieldMappings == null) {
setGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GitHubConfiguration withGitHubPullRequestDocumentAttachmentConfigurationFieldMappings(
java.util.Collection