Class CfnDataSource.S3DataSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.S3DataSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.S3DataSourceConfigurationProperty>
- Enclosing interface:
CfnDataSource.S3DataSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.S3DataSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.S3DataSourceConfigurationProperty>
A builder for
CfnDataSource.S3DataSourceConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSource.S3DataSourceConfigurationProperty.getBucketArn()
bucketOwnerAccountId
(String bucketOwnerAccountId) build()
Builds the configured instance.inclusionPrefixes
(List<String> inclusionPrefixes) Sets the value ofCfnDataSource.S3DataSourceConfigurationProperty.getInclusionPrefixes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnDataSource.S3DataSourceConfigurationProperty.Builder bucketArn(String bucketArn) Sets the value ofCfnDataSource.S3DataSourceConfigurationProperty.getBucketArn()
- Parameters:
bucketArn
- The Amazon Resource Name (ARN) of the S3 bucket that contains your data. This parameter is required.- Returns:
this
-
bucketOwnerAccountId
@Stability(Stable) public CfnDataSource.S3DataSourceConfigurationProperty.Builder bucketOwnerAccountId(String bucketOwnerAccountId) - Parameters:
bucketOwnerAccountId
- The account ID for the owner of the S3 bucket.- Returns:
this
-
inclusionPrefixes
@Stability(Stable) public CfnDataSource.S3DataSourceConfigurationProperty.Builder inclusionPrefixes(List<String> inclusionPrefixes) Sets the value ofCfnDataSource.S3DataSourceConfigurationProperty.getInclusionPrefixes()
- Parameters:
inclusionPrefixes
- A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.S3DataSourceConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.S3DataSourceConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-