Struct aws_sdk_batch::types::builders::FrontOfQueueDetailBuilder
source · #[non_exhaustive]pub struct FrontOfQueueDetailBuilder { /* private fields */ }
Expand description
A builder for FrontOfQueueDetail
.
Implementations§
source§impl FrontOfQueueDetailBuilder
impl FrontOfQueueDetailBuilder
sourcepub fn jobs(self, input: FrontOfQueueJobSummary) -> Self
pub fn jobs(self, input: FrontOfQueueJobSummary) -> Self
Appends an item to jobs
.
To override the contents of this collection use set_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.
sourcepub fn set_jobs(self, input: Option<Vec<FrontOfQueueJobSummary>>) -> Self
pub fn set_jobs(self, input: Option<Vec<FrontOfQueueJobSummary>>) -> Self
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.
sourcepub fn get_jobs(&self) -> &Option<Vec<FrontOfQueueJobSummary>>
pub fn get_jobs(&self) -> &Option<Vec<FrontOfQueueJobSummary>>
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.
sourcepub fn last_updated_at(self, input: i64) -> Self
pub fn last_updated_at(self, input: i64) -> Self
The Unix timestamp (in milliseconds) for when each of the first 100 RUNNABLE
jobs were last updated.
sourcepub fn set_last_updated_at(self, input: Option<i64>) -> Self
pub fn set_last_updated_at(self, input: Option<i64>) -> Self
The Unix timestamp (in milliseconds) for when each of the first 100 RUNNABLE
jobs were last updated.
sourcepub fn get_last_updated_at(&self) -> &Option<i64>
pub fn get_last_updated_at(&self) -> &Option<i64>
The Unix timestamp (in milliseconds) for when each of the first 100 RUNNABLE
jobs were last updated.
sourcepub fn build(self) -> FrontOfQueueDetail
pub fn build(self) -> FrontOfQueueDetail
Consumes the builder and constructs a FrontOfQueueDetail
.
Trait Implementations§
source§impl Clone for FrontOfQueueDetailBuilder
impl Clone for FrontOfQueueDetailBuilder
source§fn clone(&self) -> FrontOfQueueDetailBuilder
fn clone(&self) -> FrontOfQueueDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FrontOfQueueDetailBuilder
impl Debug for FrontOfQueueDetailBuilder
source§impl Default for FrontOfQueueDetailBuilder
impl Default for FrontOfQueueDetailBuilder
source§fn default() -> FrontOfQueueDetailBuilder
fn default() -> FrontOfQueueDetailBuilder
impl StructuralPartialEq for FrontOfQueueDetailBuilder
Auto Trait Implementations§
impl Freeze for FrontOfQueueDetailBuilder
impl RefUnwindSafe for FrontOfQueueDetailBuilder
impl Send for FrontOfQueueDetailBuilder
impl Sync for FrontOfQueueDetailBuilder
impl Unpin for FrontOfQueueDetailBuilder
impl UnwindSafe for FrontOfQueueDetailBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more