Interface FrontOfQueueDetail.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FrontOfQueueDetail.Builder,FrontOfQueueDetail>
,SdkBuilder<FrontOfQueueDetail.Builder,FrontOfQueueDetail>
,SdkPojo
- Enclosing class:
- FrontOfQueueDetail
public static interface FrontOfQueueDetail.Builder extends SdkPojo, CopyableBuilder<FrontOfQueueDetail.Builder,FrontOfQueueDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FrontOfQueueDetail.Builder
jobs(Collection<FrontOfQueueJobSummary> jobs)
The Amazon Resource Names (ARNs) of the first 100RUNNABLE
jobs in a named job queue.FrontOfQueueDetail.Builder
jobs(Consumer<FrontOfQueueJobSummary.Builder>... jobs)
The Amazon Resource Names (ARNs) of the first 100RUNNABLE
jobs in a named job queue.FrontOfQueueDetail.Builder
jobs(FrontOfQueueJobSummary... jobs)
The Amazon Resource Names (ARNs) of the first 100RUNNABLE
jobs in a named job queue.FrontOfQueueDetail.Builder
lastUpdatedAt(Long lastUpdatedAt)
The Unix timestamp (in milliseconds) for when each of the first 100RUNNABLE
jobs were last updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jobs
FrontOfQueueDetail.Builder jobs(Collection<FrontOfQueueJobSummary> 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 100RUNNABLE
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
FrontOfQueueDetail.Builder jobs(FrontOfQueueJobSummary... 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 100RUNNABLE
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
FrontOfQueueDetail.Builder jobs(Consumer<FrontOfQueueJobSummary.Builder>... jobs)
The Amazon Resource Names (ARNs) of the first 100
This is a convenience method that creates an instance of theRUNNABLE
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.FrontOfQueueJobSummary.Builder
avoiding the need to create one manually viaFrontOfQueueJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#jobs(List
.) - Parameters:
jobs
- a consumer that will call methods onFrontOfQueueJobSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#jobs(java.util.Collection
)
-
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 100RUNNABLE
jobs were last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-