pub struct CreateWorkflowFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateWorkflow
.
Creates a workflow.
Implementations§
source§impl CreateWorkflowFluentBuilder
impl CreateWorkflowFluentBuilder
sourcepub fn as_input(&self) -> &CreateWorkflowInputBuilder
pub fn as_input(&self) -> &CreateWorkflowInputBuilder
Access the CreateWorkflow as a reference.
sourcepub async fn send(
self
) -> Result<CreateWorkflowOutput, SdkError<CreateWorkflowError, HttpResponse>>
pub async fn send( self ) -> Result<CreateWorkflowOutput, SdkError<CreateWorkflowError, 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<CreateWorkflowOutput, CreateWorkflowError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateWorkflowOutput, CreateWorkflowError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_engine(&self) -> &Option<WorkflowEngine>
pub fn get_engine(&self) -> &Option<WorkflowEngine>
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 get_definition_zip(&self) -> &Option<Blob>
pub fn get_definition_zip(&self) -> &Option<Blob>
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 get_definition_uri(&self) -> &Option<String>
pub fn get_definition_uri(&self) -> &Option<String>
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 get_main(&self) -> &Option<String>
pub fn get_main(&self) -> &Option<String>
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 get_parameter_template(
&self
) -> &Option<HashMap<String, WorkflowParameter>>
pub fn get_parameter_template( &self ) -> &Option<HashMap<String, WorkflowParameter>>
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 gibibytes.
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 gibibytes.
sourcepub fn get_storage_capacity(&self) -> &Option<i32>
pub fn get_storage_capacity(&self) -> &Option<i32>
A storage capacity for the workflow in gibibytes.
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.
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 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 accelerators(self, input: Accelerators) -> Self
pub fn accelerators(self, input: Accelerators) -> Self
The computational accelerator specified to run the workflow.
sourcepub fn set_accelerators(self, input: Option<Accelerators>) -> Self
pub fn set_accelerators(self, input: Option<Accelerators>) -> Self
The computational accelerator specified to run the workflow.
sourcepub fn get_accelerators(&self) -> &Option<Accelerators>
pub fn get_accelerators(&self) -> &Option<Accelerators>
The computational accelerator specified to run the workflow.
Trait Implementations§
source§impl Clone for CreateWorkflowFluentBuilder
impl Clone for CreateWorkflowFluentBuilder
source§fn clone(&self) -> CreateWorkflowFluentBuilder
fn clone(&self) -> CreateWorkflowFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more