#[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 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 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 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.
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.
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 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<GetRunGroupOutputBuilder> for GetRunGroupOutputBuilder
impl PartialEq<GetRunGroupOutputBuilder> 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 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