Struct aws_sdk_omics::input::create_run_group_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateRunGroupInput
.
Implementations§
source§impl Builder
impl Builder
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 max duration for the group.
sourcepub fn set_max_duration(self, input: Option<i32>) -> Self
pub fn set_max_duration(self, input: Option<i32>) -> Self
A max duration for the group.
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
A request ID for the group.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
A request ID for the group.
sourcepub fn build(self) -> Result<CreateRunGroupInput, BuildError>
pub fn build(self) -> Result<CreateRunGroupInput, BuildError>
Consumes the builder and constructs a CreateRunGroupInput
.