Class CfnDataSource.DatabaseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.DatabaseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.DatabaseConfigurationProperty>
- Enclosing interface:
CfnDataSource.DatabaseConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.DatabaseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.DatabaseConfigurationProperty>
A builder for
CfnDataSource.DatabaseConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaclConfiguration(IResolvable aclConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getAclConfiguration()aclConfiguration(CfnDataSource.AclConfigurationProperty aclConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getAclConfiguration()build()Builds the configured instance.columnConfiguration(IResolvable columnConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getColumnConfiguration()columnConfiguration(CfnDataSource.ColumnConfigurationProperty columnConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getColumnConfiguration()connectionConfiguration(IResolvable connectionConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getConnectionConfiguration()connectionConfiguration(CfnDataSource.ConnectionConfigurationProperty connectionConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getConnectionConfiguration()databaseEngineType(String databaseEngineType) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getDatabaseEngineType()sqlConfiguration(IResolvable sqlConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getSqlConfiguration()sqlConfiguration(CfnDataSource.SqlConfigurationProperty sqlConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getSqlConfiguration()vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getVpcConfiguration()vpcConfiguration(CfnDataSource.DataSourceVpcConfigurationProperty vpcConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getVpcConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder columnConfiguration(IResolvable columnConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getColumnConfiguration()- Parameters:
columnConfiguration- Information about where the index should get the document information from the database. This parameter is required.- Returns:
this
-
columnConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder columnConfiguration(CfnDataSource.ColumnConfigurationProperty columnConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getColumnConfiguration()- Parameters:
columnConfiguration- Information about where the index should get the document information from the database. This parameter is required.- Returns:
this
-
connectionConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder connectionConfiguration(IResolvable connectionConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getConnectionConfiguration()- Parameters:
connectionConfiguration- Configuration information that's required to connect to a database. This parameter is required.- Returns:
this
-
connectionConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder connectionConfiguration(CfnDataSource.ConnectionConfigurationProperty connectionConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getConnectionConfiguration()- Parameters:
connectionConfiguration- Configuration information that's required to connect to a database. This parameter is required.- Returns:
this
-
databaseEngineType
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder databaseEngineType(String databaseEngineType) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getDatabaseEngineType()- Parameters:
databaseEngineType- The type of database engine that runs the database. This parameter is required.- Returns:
this
-
aclConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder aclConfiguration(IResolvable aclConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getAclConfiguration()- Parameters:
aclConfiguration- Information about the database column that provides information for user context filtering.- Returns:
this
-
aclConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder aclConfiguration(CfnDataSource.AclConfigurationProperty aclConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getAclConfiguration()- Parameters:
aclConfiguration- Information about the database column that provides information for user context filtering.- Returns:
this
-
sqlConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder sqlConfiguration(IResolvable sqlConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getSqlConfiguration()- Parameters:
sqlConfiguration- Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.- Returns:
this
-
sqlConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder sqlConfiguration(CfnDataSource.SqlConfigurationProperty sqlConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getSqlConfiguration()- Parameters:
sqlConfiguration- Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- Provides information for connecting to an Amazon VPC.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnDataSource.DatabaseConfigurationProperty.Builder vpcConfiguration(CfnDataSource.DataSourceVpcConfigurationProperty vpcConfiguration) Sets the value ofCfnDataSource.DatabaseConfigurationProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- Provides information for connecting to an Amazon VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.DatabaseConfigurationProperty>- Returns:
- a new instance of
CfnDataSource.DatabaseConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-