#[non_exhaustive]pub struct CreateWorkflowInputBuilder { /* private fields */ }
Expand description
A builder for CreateWorkflowInput
.
Implementations§
source§impl CreateWorkflowInputBuilder
impl CreateWorkflowInputBuilder
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 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 workflow in gigabytes.
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
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 build(self) -> Result<CreateWorkflowInput, BuildError>
pub fn build(self) -> Result<CreateWorkflowInput, BuildError>
Consumes the builder and constructs a CreateWorkflowInput
.
Trait Implementations§
source§impl Clone for CreateWorkflowInputBuilder
impl Clone for CreateWorkflowInputBuilder
source§fn clone(&self) -> CreateWorkflowInputBuilder
fn clone(&self) -> CreateWorkflowInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkflowInputBuilder
impl Debug for CreateWorkflowInputBuilder
source§impl Default for CreateWorkflowInputBuilder
impl Default for CreateWorkflowInputBuilder
source§fn default() -> CreateWorkflowInputBuilder
fn default() -> CreateWorkflowInputBuilder
source§impl PartialEq<CreateWorkflowInputBuilder> for CreateWorkflowInputBuilder
impl PartialEq<CreateWorkflowInputBuilder> for CreateWorkflowInputBuilder
source§fn eq(&self, other: &CreateWorkflowInputBuilder) -> bool
fn eq(&self, other: &CreateWorkflowInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.