#[non_exhaustive]pub struct GetRunGroupOutputBuilder { /* private fields */ }Expand description
A builder for GetRunGroupOutput.
Implementations§
source§impl GetRunGroupOutputBuilder
impl GetRunGroupOutputBuilder
sourcepub fn set_max_cpus(self, input: Option<i32>) -> Self
pub fn set_max_cpus(self, input: Option<i32>) -> Self
The group's maximum number of CPUs to use.
sourcepub fn get_max_cpus(&self) -> &Option<i32>
pub fn get_max_cpus(&self) -> &Option<i32>
The group's maximum number of CPUs to use.
sourcepub fn set_max_runs(self, input: Option<i32>) -> Self
pub fn set_max_runs(self, input: Option<i32>) -> Self
The maximum number of concurrent runs for the group.
sourcepub fn get_max_runs(&self) -> &Option<i32>
pub fn get_max_runs(&self) -> &Option<i32>
The maximum number of concurrent runs for the group.
sourcepub fn max_duration(self, input: i32) -> Self
pub fn max_duration(self, input: i32) -> Self
The group's maximum run time in minutes.
sourcepub fn set_max_duration(self, input: Option<i32>) -> Self
pub fn set_max_duration(self, input: Option<i32>) -> Self
The group's maximum run time in minutes.
sourcepub fn get_max_duration(&self) -> &Option<i32>
pub fn get_max_duration(&self) -> &Option<i32>
The group's maximum run time in minutes.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the group was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the group was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the group was created.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The group's tags.
The group's tags.
The group's tags.
sourcepub fn set_max_gpus(self, input: Option<i32>) -> Self
pub fn set_max_gpus(self, input: Option<i32>) -> Self
The maximum GPUs that can be used by a run group.
sourcepub fn get_max_gpus(&self) -> &Option<i32>
pub fn get_max_gpus(&self) -> &Option<i32>
The maximum GPUs that can be used by a run group.
sourcepub fn build(self) -> GetRunGroupOutput
pub fn build(self) -> GetRunGroupOutput
Consumes the builder and constructs a GetRunGroupOutput.
Trait Implementations§
source§impl Clone for GetRunGroupOutputBuilder
impl Clone for GetRunGroupOutputBuilder
source§fn clone(&self) -> GetRunGroupOutputBuilder
fn clone(&self) -> GetRunGroupOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetRunGroupOutputBuilder
impl Debug for GetRunGroupOutputBuilder
source§impl Default for GetRunGroupOutputBuilder
impl Default for GetRunGroupOutputBuilder
source§fn default() -> GetRunGroupOutputBuilder
fn default() -> GetRunGroupOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetRunGroupOutputBuilder
impl PartialEq for GetRunGroupOutputBuilder
source§fn eq(&self, other: &GetRunGroupOutputBuilder) -> bool
fn eq(&self, other: &GetRunGroupOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetRunGroupOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRunGroupOutputBuilder
impl RefUnwindSafe for GetRunGroupOutputBuilder
impl Send for GetRunGroupOutputBuilder
impl Sync for GetRunGroupOutputBuilder
impl Unpin for GetRunGroupOutputBuilder
impl UnwindSafe for GetRunGroupOutputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.