Class CfnDataset.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnDataset.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset>
- Enclosing class:
CfnDataset
@Stability(Stable)
public static final class CfnDataset.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset>
A fluent builder for
CfnDataset.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDataset.BuilderdatasetName(String datasetName) Human-readable name for the dataset.description(String description) A description of the dataset.Optional AWS KMS key ARN for SSE-KMS on service S3 writes.schemaType(String schemaType) Versioned schema type governing the structure of examples.source(IResolvable source) Source of initial examples.Source of initial examples.A list of tags to assign to the dataset.
-
Method Details
-
create
@Stability(Stable) public static CfnDataset.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDataset.Builder.
-
datasetName
Human-readable name for the dataset.Unique within the account (case-insensitive). Immutable after creation.
- Parameters:
datasetName- Human-readable name for the dataset. This parameter is required.- Returns:
this- See Also:
-
schemaType
Versioned schema type governing the structure of examples.Immutable after creation.
- Parameters:
schemaType- Versioned schema type governing the structure of examples. This parameter is required.- Returns:
this- See Also:
-
description
A description of the dataset.- Parameters:
description- A description of the dataset. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
Optional AWS KMS key ARN for SSE-KMS on service S3 writes.- Parameters:
kmsKeyArn- Optional AWS KMS key ARN for SSE-KMS on service S3 writes. This parameter is required.- Returns:
this- See Also:
-
source
Source of initial examples.Provide either inline examples or an S3 URI pointing to a JSONL file.
- Parameters:
source- Source of initial examples. This parameter is required.- Returns:
this- See Also:
-
source
Source of initial examples.Provide either inline examples or an S3 URI pointing to a JSONL file.
- Parameters:
source- Source of initial examples. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to assign to the dataset.- Parameters:
tags- A list of tags to assign to the dataset. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset>- Returns:
- a newly built instance of
CfnDataset.
-