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 ==
.