Class CfnDataSourcePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin>
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin>
A fluent builder for
CfnDataSourcePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) dataDeletionPolicy(String dataDeletionPolicy) The data deletion policy for the data source.dataSourceConfiguration(CfnDataSourcePropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) The connection configuration for the data source.dataSourceConfiguration(IResolvable 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(CfnDataSourcePropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Contains details about the configuration of the server-side encryption.serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Contains details about the configuration of the server-side encryption.vectorIngestionConfiguration(CfnDataSourcePropsMixin.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Contains details about how to ingest the documents in the data source.
-
Method Details
-
create
@Stability(Stable) public static CfnDataSourcePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDataSourcePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDataSourcePropsMixin.Builder.
-
dataDeletionPolicy
@Stability(Stable) public CfnDataSourcePropsMixin.Builder dataDeletionPolicy(String 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:
-
dataSourceConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.Builder dataSourceConfiguration(CfnDataSourcePropsMixin.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:
-
description
The description of the data source.- Parameters:
description- The description of 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:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.Builder serverSideEncryptionConfiguration(CfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.Builder vectorIngestionConfiguration(CfnDataSourcePropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin>- Returns:
- a newly built instance of
CfnDataSourcePropsMixin.
-