Interface TaskListItem.Builder

  • Method Details

    • taskId

      TaskListItem.Builder taskId(String taskId)

      The task's ID.

      Parameters:
      taskId - The task's ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      TaskListItem.Builder status(String status)

      The task's status.

      Parameters:
      status - The task's status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The task's status.

      Parameters:
      status - The task's status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The task's name.

      Parameters:
      name - The task's name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cpus

      The task's CPU count.

      Parameters:
      cpus - The task's CPU count.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheHit

      TaskListItem.Builder cacheHit(Boolean cacheHit)

      Set to true if Amazon Web Services HealthOmics found a matching entry in the run cache for this task.

      Parameters:
      cacheHit - Set to true if Amazon Web Services HealthOmics found a matching entry in the run cache for this task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheS3Uri

      TaskListItem.Builder cacheS3Uri(String cacheS3Uri)

      The S3 URI of the cache location.

      Parameters:
      cacheS3Uri - The S3 URI of the cache location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memory

      TaskListItem.Builder memory(Integer memory)

      The task's memory use in gigabyes.

      Parameters:
      memory - The task's memory use in gigabyes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      TaskListItem.Builder creationTime(Instant creationTime)

      When the task was created.

      Parameters:
      creationTime - When the task was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      TaskListItem.Builder startTime(Instant startTime)

      When the task started.

      Parameters:
      startTime - When the task started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopTime

      TaskListItem.Builder stopTime(Instant stopTime)

      When the task stopped.

      Parameters:
      stopTime - When the task stopped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gpus

      The number of Graphics Processing Units (GPU) specified for the task.

      Parameters:
      gpus - The number of Graphics Processing Units (GPU) specified for the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      TaskListItem.Builder instanceType(String instanceType)

      The instance type for a task.

      Parameters:
      instanceType - The instance type for a task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.