Class GetRunTaskResponse

    • Method Detail

      • taskId

        public final String taskId()

        The task's ID.

        Returns:
        The task's ID.
      • statusAsString

        public final String statusAsString()

        The task's status.

        If the service returns an enum value that is not available in the current SDK version, status will return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The task's status.
        See Also:
        TaskStatus
      • name

        public final String name()

        The task's name.

        Returns:
        The task's name.
      • cpus

        public final Integer cpus()

        The task's CPU usage.

        Returns:
        The task's CPU usage.
      • cacheHit

        public final Boolean cacheHit()

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

        Returns:
        Set to true if AWS HealthOmics found a matching entry in the run cache for this task.
      • cacheS3Uri

        public final String cacheS3Uri()

        The S3 URI of the cache location.

        Returns:
        The S3 URI of the cache location.
      • memory

        public final Integer memory()

        The task's memory use in gigabytes.

        Returns:
        The task's memory use in gigabytes.
      • creationTime

        public final Instant creationTime()

        When the task was created.

        Returns:
        When the task was created.
      • startTime

        public final Instant startTime()

        The task's start time.

        Returns:
        The task's start time.
      • stopTime

        public final Instant stopTime()

        The task's stop time.

        Returns:
        The task's stop time.
      • statusMessage

        public final String statusMessage()

        The task's status message.

        Returns:
        The task's status message.
      • logStream

        public final String logStream()

        The task's log stream.

        Returns:
        The task's log stream.
      • gpus

        public final Integer gpus()

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

        Returns:
        The number of Graphics Processing Units (GPU) specified in the task.
      • instanceType

        public final String instanceType()

        The instance type for a task.

        Returns:
        The instance type for a task.
      • failureReason

        public final String failureReason()

        The reason a task has failed.

        Returns:
        The reason a task has failed.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object