pub struct CreateRunGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateRunGroup
.
Creates a run group.
Implementations§
source§impl CreateRunGroupFluentBuilder
impl CreateRunGroupFluentBuilder
sourcepub async fn send(
self
) -> Result<CreateRunGroupOutput, SdkError<CreateRunGroupError>>
pub async fn send( self ) -> Result<CreateRunGroupOutput, SdkError<CreateRunGroupError>>
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 async fn customize(
self
) -> Result<CustomizableOperation<CreateRunGroup, AwsResponseRetryClassifier>, SdkError<CreateRunGroupError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateRunGroup, AwsResponseRetryClassifier>, SdkError<CreateRunGroupError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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 in the group.
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
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags for the group.
Tags for the group.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
To ensure that requests don't run multiple times, specify a unique ID for each request.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
To ensure that requests don't run multiple times, specify a unique ID for each request.
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.
Trait Implementations§
source§impl Clone for CreateRunGroupFluentBuilder
impl Clone for CreateRunGroupFluentBuilder
source§fn clone(&self) -> CreateRunGroupFluentBuilder
fn clone(&self) -> CreateRunGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more