Class CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.getBucketArn()bucketOwnerAccountId(String bucketOwnerAccountId) build()Builds the configured instance.inclusionPrefixes(List<String> inclusionPrefixes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.Builder bucketArn(String bucketArn) Sets the value ofCfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.getBucketArn()- Parameters:
bucketArn- The Amazon Resource Name (ARN) of the S3 bucket that contains your data.- Returns:
this
-
bucketOwnerAccountId
@Stability(Stable) public CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.Builder bucketOwnerAccountId(String bucketOwnerAccountId) Sets the value ofCfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.getBucketOwnerAccountId()- Parameters:
bucketOwnerAccountId- The account ID for the owner of the S3 bucket.- Returns:
this
-
inclusionPrefixes
@Stability(Stable) public CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty.Builder inclusionPrefixes(List<String> inclusionPrefixes) - Parameters:
inclusionPrefixes- A list of S3 prefixes to include certain files or content. This field is an array with a maximum of one item, which can contain a string that has a maximum length of 300 characters. For more information, see Organizing objects using prefixes .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.S3DataSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-