Interface DatabaseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatabaseConfiguration.Builder,
,DatabaseConfiguration> SdkBuilder<DatabaseConfiguration.Builder,
,DatabaseConfiguration> SdkPojo
- Enclosing class:
DatabaseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatabaseConfiguration.Builder
aclConfiguration
(Consumer<AclConfiguration.Builder> aclConfiguration) Information about the database column that provides information for user context filtering.aclConfiguration
(AclConfiguration aclConfiguration) Information about the database column that provides information for user context filtering.default DatabaseConfiguration.Builder
columnConfiguration
(Consumer<ColumnConfiguration.Builder> columnConfiguration) Information about where the index should get the document information from the database.columnConfiguration
(ColumnConfiguration columnConfiguration) Information about where the index should get the document information from the database.default DatabaseConfiguration.Builder
connectionConfiguration
(Consumer<ConnectionConfiguration.Builder> connectionConfiguration) Configuration information that's required to connect to a database.connectionConfiguration
(ConnectionConfiguration connectionConfiguration) Configuration information that's required to connect to a database.databaseEngineType
(String databaseEngineType) The type of database engine that runs the database.databaseEngineType
(DatabaseEngineType databaseEngineType) The type of database engine that runs the database.default DatabaseConfiguration.Builder
sqlConfiguration
(Consumer<SqlConfiguration.Builder> sqlConfiguration) Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.sqlConfiguration
(SqlConfiguration sqlConfiguration) Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.default DatabaseConfiguration.Builder
vpcConfiguration
(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object.vpcConfiguration
(DataSourceVpcConfiguration vpcConfiguration) Sets the value of the VpcConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
databaseEngineType
The type of database engine that runs the database.
- Parameters:
databaseEngineType
- The type of database engine that runs the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseEngineType
The type of database engine that runs the database.
- Parameters:
databaseEngineType
- The type of database engine that runs the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionConfiguration
DatabaseConfiguration.Builder connectionConfiguration(ConnectionConfiguration connectionConfiguration) Configuration information that's required to connect to a database.
- Parameters:
connectionConfiguration
- Configuration information that's required to connect to a database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionConfiguration
default DatabaseConfiguration.Builder connectionConfiguration(Consumer<ConnectionConfiguration.Builder> connectionConfiguration) Configuration information that's required to connect to a database.
This is a convenience method that creates an instance of theConnectionConfiguration.Builder
avoiding the need to create one manually viaConnectionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionConfiguration(ConnectionConfiguration)
.- Parameters:
connectionConfiguration
- a consumer that will call methods onConnectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfiguration
Sets the value of the VpcConfiguration property for this object.- Parameters:
vpcConfiguration
- The new value for the VpcConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default DatabaseConfiguration.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object. This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builder
avoiding the need to create one manually viaDataSourceVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(DataSourceVpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onDataSourceVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
columnConfiguration
Information about where the index should get the document information from the database.
- Parameters:
columnConfiguration
- Information about where the index should get the document information from the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnConfiguration
default DatabaseConfiguration.Builder columnConfiguration(Consumer<ColumnConfiguration.Builder> columnConfiguration) Information about where the index should get the document information from the database.
This is a convenience method that creates an instance of theColumnConfiguration.Builder
avoiding the need to create one manually viaColumnConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumnConfiguration(ColumnConfiguration)
.- Parameters:
columnConfiguration
- a consumer that will call methods onColumnConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aclConfiguration
Information about the database column that provides information for user context filtering.
- Parameters:
aclConfiguration
- Information about the database column that provides information for user context filtering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aclConfiguration
default DatabaseConfiguration.Builder aclConfiguration(Consumer<AclConfiguration.Builder> aclConfiguration) Information about the database column that provides information for user context filtering.
This is a convenience method that creates an instance of theAclConfiguration.Builder
avoiding the need to create one manually viaAclConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaclConfiguration(AclConfiguration)
.- Parameters:
aclConfiguration
- a consumer that will call methods onAclConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqlConfiguration
Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.
- Parameters:
sqlConfiguration
- Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlConfiguration
default DatabaseConfiguration.Builder sqlConfiguration(Consumer<SqlConfiguration.Builder> sqlConfiguration) Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.
This is a convenience method that creates an instance of theSqlConfiguration.Builder
avoiding the need to create one manually viaSqlConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqlConfiguration(SqlConfiguration)
.- Parameters:
sqlConfiguration
- a consumer that will call methods onSqlConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-