#[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 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 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 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
The 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
The storage capacity for the workflow in gibibytes.
sourcepub fn get_storage_capacity(&self) -> &Option<i32>
pub fn get_storage_capacity(&self) -> &Option<i32>
The 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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateWorkflowInput, BuildError>
pub fn build(self) -> Result<CreateWorkflowInput, BuildError>
Consumes the builder and constructs a CreateWorkflowInput
.
source§impl CreateWorkflowInputBuilder
impl CreateWorkflowInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateWorkflowOutput, SdkError<CreateWorkflowError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateWorkflowOutput, SdkError<CreateWorkflowError, HttpResponse>>
Sends a request with this input using the given client.
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 for CreateWorkflowInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateWorkflowInputBuilder
Auto Trait Implementations§
impl Freeze for CreateWorkflowInputBuilder
impl RefUnwindSafe for CreateWorkflowInputBuilder
impl Send for CreateWorkflowInputBuilder
impl Sync for CreateWorkflowInputBuilder
impl Unpin for CreateWorkflowInputBuilder
impl UnwindSafe for CreateWorkflowInputBuilder
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