Interface FrontOfQueueDetail.Builder

  • Method Details

    • jobs

      The Amazon Resource Names (ARNs) of the first 100 RUNNABLE jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.

      Parameters:
      jobs - The Amazon Resource Names (ARNs) of the first 100 RUNNABLE jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      The Amazon Resource Names (ARNs) of the first 100 RUNNABLE jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.

      Parameters:
      jobs - The Amazon Resource Names (ARNs) of the first 100 RUNNABLE jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      The Amazon Resource Names (ARNs) of the first 100 RUNNABLE jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to jobs(List<FrontOfQueueJobSummary>).

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

      FrontOfQueueDetail.Builder lastUpdatedAt(Long lastUpdatedAt)

      The Unix timestamp (in milliseconds) for when each of the first 100 RUNNABLE jobs were last updated.

      Parameters:
      lastUpdatedAt - The Unix timestamp (in milliseconds) for when each of the first 100 RUNNABLE jobs were last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.