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.
StartRun will not support re-run for a workflow that is shared with you.
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.
By default, the run uses STATIC storage. For STATIC storage, set the storageCapacity
field. You can set the storage type to DYNAMIC. You do not set storageCapacity
, because HealthOmics dynamically scales the storage up or down as required. For more information about static and dynamic storage, see Running workflows in the AWS HealthOmics User Guide.
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 gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).
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 gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).
sourcepub fn get_storage_capacity(&self) -> &Option<i32>
pub fn get_storage_capacity(&self) -> &Option<i32>
A storage capacity for the run in gibibytes. This field is not required if the storage type is dynamic (the system ignores any value that you enter).
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.
sourcepub fn storage_type(self, input: StorageType) -> Self
pub fn storage_type(self, input: StorageType) -> Self
The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.
sourcepub fn set_storage_type(self, input: Option<StorageType>) -> Self
pub fn set_storage_type(self, input: Option<StorageType>) -> Self
The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.
sourcepub fn get_storage_type(&self) -> &Option<StorageType>
pub fn get_storage_type(&self) -> &Option<StorageType>
The run's storage type. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, HealthOmics dynamically scales the storage up or down, based on file system utilization.
sourcepub fn workflow_owner_id(self, input: impl Into<String>) -> Self
pub fn workflow_owner_id(self, input: impl Into<String>) -> Self
The ID of the workflow owner.
sourcepub fn set_workflow_owner_id(self, input: Option<String>) -> Self
pub fn set_workflow_owner_id(self, input: Option<String>) -> Self
The ID of the workflow owner.
sourcepub fn get_workflow_owner_id(&self) -> &Option<String>
pub fn get_workflow_owner_id(&self) -> &Option<String>
The ID of the workflow owner.
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 moreAuto Trait Implementations§
impl Freeze for StartRunFluentBuilder
impl !RefUnwindSafe for StartRunFluentBuilder
impl Send for StartRunFluentBuilder
impl Sync for StartRunFluentBuilder
impl Unpin for StartRunFluentBuilder
impl !UnwindSafe for StartRunFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more