Interface TaskListItem.Builder

    • Method Detail

      • 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:
        TaskStatus, TaskStatus
      • name

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

        TaskListItem.Builder cpus​(Integer 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.
      • 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

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