Class CfnDataSource.DataSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.DataSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.DataSourceConfigurationProperty>
- Enclosing interface:
CfnDataSource.DataSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.DataSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.DataSourceConfigurationProperty>
A builder for
CfnDataSource.DataSourceConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.confluenceConfiguration
(IResolvable confluenceConfiguration) confluenceConfiguration
(CfnDataSource.ConfluenceConfigurationProperty confluenceConfiguration) databaseConfiguration
(IResolvable databaseConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getDatabaseConfiguration()
databaseConfiguration
(CfnDataSource.DatabaseConfigurationProperty databaseConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getDatabaseConfiguration()
googleDriveConfiguration
(IResolvable googleDriveConfiguration) googleDriveConfiguration
(CfnDataSource.GoogleDriveConfigurationProperty googleDriveConfiguration) oneDriveConfiguration
(IResolvable oneDriveConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getOneDriveConfiguration()
oneDriveConfiguration
(CfnDataSource.OneDriveConfigurationProperty oneDriveConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getOneDriveConfiguration()
s3Configuration
(IResolvable s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
s3Configuration
(CfnDataSource.S3DataSourceConfigurationProperty s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
salesforceConfiguration
(IResolvable salesforceConfiguration) salesforceConfiguration
(CfnDataSource.SalesforceConfigurationProperty salesforceConfiguration) serviceNowConfiguration
(IResolvable serviceNowConfiguration) serviceNowConfiguration
(CfnDataSource.ServiceNowConfigurationProperty serviceNowConfiguration) sharePointConfiguration
(IResolvable sharePointConfiguration) sharePointConfiguration
(CfnDataSource.SharePointConfigurationProperty sharePointConfiguration) webCrawlerConfiguration
(IResolvable webCrawlerConfiguration) webCrawlerConfiguration
(CfnDataSource.WebCrawlerConfigurationProperty webCrawlerConfiguration) workDocsConfiguration
(IResolvable workDocsConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getWorkDocsConfiguration()
workDocsConfiguration
(CfnDataSource.WorkDocsConfigurationProperty workDocsConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getWorkDocsConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
confluenceConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder confluenceConfiguration(IResolvable confluenceConfiguration) - Parameters:
confluenceConfiguration
- Provides the configuration information to connect to Confluence as your data source.- Returns:
this
-
confluenceConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder confluenceConfiguration(CfnDataSource.ConfluenceConfigurationProperty confluenceConfiguration) - Parameters:
confluenceConfiguration
- Provides the configuration information to connect to Confluence as your data source.- Returns:
this
-
databaseConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder databaseConfiguration(IResolvable databaseConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getDatabaseConfiguration()
- Parameters:
databaseConfiguration
- Provides the configuration information to connect to a database as your data source.- Returns:
this
-
databaseConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder databaseConfiguration(CfnDataSource.DatabaseConfigurationProperty databaseConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getDatabaseConfiguration()
- Parameters:
databaseConfiguration
- Provides the configuration information to connect to a database as your data source.- Returns:
this
-
googleDriveConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder googleDriveConfiguration(IResolvable googleDriveConfiguration) - Parameters:
googleDriveConfiguration
- Provides the configuration information to connect to Google Drive as your data source.- Returns:
this
-
googleDriveConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder googleDriveConfiguration(CfnDataSource.GoogleDriveConfigurationProperty googleDriveConfiguration) - Parameters:
googleDriveConfiguration
- Provides the configuration information to connect to Google Drive as your data source.- Returns:
this
-
oneDriveConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder oneDriveConfiguration(IResolvable oneDriveConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getOneDriveConfiguration()
- Parameters:
oneDriveConfiguration
- Provides the configuration information to connect to Microsoft OneDrive as your data source.- Returns:
this
-
oneDriveConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder oneDriveConfiguration(CfnDataSource.OneDriveConfigurationProperty oneDriveConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getOneDriveConfiguration()
- Parameters:
oneDriveConfiguration
- Provides the configuration information to connect to Microsoft OneDrive as your data source.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
- Parameters:
s3Configuration
- Provides the configuration information to connect to an Amazon S3 bucket as your data source.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder s3Configuration(CfnDataSource.S3DataSourceConfigurationProperty s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
- Parameters:
s3Configuration
- Provides the configuration information to connect to an Amazon S3 bucket as your data source.- Returns:
this
-
salesforceConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder salesforceConfiguration(IResolvable salesforceConfiguration) - Parameters:
salesforceConfiguration
- Provides the configuration information to connect to Salesforce as your data source.- Returns:
this
-
salesforceConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder salesforceConfiguration(CfnDataSource.SalesforceConfigurationProperty salesforceConfiguration) - Parameters:
salesforceConfiguration
- Provides the configuration information to connect to Salesforce as your data source.- Returns:
this
-
serviceNowConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder serviceNowConfiguration(IResolvable serviceNowConfiguration) - Parameters:
serviceNowConfiguration
- Provides the configuration information to connect to ServiceNow as your data source.- Returns:
this
-
serviceNowConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder serviceNowConfiguration(CfnDataSource.ServiceNowConfigurationProperty serviceNowConfiguration) - Parameters:
serviceNowConfiguration
- Provides the configuration information to connect to ServiceNow as your data source.- Returns:
this
-
webCrawlerConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder webCrawlerConfiguration(IResolvable webCrawlerConfiguration) - Parameters:
webCrawlerConfiguration
- Provides the configuration information required for Amazon Kendra Web Crawler.- Returns:
this
-
webCrawlerConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder webCrawlerConfiguration(CfnDataSource.WebCrawlerConfigurationProperty webCrawlerConfiguration) - Parameters:
webCrawlerConfiguration
- Provides the configuration information required for Amazon Kendra Web Crawler.- Returns:
this
-
workDocsConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder workDocsConfiguration(IResolvable workDocsConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getWorkDocsConfiguration()
- Parameters:
workDocsConfiguration
- Provides the configuration information to connect to Amazon WorkDocs as your data source.- Returns:
this
-
workDocsConfiguration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder workDocsConfiguration(CfnDataSource.WorkDocsConfigurationProperty workDocsConfiguration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getWorkDocsConfiguration()
- Parameters:
workDocsConfiguration
- Provides the configuration information to connect to Amazon WorkDocs as your data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.DataSourceConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.DataSourceConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-