Struct aws_sdk_omics::operation::start_run::builders::StartRunInputBuilder
source · #[non_exhaustive]pub struct StartRunInputBuilder { /* private fields */ }
Expand description
A builder for StartRunInput
.
Implementations§
source§impl StartRunInputBuilder
impl StartRunInputBuilder
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
The run's workflow ID.
sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
The run's workflow ID.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
The run's workflow ID.
sourcepub fn workflow_type(self, input: WorkflowType) -> Self
pub fn workflow_type(self, input: WorkflowType) -> Self
The run's workflow type.
sourcepub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
pub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
The run's workflow type.
sourcepub fn get_workflow_type(&self) -> &Option<WorkflowType>
pub fn get_workflow_type(&self) -> &Option<WorkflowType>
The run's workflow type.
sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
The ID of a run to duplicate.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
The ID of a run to duplicate.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
A service role for the run.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
A service role for the run.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
A service role for the run.
sourcepub fn run_group_id(self, input: impl Into<String>) -> Self
pub fn run_group_id(self, input: impl Into<String>) -> Self
The run's group ID.
sourcepub fn set_run_group_id(self, input: Option<String>) -> Self
pub fn set_run_group_id(self, input: Option<String>) -> Self
The run's group ID.
sourcepub fn get_run_group_id(&self) -> &Option<String>
pub fn get_run_group_id(&self) -> &Option<String>
The run's group ID.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
A priority for the run.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
A priority for the run.
sourcepub fn parameters(self, input: Document) -> Self
pub fn parameters(self, input: Document) -> Self
Parameters for the run.
sourcepub fn set_parameters(self, input: Option<Document>) -> Self
pub fn set_parameters(self, input: Option<Document>) -> Self
Parameters for the run.
sourcepub fn get_parameters(&self) -> &Option<Document>
pub fn get_parameters(&self) -> &Option<Document>
Parameters for the run.
sourcepub fn storage_capacity(self, input: i32) -> Self
pub fn storage_capacity(self, input: i32) -> Self
A storage capacity for the run in gigabytes.
sourcepub fn set_storage_capacity(self, input: Option<i32>) -> Self
pub fn set_storage_capacity(self, input: Option<i32>) -> Self
A storage capacity for the run in gigabytes.
sourcepub fn get_storage_capacity(&self) -> &Option<i32>
pub fn get_storage_capacity(&self) -> &Option<i32>
A storage capacity for the run in gigabytes.
sourcepub fn output_uri(self, input: impl Into<String>) -> Self
pub fn output_uri(self, input: impl Into<String>) -> Self
An output URI for the run.
sourcepub fn set_output_uri(self, input: Option<String>) -> Self
pub fn set_output_uri(self, input: Option<String>) -> Self
An output URI for the run.
sourcepub fn get_output_uri(&self) -> &Option<String>
pub fn get_output_uri(&self) -> &Option<String>
An output URI for the run.
sourcepub fn log_level(self, input: RunLogLevel) -> Self
pub fn log_level(self, input: RunLogLevel) -> Self
A log level for the run.
sourcepub fn set_log_level(self, input: Option<RunLogLevel>) -> Self
pub fn set_log_level(self, input: Option<RunLogLevel>) -> Self
A log level for the run.
sourcepub fn get_log_level(&self) -> &Option<RunLogLevel>
pub fn get_log_level(&self) -> &Option<RunLogLevel>
A log level for the run.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags for the run.
Tags for the run.
Tags for the run.
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.
This field is required.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 get_request_id(&self) -> &Option<String>
pub fn get_request_id(&self) -> &Option<String>
To ensure that requests don't run multiple times, specify a unique ID for each request.
sourcepub fn retention_mode(self, input: RunRetentionMode) -> Self
pub fn retention_mode(self, input: RunRetentionMode) -> Self
The retention mode for the run.
sourcepub fn set_retention_mode(self, input: Option<RunRetentionMode>) -> Self
pub fn set_retention_mode(self, input: Option<RunRetentionMode>) -> Self
The retention mode for the run.
sourcepub fn get_retention_mode(&self) -> &Option<RunRetentionMode>
pub fn get_retention_mode(&self) -> &Option<RunRetentionMode>
The retention mode for the run.
sourcepub fn build(self) -> Result<StartRunInput, BuildError>
pub fn build(self) -> Result<StartRunInput, BuildError>
Consumes the builder and constructs a StartRunInput
.
source§impl StartRunInputBuilder
impl StartRunInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartRunOutput, SdkError<StartRunError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartRunOutput, SdkError<StartRunError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartRunInputBuilder
impl Clone for StartRunInputBuilder
source§fn clone(&self) -> StartRunInputBuilder
fn clone(&self) -> StartRunInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartRunInputBuilder
impl Debug for StartRunInputBuilder
source§impl Default for StartRunInputBuilder
impl Default for StartRunInputBuilder
source§fn default() -> StartRunInputBuilder
fn default() -> StartRunInputBuilder
source§impl PartialEq for StartRunInputBuilder
impl PartialEq for StartRunInputBuilder
source§fn eq(&self, other: &StartRunInputBuilder) -> bool
fn eq(&self, other: &StartRunInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.