Struct aws_sdk_connect::types::builders::ContactFlowBuilder
source · #[non_exhaustive]pub struct ContactFlowBuilder { /* private fields */ }
Expand description
A builder for ContactFlow
.
Implementations§
source§impl ContactFlowBuilder
impl ContactFlowBuilder
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the flow.
sourcepub fn type(self, input: ContactFlowType) -> Self
pub fn type(self, input: ContactFlowType) -> Self
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
sourcepub fn set_type(self, input: Option<ContactFlowType>) -> Self
pub fn set_type(self, input: Option<ContactFlowType>) -> Self
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
sourcepub fn get_type(&self) -> &Option<ContactFlowType>
pub fn get_type(&self) -> &Option<ContactFlowType>
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
sourcepub fn state(self, input: ContactFlowState) -> Self
pub fn state(self, input: ContactFlowState) -> Self
The type of flow.
sourcepub fn set_state(self, input: Option<ContactFlowState>) -> Self
pub fn set_state(self, input: Option<ContactFlowState>) -> Self
The type of flow.
sourcepub fn get_state(&self) -> &Option<ContactFlowState>
pub fn get_state(&self) -> &Option<ContactFlowState>
The type of flow.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the flow.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the flow.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the flow.
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.
Length Constraints: Minimum length of 1. Maximum length of 256000.
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.
Length Constraints: Minimum length of 1. Maximum length of 256000.
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.
Length Constraints: Minimum length of 1. Maximum length of 256000.
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) -> ContactFlow
pub fn build(self) -> ContactFlow
Consumes the builder and constructs a ContactFlow
.
Trait Implementations§
source§impl Clone for ContactFlowBuilder
impl Clone for ContactFlowBuilder
source§fn clone(&self) -> ContactFlowBuilder
fn clone(&self) -> ContactFlowBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactFlowBuilder
impl Debug for ContactFlowBuilder
source§impl Default for ContactFlowBuilder
impl Default for ContactFlowBuilder
source§fn default() -> ContactFlowBuilder
fn default() -> ContactFlowBuilder
source§impl PartialEq for ContactFlowBuilder
impl PartialEq for ContactFlowBuilder
source§fn eq(&self, other: &ContactFlowBuilder) -> bool
fn eq(&self, other: &ContactFlowBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactFlowBuilder
Auto Trait Implementations§
impl Freeze for ContactFlowBuilder
impl RefUnwindSafe for ContactFlowBuilder
impl Send for ContactFlowBuilder
impl Sync for ContactFlowBuilder
impl Unpin for ContactFlowBuilder
impl UnwindSafe for ContactFlowBuilder
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