Class ExperimentRunDataset
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExperimentRunDataset.Builder,ExperimentRunDataset>
The dataset a run tested. Runs of one experiment can test different datasets.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ExperimentRunDataset.Builderbuilder()final IntegerThe number of cases the run will report.final StringA SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The ID of the dataset, from 1 to 256 characters.final Stringname()The name of the dataset, from 1 to 256 characters.static Class<? extends ExperimentRunDataset.Builder> final DatasetSourceTypesource()Where the dataset comes from.final StringWhere the dataset comes from.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringversion()The version of the dataset.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
source
Where the dataset comes from.
If the service returns an enum value that is not available in the current SDK version,
sourcewill returnDatasetSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceAsString().- Returns:
- Where the dataset comes from.
- See Also:
-
sourceAsString
Where the dataset comes from.
If the service returns an enum value that is not available in the current SDK version,
sourcewill returnDatasetSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceAsString().- Returns:
- Where the dataset comes from.
- 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).
- Returns:
- 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).
-
name
The name of the dataset, from 1 to 256 characters. FILE and OTHER datasets require an id or a name.
- Returns:
- The name of the dataset, from 1 to 256 characters. FILE and OTHER datasets require an id or a name.
-
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:
- 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.
-
caseCount
The number of cases the run will report. Cases that are never reported count as not run. Output only for hosted runs.
- Returns:
- The number of cases the run will report. Cases that are never reported count as not run. Output only for hosted runs.
-
contentHash
A SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>. Output only for hosted runs.
- Returns:
- A SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>. Output only for hosted runs.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExperimentRunDataset.Builder,ExperimentRunDataset> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-