Struct aws_sdk_omics::input::create_workflow_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateWorkflowInput
.
Implementations§
source§impl Builder
impl Builder
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 parameter_template
.
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.
sourcepub fn build(self) -> Result<CreateWorkflowInput, BuildError>
pub fn build(self) -> Result<CreateWorkflowInput, BuildError>
Consumes the builder and constructs a CreateWorkflowInput
.