Class CfnDataset.S3SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnDataset.S3SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.S3SourceProperty>
- Enclosing interface:
CfnDataset.S3SourceProperty
@Stability(Stable)
public static final class CfnDataset.S3SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.S3SourceProperty>
A builder for
CfnDataset.S3SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataset.S3SourceProperty.getS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Uri
Sets the value ofCfnDataset.S3SourceProperty.getS3Uri()- Parameters:
s3Uri- S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl). This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.S3SourceProperty>- Returns:
- a new instance of
CfnDataset.S3SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-