Struct aws_sdk_connect::types::builders::ContactFlowModuleBuilder
source · #[non_exhaustive]pub struct ContactFlowModuleBuilder { /* private fields */ }
Expand description
A builder for ContactFlowModule
.
Implementations§
source§impl ContactFlowModuleBuilder
impl ContactFlowModuleBuilder
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the flow module.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the flow module.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the flow module.
sourcepub fn state(self, input: ContactFlowModuleState) -> Self
pub fn state(self, input: ContactFlowModuleState) -> Self
The type of flow module.
sourcepub fn set_state(self, input: Option<ContactFlowModuleState>) -> Self
pub fn set_state(self, input: Option<ContactFlowModuleState>) -> Self
The type of flow module.
sourcepub fn get_state(&self) -> &Option<ContactFlowModuleState>
pub fn get_state(&self) -> &Option<ContactFlowModuleState>
The type of flow module.
sourcepub fn status(self, input: ContactFlowModuleStatus) -> Self
pub fn status(self, input: ContactFlowModuleStatus) -> Self
The status of the flow module.
sourcepub fn set_status(self, input: Option<ContactFlowModuleStatus>) -> Self
pub fn set_status(self, input: Option<ContactFlowModuleStatus>) -> Self
The status of the flow module.
sourcepub fn get_status(&self) -> &Option<ContactFlowModuleStatus>
pub fn get_status(&self) -> &Option<ContactFlowModuleStatus>
The status of the flow module.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> ContactFlowModule
pub fn build(self) -> ContactFlowModule
Consumes the builder and constructs a ContactFlowModule
.
Trait Implementations§
source§impl Clone for ContactFlowModuleBuilder
impl Clone for ContactFlowModuleBuilder
source§fn clone(&self) -> ContactFlowModuleBuilder
fn clone(&self) -> ContactFlowModuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactFlowModuleBuilder
impl Debug for ContactFlowModuleBuilder
source§impl Default for ContactFlowModuleBuilder
impl Default for ContactFlowModuleBuilder
source§fn default() -> ContactFlowModuleBuilder
fn default() -> ContactFlowModuleBuilder
source§impl PartialEq for ContactFlowModuleBuilder
impl PartialEq for ContactFlowModuleBuilder
source§fn eq(&self, other: &ContactFlowModuleBuilder) -> bool
fn eq(&self, other: &ContactFlowModuleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactFlowModuleBuilder
Auto Trait Implementations§
impl Freeze for ContactFlowModuleBuilder
impl RefUnwindSafe for ContactFlowModuleBuilder
impl Send for ContactFlowModuleBuilder
impl Sync for ContactFlowModuleBuilder
impl Unpin for ContactFlowModuleBuilder
impl UnwindSafe for ContactFlowModuleBuilder
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