Interface DataSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceConfiguration.Builder,,DataSourceConfiguration> SdkBuilder<DataSourceConfiguration.Builder,,DataSourceConfiguration> SdkPojo
- Enclosing class:
DataSourceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSourceConfiguration.BuilderconfluenceConfiguration(Consumer<ConfluenceDataSourceConfiguration.Builder> confluenceConfiguration) The configuration information to connect to Confluence as your data source for self-managed knowledge bases.confluenceConfiguration(ConfluenceDataSourceConfiguration confluenceConfiguration) The configuration information to connect to Confluence as your data source for self-managed knowledge bases.default DataSourceConfiguration.BuildermanagedKnowledgeBaseConnectorConfiguration(Consumer<ManagedKnowledgeBaseConnectorConfiguration.Builder> managedKnowledgeBaseConnectorConfiguration) Contains the configuration for a data source that connects a managed knowledge base to a supported data source connector.managedKnowledgeBaseConnectorConfiguration(ManagedKnowledgeBaseConnectorConfiguration managedKnowledgeBaseConnectorConfiguration) Contains the configuration for a data source that connects a managed knowledge base to a supported data source connector.default DataSourceConfiguration.Builders3Configuration(Consumer<S3DataSourceConfiguration.Builder> s3Configuration) The configuration information to connect to Amazon S3 as your data source for self-managed knowledge bases.s3Configuration(S3DataSourceConfiguration s3Configuration) The configuration information to connect to Amazon S3 as your data source for self-managed knowledge bases.default DataSourceConfiguration.BuildersalesforceConfiguration(Consumer<SalesforceDataSourceConfiguration.Builder> salesforceConfiguration) The configuration information to connect to Salesforce as your data source.salesforceConfiguration(SalesforceDataSourceConfiguration salesforceConfiguration) The configuration information to connect to Salesforce as your data source.default DataSourceConfiguration.BuildersharePointConfiguration(Consumer<SharePointDataSourceConfiguration.Builder> sharePointConfiguration) The configuration information to connect to SharePoint as your data source for self-managed knowledge bases.sharePointConfiguration(SharePointDataSourceConfiguration sharePointConfiguration) The configuration information to connect to SharePoint as your data source for self-managed knowledge bases.The type of data source.type(DataSourceType type) The type of data source.default DataSourceConfiguration.BuilderwebConfiguration(Consumer<WebDataSourceConfiguration.Builder> webConfiguration) The configuration of web URLs to crawl for your data source.webConfiguration(WebDataSourceConfiguration webConfiguration) The configuration of web URLs to crawl for your data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of data source.
- Parameters:
type- The type of data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of data source.
- Parameters:
type- The type of data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
managedKnowledgeBaseConnectorConfiguration
DataSourceConfiguration.Builder managedKnowledgeBaseConnectorConfiguration(ManagedKnowledgeBaseConnectorConfiguration managedKnowledgeBaseConnectorConfiguration) Contains the configuration for a data source that connects a managed knowledge base to a supported data source connector. Specify this object when the data source type is
MANAGED_KNOWLEDGE_BASE_CONNECTOR.- Parameters:
managedKnowledgeBaseConnectorConfiguration- Contains the configuration for a data source that connects a managed knowledge base to a supported data source connector. Specify this object when the data source type isMANAGED_KNOWLEDGE_BASE_CONNECTOR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedKnowledgeBaseConnectorConfiguration
default DataSourceConfiguration.Builder managedKnowledgeBaseConnectorConfiguration(Consumer<ManagedKnowledgeBaseConnectorConfiguration.Builder> managedKnowledgeBaseConnectorConfiguration) Contains the configuration for a data source that connects a managed knowledge base to a supported data source connector. Specify this object when the data source type is
This is a convenience method that creates an instance of theMANAGED_KNOWLEDGE_BASE_CONNECTOR.ManagedKnowledgeBaseConnectorConfiguration.Builderavoiding the need to create one manually viaManagedKnowledgeBaseConnectorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedKnowledgeBaseConnectorConfiguration(ManagedKnowledgeBaseConnectorConfiguration).- Parameters:
managedKnowledgeBaseConnectorConfiguration- a consumer that will call methods onManagedKnowledgeBaseConnectorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Configuration
The configuration information to connect to Amazon S3 as your data source for self-managed knowledge bases. To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration.
- Parameters:
s3Configuration- The configuration information to connect to Amazon S3 as your data source for self-managed knowledge bases. To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Configuration
default DataSourceConfiguration.Builder s3Configuration(Consumer<S3DataSourceConfiguration.Builder> s3Configuration) The configuration information to connect to Amazon S3 as your data source for self-managed knowledge bases. To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration.
This is a convenience method that creates an instance of theS3DataSourceConfiguration.Builderavoiding the need to create one manually viaS3DataSourceConfiguration.builder().When the
Consumercompletes,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:
-
webConfiguration
The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.
To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Web crawler data source connector for self-managed knowledge bases is in preview release and is subject to change.
- Parameters:
webConfiguration- The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Web crawler data source connector for self-managed knowledge bases is in preview release and is subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webConfiguration
default DataSourceConfiguration.Builder webConfiguration(Consumer<WebDataSourceConfiguration.Builder> webConfiguration) The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.
This is a convenience method that creates an instance of theTo configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Web crawler data source connector for self-managed knowledge bases is in preview release and is subject to change.
WebDataSourceConfiguration.Builderavoiding the need to create one manually viaWebDataSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebConfiguration(WebDataSourceConfiguration).- Parameters:
webConfiguration- a consumer that will call methods onWebDataSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confluenceConfiguration
DataSourceConfiguration.Builder confluenceConfiguration(ConfluenceDataSourceConfiguration confluenceConfiguration) The configuration information to connect to Confluence as your data source for self-managed knowledge bases.
To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Confluence data source connector for self-managed knowledge bases is in preview release and is subject to change.
- Parameters:
confluenceConfiguration- The configuration information to connect to Confluence as your data source for self-managed knowledge bases.To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Confluence data source connector for self-managed knowledge bases is in preview release and is subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confluenceConfiguration
default DataSourceConfiguration.Builder confluenceConfiguration(Consumer<ConfluenceDataSourceConfiguration.Builder> confluenceConfiguration) The configuration information to connect to Confluence as your data source for self-managed knowledge bases.
This is a convenience method that creates an instance of theTo configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Confluence data source connector for self-managed knowledge bases is in preview release and is subject to change.
ConfluenceDataSourceConfiguration.Builderavoiding the need to create one manually viaConfluenceDataSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfluenceConfiguration(ConfluenceDataSourceConfiguration).- Parameters:
confluenceConfiguration- a consumer that will call methods onConfluenceDataSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
salesforceConfiguration
DataSourceConfiguration.Builder salesforceConfiguration(SalesforceDataSourceConfiguration salesforceConfiguration) The configuration information to connect to Salesforce as your data source.
Salesforce data source connector for self-managed knowledge bases is in preview release and is subject to change.
- Parameters:
salesforceConfiguration- The configuration information to connect to Salesforce as your data source.Salesforce data source connector for self-managed knowledge bases is in preview release and is subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
salesforceConfiguration
default DataSourceConfiguration.Builder salesforceConfiguration(Consumer<SalesforceDataSourceConfiguration.Builder> salesforceConfiguration) The configuration information to connect to Salesforce as your data source.
This is a convenience method that creates an instance of theSalesforce data source connector for self-managed knowledge bases is in preview release and is subject to change.
SalesforceDataSourceConfiguration.Builderavoiding the need to create one manually viaSalesforceDataSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosalesforceConfiguration(SalesforceDataSourceConfiguration).- Parameters:
salesforceConfiguration- a consumer that will call methods onSalesforceDataSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-