Interface DataSourceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSourceConfiguration.Builder,
,DataSourceConfiguration> SdkBuilder<DataSourceConfiguration.Builder,
,DataSourceConfiguration> SdkPojo
- Enclosing class:
DataSourceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSourceConfiguration.Builder
alfrescoConfiguration
(Consumer<AlfrescoConfiguration.Builder> alfrescoConfiguration) Deprecated.Deprecated AlfrescoConfiguration in favor of TemplateConfigurationalfrescoConfiguration
(AlfrescoConfiguration alfrescoConfiguration) Deprecated.Deprecated AlfrescoConfiguration in favor of TemplateConfigurationdefault DataSourceConfiguration.Builder
boxConfiguration
(Consumer<BoxConfiguration.Builder> boxConfiguration) Provides the configuration information to connect to Box as your data source.boxConfiguration
(BoxConfiguration boxConfiguration) Provides the configuration information to connect to Box as your data source.default DataSourceConfiguration.Builder
confluenceConfiguration
(Consumer<ConfluenceConfiguration.Builder> confluenceConfiguration) Provides the configuration information to connect to Confluence as your data source.confluenceConfiguration
(ConfluenceConfiguration confluenceConfiguration) Provides the configuration information to connect to Confluence as your data source.default DataSourceConfiguration.Builder
databaseConfiguration
(Consumer<DatabaseConfiguration.Builder> databaseConfiguration) Provides the configuration information to connect to a database as your data source.databaseConfiguration
(DatabaseConfiguration databaseConfiguration) Provides the configuration information to connect to a database as your data source.default DataSourceConfiguration.Builder
fsxConfiguration
(Consumer<FsxConfiguration.Builder> fsxConfiguration) Provides the configuration information to connect to Amazon FSx as your data source.fsxConfiguration
(FsxConfiguration fsxConfiguration) Provides the configuration information to connect to Amazon FSx as your data source.default DataSourceConfiguration.Builder
gitHubConfiguration
(Consumer<GitHubConfiguration.Builder> gitHubConfiguration) Provides the configuration information to connect to GitHub as your data source.gitHubConfiguration
(GitHubConfiguration gitHubConfiguration) Provides the configuration information to connect to GitHub as your data source.default DataSourceConfiguration.Builder
googleDriveConfiguration
(Consumer<GoogleDriveConfiguration.Builder> googleDriveConfiguration) Provides the configuration information to connect to Google Drive as your data source.googleDriveConfiguration
(GoogleDriveConfiguration googleDriveConfiguration) Provides the configuration information to connect to Google Drive as your data source.default DataSourceConfiguration.Builder
jiraConfiguration
(Consumer<JiraConfiguration.Builder> jiraConfiguration) Provides the configuration information to connect to Jira as your data source.jiraConfiguration
(JiraConfiguration jiraConfiguration) Provides the configuration information to connect to Jira as your data source.default DataSourceConfiguration.Builder
oneDriveConfiguration
(Consumer<OneDriveConfiguration.Builder> oneDriveConfiguration) Provides the configuration information to connect to Microsoft OneDrive as your data source.oneDriveConfiguration
(OneDriveConfiguration oneDriveConfiguration) Provides the configuration information to connect to Microsoft OneDrive as your data source.default DataSourceConfiguration.Builder
quipConfiguration
(Consumer<QuipConfiguration.Builder> quipConfiguration) Provides the configuration information to connect to Quip as your data source.quipConfiguration
(QuipConfiguration quipConfiguration) Provides the configuration information to connect to Quip as your data source.default DataSourceConfiguration.Builder
s3Configuration
(Consumer<S3DataSourceConfiguration.Builder> s3Configuration) Provides the configuration information to connect to an Amazon S3 bucket as your data source.s3Configuration
(S3DataSourceConfiguration s3Configuration) Provides the configuration information to connect to an Amazon S3 bucket as your data source.default DataSourceConfiguration.Builder
salesforceConfiguration
(Consumer<SalesforceConfiguration.Builder> salesforceConfiguration) Provides the configuration information to connect to Salesforce as your data source.salesforceConfiguration
(SalesforceConfiguration salesforceConfiguration) Provides the configuration information to connect to Salesforce as your data source.default DataSourceConfiguration.Builder
serviceNowConfiguration
(Consumer<ServiceNowConfiguration.Builder> serviceNowConfiguration) Provides the configuration information to connect to ServiceNow as your data source.serviceNowConfiguration
(ServiceNowConfiguration serviceNowConfiguration) Provides the configuration information to connect to ServiceNow as your data source.default DataSourceConfiguration.Builder
sharePointConfiguration
(Consumer<SharePointConfiguration.Builder> sharePointConfiguration) Provides the configuration information to connect to Microsoft SharePoint as your data source.sharePointConfiguration
(SharePointConfiguration sharePointConfiguration) Provides the configuration information to connect to Microsoft SharePoint as your data source.default DataSourceConfiguration.Builder
slackConfiguration
(Consumer<SlackConfiguration.Builder> slackConfiguration) Provides the configuration information to connect to Slack as your data source.slackConfiguration
(SlackConfiguration slackConfiguration) Provides the configuration information to connect to Slack as your data source.default DataSourceConfiguration.Builder
templateConfiguration
(Consumer<TemplateConfiguration.Builder> templateConfiguration) Provides a template for the configuration information to connect to your data source.templateConfiguration
(TemplateConfiguration templateConfiguration) Provides a template for the configuration information to connect to your data source.default DataSourceConfiguration.Builder
webCrawlerConfiguration
(Consumer<WebCrawlerConfiguration.Builder> webCrawlerConfiguration) Sets the value of the WebCrawlerConfiguration property for this object.webCrawlerConfiguration
(WebCrawlerConfiguration webCrawlerConfiguration) Sets the value of the WebCrawlerConfiguration property for this object.default DataSourceConfiguration.Builder
workDocsConfiguration
(Consumer<WorkDocsConfiguration.Builder> workDocsConfiguration) Provides the configuration information to connect to Amazon WorkDocs as your data source.workDocsConfiguration
(WorkDocsConfiguration workDocsConfiguration) Provides the configuration information to connect to Amazon WorkDocs as your data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
s3Configuration
Provides the configuration information to connect to an Amazon S3 bucket as your data source.
Amazon Kendra now supports an upgraded Amazon S3 connector.
You must now use the TemplateConfiguration object instead of the
S3DataSourceConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Parameters:
s3Configuration
- Provides the configuration information to connect to an Amazon S3 bucket as your data source.Amazon Kendra now supports an upgraded Amazon S3 connector.
You must now use the TemplateConfiguration object instead of the
S3DataSourceConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Configuration
default DataSourceConfiguration.Builder s3Configuration(Consumer<S3DataSourceConfiguration.Builder> s3Configuration) Provides the configuration information to connect to an Amazon S3 bucket as your data source.
Amazon Kendra now supports an upgraded Amazon S3 connector.
You must now use the TemplateConfiguration object instead of the
S3DataSourceConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
S3DataSourceConfiguration.Builder
avoiding the need to create one manually viaS3DataSourceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Configuration(S3DataSourceConfiguration)
.- Parameters:
s3Configuration
- a consumer that will call methods onS3DataSourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseConfiguration
Provides the configuration information to connect to a database as your data source.
- Parameters:
databaseConfiguration
- Provides the configuration information to connect to a database as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseConfiguration
default DataSourceConfiguration.Builder databaseConfiguration(Consumer<DatabaseConfiguration.Builder> databaseConfiguration) Provides the configuration information to connect to a database as your data source.
This is a convenience method that creates an instance of theDatabaseConfiguration.Builder
avoiding the need to create one manually viaDatabaseConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatabaseConfiguration(DatabaseConfiguration)
.- Parameters:
databaseConfiguration
- a consumer that will call methods onDatabaseConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
salesforceConfiguration
DataSourceConfiguration.Builder salesforceConfiguration(SalesforceConfiguration salesforceConfiguration) Provides the configuration information to connect to Salesforce as your data source.
- Parameters:
salesforceConfiguration
- Provides the configuration information to connect to Salesforce as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
salesforceConfiguration
default DataSourceConfiguration.Builder salesforceConfiguration(Consumer<SalesforceConfiguration.Builder> salesforceConfiguration) Provides the configuration information to connect to Salesforce as your data source.
This is a convenience method that creates an instance of theSalesforceConfiguration.Builder
avoiding the need to create one manually viaSalesforceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosalesforceConfiguration(SalesforceConfiguration)
.- Parameters:
salesforceConfiguration
- a consumer that will call methods onSalesforceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oneDriveConfiguration
Provides the configuration information to connect to Microsoft OneDrive as your data source.
- Parameters:
oneDriveConfiguration
- Provides the configuration information to connect to Microsoft OneDrive as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oneDriveConfiguration
default DataSourceConfiguration.Builder oneDriveConfiguration(Consumer<OneDriveConfiguration.Builder> oneDriveConfiguration) Provides the configuration information to connect to Microsoft OneDrive as your data source.
This is a convenience method that creates an instance of theOneDriveConfiguration.Builder
avoiding the need to create one manually viaOneDriveConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooneDriveConfiguration(OneDriveConfiguration)
.- Parameters:
oneDriveConfiguration
- a consumer that will call methods onOneDriveConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceNowConfiguration
DataSourceConfiguration.Builder serviceNowConfiguration(ServiceNowConfiguration serviceNowConfiguration) Provides the configuration information to connect to ServiceNow as your data source.
- Parameters:
serviceNowConfiguration
- Provides the configuration information to connect to ServiceNow as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNowConfiguration
default DataSourceConfiguration.Builder serviceNowConfiguration(Consumer<ServiceNowConfiguration.Builder> serviceNowConfiguration) Provides the configuration information to connect to ServiceNow as your data source.
This is a convenience method that creates an instance of theServiceNowConfiguration.Builder
avoiding the need to create one manually viaServiceNowConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceNowConfiguration(ServiceNowConfiguration)
.- Parameters:
serviceNowConfiguration
- a consumer that will call methods onServiceNowConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confluenceConfiguration
DataSourceConfiguration.Builder confluenceConfiguration(ConfluenceConfiguration confluenceConfiguration) Provides the configuration information to connect to Confluence as your data source.
- Parameters:
confluenceConfiguration
- Provides the configuration information to connect to Confluence as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confluenceConfiguration
default DataSourceConfiguration.Builder confluenceConfiguration(Consumer<ConfluenceConfiguration.Builder> confluenceConfiguration) Provides the configuration information to connect to Confluence as your data source.
This is a convenience method that creates an instance of theConfluenceConfiguration.Builder
avoiding the need to create one manually viaConfluenceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfluenceConfiguration(ConfluenceConfiguration)
.- Parameters:
confluenceConfiguration
- a consumer that will call methods onConfluenceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
googleDriveConfiguration
DataSourceConfiguration.Builder googleDriveConfiguration(GoogleDriveConfiguration googleDriveConfiguration) Provides the configuration information to connect to Google Drive as your data source.
- Parameters:
googleDriveConfiguration
- Provides the configuration information to connect to Google Drive as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
googleDriveConfiguration
default DataSourceConfiguration.Builder googleDriveConfiguration(Consumer<GoogleDriveConfiguration.Builder> googleDriveConfiguration) Provides the configuration information to connect to Google Drive as your data source.
This is a convenience method that creates an instance of theGoogleDriveConfiguration.Builder
avoiding the need to create one manually viaGoogleDriveConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togoogleDriveConfiguration(GoogleDriveConfiguration)
.- Parameters:
googleDriveConfiguration
- a consumer that will call methods onGoogleDriveConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webCrawlerConfiguration
DataSourceConfiguration.Builder webCrawlerConfiguration(WebCrawlerConfiguration webCrawlerConfiguration) Sets the value of the WebCrawlerConfiguration property for this object.- Parameters:
webCrawlerConfiguration
- The new value for the WebCrawlerConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webCrawlerConfiguration
default DataSourceConfiguration.Builder webCrawlerConfiguration(Consumer<WebCrawlerConfiguration.Builder> webCrawlerConfiguration) Sets the value of the WebCrawlerConfiguration property for this object. This is a convenience method that creates an instance of theWebCrawlerConfiguration.Builder
avoiding the need to create one manually viaWebCrawlerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebCrawlerConfiguration(WebCrawlerConfiguration)
.- Parameters:
webCrawlerConfiguration
- a consumer that will call methods onWebCrawlerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workDocsConfiguration
Provides the configuration information to connect to Amazon WorkDocs as your data source.
- Parameters:
workDocsConfiguration
- Provides the configuration information to connect to Amazon WorkDocs as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workDocsConfiguration
default DataSourceConfiguration.Builder workDocsConfiguration(Consumer<WorkDocsConfiguration.Builder> workDocsConfiguration) Provides the configuration information to connect to Amazon WorkDocs as your data source.
This is a convenience method that creates an instance of theWorkDocsConfiguration.Builder
avoiding the need to create one manually viaWorkDocsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkDocsConfiguration(WorkDocsConfiguration)
.- Parameters:
workDocsConfiguration
- a consumer that will call methods onWorkDocsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fsxConfiguration
Provides the configuration information to connect to Amazon FSx as your data source.
Amazon Kendra now supports an upgraded Amazon FSx Windows connector.
You must now use the TemplateConfiguration object instead of the
FsxConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Parameters:
fsxConfiguration
- Provides the configuration information to connect to Amazon FSx as your data source.Amazon Kendra now supports an upgraded Amazon FSx Windows connector.
You must now use the TemplateConfiguration object instead of the
FsxConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fsxConfiguration
default DataSourceConfiguration.Builder fsxConfiguration(Consumer<FsxConfiguration.Builder> fsxConfiguration) Provides the configuration information to connect to Amazon FSx as your data source.
Amazon Kendra now supports an upgraded Amazon FSx Windows connector.
You must now use the TemplateConfiguration object instead of the
FsxConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
FsxConfiguration.Builder
avoiding the need to create one manually viaFsxConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofsxConfiguration(FsxConfiguration)
.- Parameters:
fsxConfiguration
- a consumer that will call methods onFsxConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
slackConfiguration
Provides the configuration information to connect to Slack as your data source.
Amazon Kendra now supports an upgraded Slack connector.
You must now use the TemplateConfiguration object instead of the
SlackConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Parameters:
slackConfiguration
- Provides the configuration information to connect to Slack as your data source.Amazon Kendra now supports an upgraded Slack connector.
You must now use the TemplateConfiguration object instead of the
SlackConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slackConfiguration
default DataSourceConfiguration.Builder slackConfiguration(Consumer<SlackConfiguration.Builder> slackConfiguration) Provides the configuration information to connect to Slack as your data source.
Amazon Kendra now supports an upgraded Slack connector.
You must now use the TemplateConfiguration object instead of the
SlackConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
SlackConfiguration.Builder
avoiding the need to create one manually viaSlackConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslackConfiguration(SlackConfiguration)
.- Parameters:
slackConfiguration
- a consumer that will call methods onSlackConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boxConfiguration
Provides the configuration information to connect to Box as your data source.
- Parameters:
boxConfiguration
- Provides the configuration information to connect to Box as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boxConfiguration
default DataSourceConfiguration.Builder boxConfiguration(Consumer<BoxConfiguration.Builder> boxConfiguration) Provides the configuration information to connect to Box as your data source.
This is a convenience method that creates an instance of theBoxConfiguration.Builder
avoiding the need to create one manually viaBoxConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toboxConfiguration(BoxConfiguration)
.- Parameters:
boxConfiguration
- a consumer that will call methods onBoxConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
quipConfiguration
Provides the configuration information to connect to Quip as your data source.
- Parameters:
quipConfiguration
- Provides the configuration information to connect to Quip as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quipConfiguration
default DataSourceConfiguration.Builder quipConfiguration(Consumer<QuipConfiguration.Builder> quipConfiguration) Provides the configuration information to connect to Quip as your data source.
This is a convenience method that creates an instance of theQuipConfiguration.Builder
avoiding the need to create one manually viaQuipConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquipConfiguration(QuipConfiguration)
.- Parameters:
quipConfiguration
- a consumer that will call methods onQuipConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jiraConfiguration
Provides the configuration information to connect to Jira as your data source.
- Parameters:
jiraConfiguration
- Provides the configuration information to connect to Jira as your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jiraConfiguration
default DataSourceConfiguration.Builder jiraConfiguration(Consumer<JiraConfiguration.Builder> jiraConfiguration) Provides the configuration information to connect to Jira as your data source.
This is a convenience method that creates an instance of theJiraConfiguration.Builder
avoiding the need to create one manually viaJiraConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojiraConfiguration(JiraConfiguration)
.- Parameters:
jiraConfiguration
- a consumer that will call methods onJiraConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHubConfiguration
Provides the configuration information to connect to GitHub as your data source.
Amazon Kendra now supports an upgraded GitHub connector.
You must now use the TemplateConfiguration object instead of the
GitHubConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won’t be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Parameters:
gitHubConfiguration
- Provides the configuration information to connect to GitHub as your data source.Amazon Kendra now supports an upgraded GitHub connector.
You must now use the TemplateConfiguration object instead of the
GitHubConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won’t be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitHubConfiguration
default DataSourceConfiguration.Builder gitHubConfiguration(Consumer<GitHubConfiguration.Builder> gitHubConfiguration) Provides the configuration information to connect to GitHub as your data source.
Amazon Kendra now supports an upgraded GitHub connector.
You must now use the TemplateConfiguration object instead of the
GitHubConfiguration
object to configure your connector.Connectors configured using the older console and API architecture will continue to function as configured. However, you won’t be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.
We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.
GitHubConfiguration.Builder
avoiding the need to create one manually viaGitHubConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togitHubConfiguration(GitHubConfiguration)
.- Parameters:
gitHubConfiguration
- a consumer that will call methods onGitHubConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alfrescoConfiguration
@Deprecated DataSourceConfiguration.Builder alfrescoConfiguration(AlfrescoConfiguration alfrescoConfiguration) Deprecated.Deprecated AlfrescoConfiguration in favor of TemplateConfigurationProvides the configuration information to connect to Alfresco as your data source.
Support for
AlfrescoConfiguration
ended May 2023. We recommend migrating to or using the Alfresco data source template schema / TemplateConfiguration API.- Parameters:
alfrescoConfiguration
- Provides the configuration information to connect to Alfresco as your data source.Support for
AlfrescoConfiguration
ended May 2023. We recommend migrating to or using the Alfresco data source template schema / TemplateConfiguration API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alfrescoConfiguration
@Deprecated default DataSourceConfiguration.Builder alfrescoConfiguration(Consumer<AlfrescoConfiguration.Builder> alfrescoConfiguration) Deprecated.Deprecated AlfrescoConfiguration in favor of TemplateConfigurationProvides the configuration information to connect to Alfresco as your data source.
Support for
AlfrescoConfiguration
ended May 2023. We recommend migrating to or using the Alfresco data source template schema / TemplateConfiguration API.AlfrescoConfiguration.Builder
avoiding the need to create one manually viaAlfrescoConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalfrescoConfiguration(AlfrescoConfiguration)
.- Parameters:
alfrescoConfiguration
- a consumer that will call methods onAlfrescoConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateConfiguration
Provides a template for the configuration information to connect to your data source.
- Parameters:
templateConfiguration
- Provides a template for the configuration information to connect to your data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateConfiguration
default DataSourceConfiguration.Builder templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration) Provides a template for the configuration information to connect to your data source.
This is a convenience method that creates an instance of theTemplateConfiguration.Builder
avoiding the need to create one manually viaTemplateConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplateConfiguration(TemplateConfiguration)
.- Parameters:
templateConfiguration
- a consumer that will call methods onTemplateConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-