Class CfnDataSourceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourceMixinProps>
- Enclosing interface:
CfnDataSourceMixinProps
@Stability(Stable)
public static final class CfnDataSourceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourceMixinProps>
A builder for
CfnDataSourceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataDeletionPolicy(String dataDeletionPolicy) Sets the value ofCfnDataSourceMixinProps.getDataDeletionPolicy()dataSourceConfiguration(CfnDataSourcePropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) Sets the value ofCfnDataSourceMixinProps.getDataSourceConfiguration()dataSourceConfiguration(IResolvable dataSourceConfiguration) Sets the value ofCfnDataSourceMixinProps.getDataSourceConfiguration()description(String description) Sets the value ofCfnDataSourceMixinProps.getDescription()knowledgeBaseId(String knowledgeBaseId) Sets the value ofCfnDataSourceMixinProps.getKnowledgeBaseId()Sets the value ofCfnDataSourceMixinProps.getName()serverSideEncryptionConfiguration(CfnDataSourcePropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Sets the value ofCfnDataSourceMixinProps.getServerSideEncryptionConfiguration()serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Sets the value ofCfnDataSourceMixinProps.getServerSideEncryptionConfiguration()vectorIngestionConfiguration(CfnDataSourcePropsMixin.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Sets the value ofCfnDataSourceMixinProps.getVectorIngestionConfiguration()vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Sets the value ofCfnDataSourceMixinProps.getVectorIngestionConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataDeletionPolicy
@Stability(Stable) public CfnDataSourceMixinProps.Builder dataDeletionPolicy(String dataDeletionPolicy) Sets the value ofCfnDataSourceMixinProps.getDataDeletionPolicy()- Parameters:
dataDeletionPolicy- The data deletion policy for the data source.- Returns:
this
-
dataSourceConfiguration
@Stability(Stable) public CfnDataSourceMixinProps.Builder dataSourceConfiguration(IResolvable dataSourceConfiguration) Sets the value ofCfnDataSourceMixinProps.getDataSourceConfiguration()- Parameters:
dataSourceConfiguration- The connection configuration for the data source.- Returns:
this
-
dataSourceConfiguration
@Stability(Stable) public CfnDataSourceMixinProps.Builder dataSourceConfiguration(CfnDataSourcePropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) Sets the value ofCfnDataSourceMixinProps.getDataSourceConfiguration()- Parameters:
dataSourceConfiguration- The connection configuration for the data source.- Returns:
this
-
description
Sets the value ofCfnDataSourceMixinProps.getDescription()- Parameters:
description- The description of the data source.- Returns:
this
-
knowledgeBaseId
Sets the value ofCfnDataSourceMixinProps.getKnowledgeBaseId()- Parameters:
knowledgeBaseId- The unique identifier of the knowledge base to which the data source belongs.- Returns:
this
-
name
Sets the value ofCfnDataSourceMixinProps.getName()- Parameters:
name- The name of the data source.- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnDataSourceMixinProps.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Sets the value ofCfnDataSourceMixinProps.getServerSideEncryptionConfiguration()- Parameters:
serverSideEncryptionConfiguration- Contains details about the configuration of the server-side encryption.- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnDataSourceMixinProps.Builder serverSideEncryptionConfiguration(CfnDataSourcePropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Sets the value ofCfnDataSourceMixinProps.getServerSideEncryptionConfiguration()- Parameters:
serverSideEncryptionConfiguration- Contains details about the configuration of the server-side encryption.- Returns:
this
-
vectorIngestionConfiguration
@Stability(Stable) public CfnDataSourceMixinProps.Builder vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Sets the value ofCfnDataSourceMixinProps.getVectorIngestionConfiguration()- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in the data source.- Returns:
this
-
vectorIngestionConfiguration
@Stability(Stable) public CfnDataSourceMixinProps.Builder vectorIngestionConfiguration(CfnDataSourcePropsMixin.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Sets the value ofCfnDataSourceMixinProps.getVectorIngestionConfiguration()- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in the data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourceMixinProps>- Returns:
- a new instance of
CfnDataSourceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-