Struct aws_sdk_omics::operation::start_run::builders::StartRunFluentBuilder
source · pub struct StartRunFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartRun
.
Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The remaining parameters are copied from the previous run.
The total number of runs in your account is subject to a quota per Region. To avoid needing to delete runs manually, you can set the retention mode to REMOVE
. Runs with this setting are deleted automatically when the run quoata is exceeded.
Implementations§
source§impl StartRunFluentBuilder
impl StartRunFluentBuilder
sourcepub fn as_input(&self) -> &StartRunInputBuilder
pub fn as_input(&self) -> &StartRunInputBuilder
Access the StartRun as a reference.
sourcepub async fn send(
self
) -> Result<StartRunOutput, SdkError<StartRunError, HttpResponse>>
pub async fn send( self ) -> Result<StartRunOutput, SdkError<StartRunError, 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<StartRunOutput, StartRunError, Self>
pub fn customize( self ) -> CustomizableOperation<StartRunOutput, StartRunError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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.
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.
Trait Implementations§
source§impl Clone for StartRunFluentBuilder
impl Clone for StartRunFluentBuilder
source§fn clone(&self) -> StartRunFluentBuilder
fn clone(&self) -> StartRunFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more