Struct aws_sdk_omics::client::fluent_builders::CreateWorkflow
source · pub struct CreateWorkflow { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateWorkflow
.
Creates a workflow.
Implementations§
source§impl CreateWorkflow
impl CreateWorkflow
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateWorkflow, AwsResponseRetryClassifier>, SdkError<CreateWorkflowError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateWorkflow, AwsResponseRetryClassifier>, SdkError<CreateWorkflowError>>
Consume 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 async fn send(
self
) -> Result<CreateWorkflowOutput, SdkError<CreateWorkflowError>>
pub async fn send(
self
) -> Result<CreateWorkflowOutput, SdkError<CreateWorkflowError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the workflow.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the workflow.
sourcepub fn engine(self, input: WorkflowEngine) -> Self
pub fn engine(self, input: WorkflowEngine) -> Self
An engine for the workflow.
sourcepub fn set_engine(self, input: Option<WorkflowEngine>) -> Self
pub fn set_engine(self, input: Option<WorkflowEngine>) -> Self
An engine for the workflow.
sourcepub fn definition_zip(self, input: Blob) -> Self
pub fn definition_zip(self, input: Blob) -> Self
A ZIP archive for the workflow.
sourcepub fn set_definition_zip(self, input: Option<Blob>) -> Self
pub fn set_definition_zip(self, input: Option<Blob>) -> Self
A ZIP archive for the workflow.
sourcepub fn definition_uri(self, input: impl Into<String>) -> Self
pub fn definition_uri(self, input: impl Into<String>) -> Self
The URI of a definition for the workflow.
sourcepub fn set_definition_uri(self, input: Option<String>) -> Self
pub fn set_definition_uri(self, input: Option<String>) -> Self
The URI of a definition for the workflow.
sourcepub fn main(self, input: impl Into<String>) -> Self
pub fn main(self, input: impl Into<String>) -> Self
The path of the main definition file for the workflow.
sourcepub fn set_main(self, input: Option<String>) -> Self
pub fn set_main(self, input: Option<String>) -> Self
The path of the main definition file for the workflow.
sourcepub fn parameter_template(
self,
k: impl Into<String>,
v: WorkflowParameter
) -> Self
pub fn parameter_template(
self,
k: impl Into<String>,
v: WorkflowParameter
) -> Self
Adds a key-value pair to parameterTemplate
.
To override the contents of this collection use set_parameter_template
.
A parameter template for the workflow.
sourcepub fn set_parameter_template(
self,
input: Option<HashMap<String, WorkflowParameter>>
) -> Self
pub fn set_parameter_template(
self,
input: Option<HashMap<String, WorkflowParameter>>
) -> Self
A parameter template for the workflow.
sourcepub fn storage_capacity(self, input: i32) -> Self
pub fn storage_capacity(self, input: i32) -> Self
A storage capacity for the workflow.
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 workflow.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags for the workflow.
Tags for the workflow.
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 workflow.
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 workflow.
Trait Implementations§
source§impl Clone for CreateWorkflow
impl Clone for CreateWorkflow
source§fn clone(&self) -> CreateWorkflow
fn clone(&self) -> CreateWorkflow
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more