Class CfnDataSource.SalesforceDataSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.SalesforceDataSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.SalesforceDataSourceConfigurationProperty>
- Enclosing interface:
CfnDataSource.SalesforceDataSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.SalesforceDataSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.SalesforceDataSourceConfigurationProperty>
A builder for
CfnDataSource.SalesforceDataSourceConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.crawlerConfiguration
(IResolvable crawlerConfiguration) crawlerConfiguration
(CfnDataSource.SalesforceCrawlerConfigurationProperty crawlerConfiguration) sourceConfiguration
(IResolvable sourceConfiguration) sourceConfiguration
(CfnDataSource.SalesforceSourceConfigurationProperty sourceConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceConfiguration
@Stability(Stable) public CfnDataSource.SalesforceDataSourceConfigurationProperty.Builder sourceConfiguration(IResolvable sourceConfiguration) - Parameters:
sourceConfiguration
- The endpoint information to connect to your Salesforce data source. This parameter is required.- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnDataSource.SalesforceDataSourceConfigurationProperty.Builder sourceConfiguration(CfnDataSource.SalesforceSourceConfigurationProperty sourceConfiguration) - Parameters:
sourceConfiguration
- The endpoint information to connect to your Salesforce data source. This parameter is required.- Returns:
this
-
crawlerConfiguration
@Stability(Stable) public CfnDataSource.SalesforceDataSourceConfigurationProperty.Builder crawlerConfiguration(IResolvable crawlerConfiguration) - Parameters:
crawlerConfiguration
- The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.- Returns:
this
-
crawlerConfiguration
@Stability(Stable) public CfnDataSource.SalesforceDataSourceConfigurationProperty.Builder crawlerConfiguration(CfnDataSource.SalesforceCrawlerConfigurationProperty crawlerConfiguration) - Parameters:
crawlerConfiguration
- The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.SalesforceDataSourceConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.SalesforceDataSourceConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-