Class TaskListItem

    • 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 count.

        Returns:
        The task's CPU count.
      • 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 gigabyes.

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

        public final Instant creationTime()

        When the task was created.

        Returns:
        When the task was created.
      • startTime

        public final Instant startTime()

        When the task started.

        Returns:
        When the task started.
      • stopTime

        public final Instant stopTime()

        When the task stopped.

        Returns:
        When the task stopped.
      • gpus

        public final Integer gpus()

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

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

        public final String instanceType()

        The instance type for a task.

        Returns:
        The instance type for a task.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)