Interface ExperimentRunDataset.Builder

  • 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

      ExperimentRunDataset.Builder caseCount(Integer 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

      ExperimentRunDataset.Builder contentHash(String 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.