pub struct UpdateRunGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRunGroup
.
Updates a run group.
Implementations§
source§impl UpdateRunGroupFluentBuilder
impl UpdateRunGroupFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRunGroupInputBuilder
pub fn as_input(&self) -> &UpdateRunGroupInputBuilder
Access the UpdateRunGroup as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRunGroupOutput, SdkError<UpdateRunGroupError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRunGroupOutput, SdkError<UpdateRunGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateRunGroupOutput, UpdateRunGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRunGroupOutput, UpdateRunGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_max_cpus(self, input: Option<i32>) -> Self
pub fn set_max_cpus(self, input: Option<i32>) -> Self
The maximum number of CPUs to use.
sourcepub fn get_max_cpus(&self) -> &Option<i32>
pub fn get_max_cpus(&self) -> &Option<i32>
The 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
A maximum run time for the group in minutes.
sourcepub fn set_max_duration(self, input: Option<i32>) -> Self
pub fn set_max_duration(self, input: Option<i32>) -> Self
A maximum run time for the group in minutes.
sourcepub fn get_max_duration(&self) -> &Option<i32>
pub fn get_max_duration(&self) -> &Option<i32>
A maximum run time for the group in minutes.
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.
Trait Implementations§
source§impl Clone for UpdateRunGroupFluentBuilder
impl Clone for UpdateRunGroupFluentBuilder
source§fn clone(&self) -> UpdateRunGroupFluentBuilder
fn clone(&self) -> UpdateRunGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more