Interface ExperimentRunDataset.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentRunDataset.Builder,,ExperimentRunDataset> SdkBuilder<ExperimentRunDataset.Builder,,ExperimentRunDataset> SdkPojo
- Enclosing class:
ExperimentRunDataset
-
Method Summary
Modifier and TypeMethodDescriptionThe number of cases the run will report.contentHash(String contentHash) A SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>.The ID of the dataset, from 1 to 256 characters.The name of the dataset, from 1 to 256 characters.Where the dataset comes from.source(DatasetSourceType source) Where the dataset comes from.The version of the dataset.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
Where the dataset comes from.
- Parameters:
source- Where the dataset comes from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
Where the dataset comes from.
- Parameters:
source- Where the dataset comes from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the dataset, from 1 to 256 characters. Required for AGENTCORE datasets. FILE and OTHER datasets require an id or a name (DATASET_ID_REQUIRED).
- Parameters:
id- The ID of the dataset, from 1 to 256 characters. Required for AGENTCORE datasets. FILE and OTHER datasets require an id or a name (DATASET_ID_REQUIRED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the dataset, from 1 to 256 characters. FILE and OTHER datasets require an id or a name.
- Parameters:
name- The name of the dataset, from 1 to 256 characters. FILE and OTHER datasets require an id or a name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the dataset. For AGENTCORE datasets, a published version number. Required for hosted runs (FIELD_REQUIRED without it), and DRAFT is rejected. Optional and informational for reported runs.
- Parameters:
version- The version of the dataset. For AGENTCORE datasets, a published version number. Required for hosted runs (FIELD_REQUIRED without it), and DRAFT is rejected. Optional and informational for reported runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseCount
The number of cases the run will report. Cases that are never reported count as not run. Output only for hosted runs.
- Parameters:
caseCount- The number of cases the run will report. Cases that are never reported count as not run. Output only for hosted runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentHash
A SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>. Output only for hosted runs.
- Parameters:
contentHash- A SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>. Output only for hosted runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-