Class CfnDataSource.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource>
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static final class CfnDataSource.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource>
A fluent builder for
CfnDataSource
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDataSource.Builder
dataDeletionPolicy
(String dataDeletionPolicy) The data deletion policy for the data source.dataSourceConfiguration
(IResolvable dataSourceConfiguration) The connection configuration for the data source.dataSourceConfiguration
(CfnDataSource.DataSourceConfigurationProperty dataSourceConfiguration) The connection configuration for the data source.description
(String description) The description of the data source.knowledgeBaseId
(String knowledgeBaseId) The unique identifier of the knowledge base to which the data source belongs.The name of the data source.serverSideEncryptionConfiguration
(IResolvable serverSideEncryptionConfiguration) Contains details about the configuration of the server-side encryption.serverSideEncryptionConfiguration
(CfnDataSource.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Contains details about the configuration of the server-side encryption.vectorIngestionConfiguration
(IResolvable vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.vectorIngestionConfiguration
(CfnDataSource.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.
-
Method Details
-
create
@Stability(Stable) public static CfnDataSource.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDataSource.Builder
.
-
dataSourceConfiguration
@Stability(Stable) public CfnDataSource.Builder dataSourceConfiguration(IResolvable dataSourceConfiguration) The connection configuration for the data source.- Parameters:
dataSourceConfiguration
- The connection configuration for the data source. This parameter is required.- Returns:
this
- See Also:
-
dataSourceConfiguration
@Stability(Stable) public CfnDataSource.Builder dataSourceConfiguration(CfnDataSource.DataSourceConfigurationProperty dataSourceConfiguration) The connection configuration for the data source.- Parameters:
dataSourceConfiguration
- The connection configuration for the data source. This parameter is required.- Returns:
this
- See Also:
-
knowledgeBaseId
The unique identifier of the knowledge base to which the data source belongs.- Parameters:
knowledgeBaseId
- The unique identifier of the knowledge base to which the data source belongs. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the data source.- Parameters:
name
- The name of the data source. This parameter is required.- Returns:
this
- See Also:
-
dataDeletionPolicy
The data deletion policy for the data source.- Parameters:
dataDeletionPolicy
- The data deletion policy for the data source. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the data source.- Parameters:
description
- The description of the data source. This parameter is required.- Returns:
this
- See Also:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnDataSource.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Contains details about the configuration of the server-side encryption.- Parameters:
serverSideEncryptionConfiguration
- Contains details about the configuration of the server-side encryption. This parameter is required.- Returns:
this
- See Also:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnDataSource.Builder serverSideEncryptionConfiguration(CfnDataSource.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Contains details about the configuration of the server-side encryption.- Parameters:
serverSideEncryptionConfiguration
- Contains details about the configuration of the server-side encryption. This parameter is required.- Returns:
this
- See Also:
-
vectorIngestionConfiguration
@Stability(Stable) public CfnDataSource.Builder vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.- Parameters:
vectorIngestionConfiguration
- Contains details about how to ingest the documents in the data source. This parameter is required.- Returns:
this
- See Also:
-
vectorIngestionConfiguration
@Stability(Stable) public CfnDataSource.Builder vectorIngestionConfiguration(CfnDataSource.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.- Parameters:
vectorIngestionConfiguration
- Contains details about how to ingest the documents in the data source. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource>
- Returns:
- a newly built instance of
CfnDataSource
.
-