Interface GetRunTaskResponse.Builder

    • Method Detail

      • taskId

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

        GetRunTaskResponse.Builder name​(String 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

        GetRunTaskResponse.Builder cpus​(Integer 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 AWS HealthOmics found a matching entry in the run cache for this task.

        Parameters:
        cacheHit - Set to true if AWS 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

        GetRunTaskResponse.Builder memory​(Integer 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

        GetRunTaskResponse.Builder gpus​(Integer 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.