Struct aws_sdk_iotthingsgraph::operation::update_flow_template::builders::UpdateFlowTemplateInputBuilder
source · #[non_exhaustive]pub struct UpdateFlowTemplateInputBuilder { /* private fields */ }Expand description
A builder for UpdateFlowTemplateInput.
Implementations§
source§impl UpdateFlowTemplateInputBuilder
impl UpdateFlowTemplateInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
sourcepub fn definition(self, input: DefinitionDocument) -> Self
pub fn definition(self, input: DefinitionDocument) -> Self
The DefinitionDocument that contains the updated workflow definition.
sourcepub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
pub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
The DefinitionDocument that contains the updated workflow definition.
sourcepub fn get_definition(&self) -> &Option<DefinitionDocument>
pub fn get_definition(&self) -> &Option<DefinitionDocument>
The DefinitionDocument that contains the updated workflow definition.
sourcepub fn compatible_namespace_version(self, input: i64) -> Self
pub fn compatible_namespace_version(self, input: i64) -> Self
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.
sourcepub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
pub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.
sourcepub fn get_compatible_namespace_version(&self) -> &Option<i64>
pub fn get_compatible_namespace_version(&self) -> &Option<i64>
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.
sourcepub fn build(self) -> Result<UpdateFlowTemplateInput, BuildError>
pub fn build(self) -> Result<UpdateFlowTemplateInput, BuildError>
Consumes the builder and constructs a UpdateFlowTemplateInput.
source§impl UpdateFlowTemplateInputBuilder
impl UpdateFlowTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateFlowTemplateInputBuilder
impl Clone for UpdateFlowTemplateInputBuilder
source§fn clone(&self) -> UpdateFlowTemplateInputBuilder
fn clone(&self) -> UpdateFlowTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateFlowTemplateInputBuilder
impl Default for UpdateFlowTemplateInputBuilder
source§fn default() -> UpdateFlowTemplateInputBuilder
fn default() -> UpdateFlowTemplateInputBuilder
source§impl PartialEq for UpdateFlowTemplateInputBuilder
impl PartialEq for UpdateFlowTemplateInputBuilder
source§fn eq(&self, other: &UpdateFlowTemplateInputBuilder) -> bool
fn eq(&self, other: &UpdateFlowTemplateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateFlowTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateFlowTemplateInputBuilder
impl RefUnwindSafe for UpdateFlowTemplateInputBuilder
impl Send for UpdateFlowTemplateInputBuilder
impl Sync for UpdateFlowTemplateInputBuilder
impl Unpin for UpdateFlowTemplateInputBuilder
impl UnwindSafe for UpdateFlowTemplateInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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