Struct aws_sdk_iotthingsgraph::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder
source ยท pub struct CreateFlowTemplateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateFlowTemplate
.
Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
Implementationsยง
sourceยงimpl CreateFlowTemplateFluentBuilder
impl CreateFlowTemplateFluentBuilder
sourcepub fn as_input(&self) -> &CreateFlowTemplateInputBuilder
pub fn as_input(&self) -> &CreateFlowTemplateInputBuilder
Access the CreateFlowTemplate as a reference.
sourcepub async fn send(
self
) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError, 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<CreateFlowTemplateOutput, CreateFlowTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateFlowTemplateOutput, CreateFlowTemplateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementationsยง
sourceยงimpl Clone for CreateFlowTemplateFluentBuilder
impl Clone for CreateFlowTemplateFluentBuilder
sourceยงfn clone(&self) -> CreateFlowTemplateFluentBuilder
fn clone(&self) -> CreateFlowTemplateFluentBuilder
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementationsยง
impl Freeze for CreateFlowTemplateFluentBuilder
impl !RefUnwindSafe for CreateFlowTemplateFluentBuilder
impl Send for CreateFlowTemplateFluentBuilder
impl Sync for CreateFlowTemplateFluentBuilder
impl Unpin for CreateFlowTemplateFluentBuilder
impl !UnwindSafe for CreateFlowTemplateFluentBuilder
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