#[non_exhaustive]pub struct CreateWorkflowInput {
pub name: Option<String>,
pub description: Option<String>,
pub engine: Option<WorkflowEngine>,
pub definition_zip: Option<Blob>,
pub definition_uri: Option<String>,
pub main: Option<String>,
pub parameter_template: Option<HashMap<String, WorkflowParameter>>,
pub storage_capacity: Option<i32>,
pub tags: Option<HashMap<String, String>>,
pub request_id: Option<String>,
pub accelerators: Option<Accelerators>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
A name for the workflow.
description: Option<String>
A description for the workflow.
engine: Option<WorkflowEngine>
An engine for the workflow.
definition_zip: Option<Blob>
A ZIP archive for the workflow.
definition_uri: Option<String>
The URI of a definition for the workflow.
main: Option<String>
The path of the main definition file for the workflow.
parameter_template: Option<HashMap<String, WorkflowParameter>>
A parameter template for the workflow.
storage_capacity: Option<i32>
A storage capacity for the workflow in gibibytes.
Tags for the workflow.
request_id: Option<String>
To ensure that requests don't run multiple times, specify a unique ID for each request.
accelerators: Option<Accelerators>
The computational accelerator specified to run the workflow.
Implementations§
source§impl CreateWorkflowInput
impl CreateWorkflowInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the workflow.
sourcepub fn engine(&self) -> Option<&WorkflowEngine>
pub fn engine(&self) -> Option<&WorkflowEngine>
An engine for the workflow.
sourcepub fn definition_zip(&self) -> Option<&Blob>
pub fn definition_zip(&self) -> Option<&Blob>
A ZIP archive for the workflow.
sourcepub fn definition_uri(&self) -> Option<&str>
pub fn definition_uri(&self) -> Option<&str>
The URI of a definition for the workflow.
sourcepub fn parameter_template(&self) -> Option<&HashMap<String, WorkflowParameter>>
pub fn parameter_template(&self) -> Option<&HashMap<String, WorkflowParameter>>
A parameter template for the workflow.
sourcepub fn storage_capacity(&self) -> Option<i32>
pub fn storage_capacity(&self) -> Option<i32>
A storage capacity for the workflow in gibibytes.
Tags for the workflow.
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
To ensure that requests don't run multiple times, specify a unique ID for each request.
sourcepub fn accelerators(&self) -> Option<&Accelerators>
pub fn accelerators(&self) -> Option<&Accelerators>
The computational accelerator specified to run the workflow.
source§impl CreateWorkflowInput
impl CreateWorkflowInput
sourcepub fn builder() -> CreateWorkflowInputBuilder
pub fn builder() -> CreateWorkflowInputBuilder
Creates a new builder-style object to manufacture CreateWorkflowInput
.
Trait Implementations§
source§impl Clone for CreateWorkflowInput
impl Clone for CreateWorkflowInput
source§fn clone(&self) -> CreateWorkflowInput
fn clone(&self) -> CreateWorkflowInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkflowInput
impl Debug for CreateWorkflowInput
source§impl PartialEq for CreateWorkflowInput
impl PartialEq for CreateWorkflowInput
source§fn eq(&self, other: &CreateWorkflowInput) -> bool
fn eq(&self, other: &CreateWorkflowInput) -> bool
self
and other
values to be equal, and is used
by ==
.