Class CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialsSecretArn(String credentialsSecretArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty.Builder authType(String authType) - Parameters:
authType- The supported authentication type to authenticate and connect to your Salesforce instance.- Returns:
this
-
credentialsSecretArn
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty.Builder credentialsSecretArn(String credentialsSecretArn) Sets the value ofCfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty.getCredentialsSecretArn()- Parameters:
credentialsSecretArn- The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Salesforce instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Salesforce connection configuration .- Returns:
this
-
hostUrl
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty.Builder hostUrl(String hostUrl) - Parameters:
hostUrl- The Salesforce host URL or instance URL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.SalesforceSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-