Struct aws_sdk_iotthingsgraph::operation::create_flow_template::builders::CreateFlowTemplateInputBuilder
source · #[non_exhaustive]pub struct CreateFlowTemplateInputBuilder { /* private fields */ }
Expand description
A builder for CreateFlowTemplateInput
.
Implementations§
source§impl CreateFlowTemplateInputBuilder
impl CreateFlowTemplateInputBuilder
sourcepub fn definition(self, input: DefinitionDocument) -> Self
pub fn definition(self, input: DefinitionDocument) -> Self
The workflow DefinitionDocument
.
sourcepub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
pub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
The workflow DefinitionDocument
.
sourcepub fn get_definition(&self) -> &Option<DefinitionDocument>
pub fn get_definition(&self) -> &Option<DefinitionDocument>
The workflow DefinitionDocument
.
sourcepub fn compatible_namespace_version(self, input: i64) -> Self
pub fn compatible_namespace_version(self, input: i64) -> Self
The namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
sourcepub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
pub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
The namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
sourcepub fn get_compatible_namespace_version(&self) -> &Option<i64>
pub fn get_compatible_namespace_version(&self) -> &Option<i64>
The namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
sourcepub fn build(self) -> Result<CreateFlowTemplateInput, BuildError>
pub fn build(self) -> Result<CreateFlowTemplateInput, BuildError>
Consumes the builder and constructs a CreateFlowTemplateInput
.
source§impl CreateFlowTemplateInputBuilder
impl CreateFlowTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFlowTemplateInputBuilder
impl Clone for CreateFlowTemplateInputBuilder
source§fn clone(&self) -> CreateFlowTemplateInputBuilder
fn clone(&self) -> CreateFlowTemplateInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateFlowTemplateInputBuilder
impl Default for CreateFlowTemplateInputBuilder
source§fn default() -> CreateFlowTemplateInputBuilder
fn default() -> CreateFlowTemplateInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateFlowTemplateInputBuilder
impl PartialEq for CreateFlowTemplateInputBuilder
source§fn eq(&self, other: &CreateFlowTemplateInputBuilder) -> bool
fn eq(&self, other: &CreateFlowTemplateInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateFlowTemplateInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateFlowTemplateInputBuilder
impl Send for CreateFlowTemplateInputBuilder
impl Sync for CreateFlowTemplateInputBuilder
impl Unpin for CreateFlowTemplateInputBuilder
impl UnwindSafe for CreateFlowTemplateInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.