Interface GetRunTaskResponse.Builder

  • Method Details

    • 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

      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 usage.

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

      GetRunTaskResponse.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

      GetRunTaskResponse.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

      The task's memory use in gigabytes.

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

      GetRunTaskResponse.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

      GetRunTaskResponse.Builder startTime(Instant startTime)

      The task's start time.

      Parameters:
      startTime - The task's start time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopTime

      GetRunTaskResponse.Builder stopTime(Instant stopTime)

      The task's stop time.

      Parameters:
      stopTime - The task's stop time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusMessage

      GetRunTaskResponse.Builder statusMessage(String statusMessage)

      The task's status message.

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

      GetRunTaskResponse.Builder logStream(String logStream)

      The task's log stream.

      Parameters:
      logStream - The task's log stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gpus

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

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

      GetRunTaskResponse.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.
    • failureReason

      GetRunTaskResponse.Builder failureReason(String failureReason)

      The reason a task has failed.

      Parameters:
      failureReason - The reason a task has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageDetails

      GetRunTaskResponse.Builder imageDetails(ImageDetails imageDetails)

      Details about the container image that this task uses.

      Parameters:
      imageDetails - Details about the container image that this task uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageDetails

      default GetRunTaskResponse.Builder imageDetails(Consumer<ImageDetails.Builder> imageDetails)

      Details about the container image that this task uses.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to imageDetails(ImageDetails).

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