Struct aws_sdk_connect::model::contact_flow::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ContactFlow
.
Implementations§
source§impl Builder
impl Builder
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 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 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 set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The content of the flow.
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"} }.
sourcepub fn build(self) -> ContactFlow
pub fn build(self) -> ContactFlow
Consumes the builder and constructs a ContactFlow
.