Class CfnDataSource.DataSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.DataSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.DataSourceConfigurationProperty>
- Enclosing interface:
CfnDataSource.DataSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.DataSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.DataSourceConfigurationProperty>
A builder for
CfnDataSource.DataSourceConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Configuration
(IResolvable s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
s3Configuration
(CfnDataSource.S3DataSourceConfigurationProperty s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Configuration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
- Parameters:
s3Configuration
- Contains details about the configuration of the S3 object containing the data source. This parameter is required.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDataSource.DataSourceConfigurationProperty.Builder s3Configuration(CfnDataSource.S3DataSourceConfigurationProperty s3Configuration) Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getS3Configuration()
- Parameters:
s3Configuration
- Contains details about the configuration of the S3 object containing the data source. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnDataSource.DataSourceConfigurationProperty.getType()
- Parameters:
type
- The type of storage for the data source. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.DataSourceConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.DataSourceConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-