Interface BatchRunSettings.Builder

  • Method Details

    • inlineSettings

      BatchRunSettings.Builder inlineSettings(Collection<InlineSetting> inlineSettings)

      A list of per-run configurations provided inline in the request. Each entry must include a unique runSettingId. Supports up to 100 entries. For batches with more than 100 runs, use s3UriSettings.

      Parameters:
      inlineSettings - A list of per-run configurations provided inline in the request. Each entry must include a unique runSettingId. Supports up to 100 entries. For batches with more than 100 runs, use s3UriSettings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inlineSettings

      BatchRunSettings.Builder inlineSettings(InlineSetting... inlineSettings)

      A list of per-run configurations provided inline in the request. Each entry must include a unique runSettingId. Supports up to 100 entries. For batches with more than 100 runs, use s3UriSettings.

      Parameters:
      inlineSettings - A list of per-run configurations provided inline in the request. Each entry must include a unique runSettingId. Supports up to 100 entries. For batches with more than 100 runs, use s3UriSettings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inlineSettings

      BatchRunSettings.Builder inlineSettings(Consumer<InlineSetting.Builder>... inlineSettings)

      A list of per-run configurations provided inline in the request. Each entry must include a unique runSettingId. Supports up to 100 entries. For batches with more than 100 runs, use s3UriSettings.

      This is a convenience method that creates an instance of the InlineSetting.Builder avoiding the need to create one manually via InlineSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inlineSettings(List<InlineSetting>).

      Parameters:
      inlineSettings - a consumer that will call methods on InlineSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • s3UriSettings

      BatchRunSettings.Builder s3UriSettings(String s3UriSettings)

      An Amazon S3 URI pointing to a JSON file containing per-run configurations. The file must be a JSON array in the same format as inlineSettings. Supports up to 100,000 run configurations. The maximum file size is 6 GB.

      The IAM service role in roleArn must have read access to this S3 object. HealthOmics validates access to the file during the synchronous API call and records the file's ETag. If the file is modified after submission, the batch fails.

      Parameters:
      s3UriSettings - An Amazon S3 URI pointing to a JSON file containing per-run configurations. The file must be a JSON array in the same format as inlineSettings. Supports up to 100,000 run configurations. The maximum file size is 6 GB.

      The IAM service role in roleArn must have read access to this S3 object. HealthOmics validates access to the file during the synchronous API call and records the file's ETag. If the file is modified after submission, the batch fails.

      Returns:
      Returns a reference to this object so that method calls can be chained together.