Struct aws_sdk_connect::operation::create_contact_flow::builders::CreateContactFlowInputBuilder
source · #[non_exhaustive]pub struct CreateContactFlowInputBuilder { /* private fields */ }
Expand description
A builder for CreateContactFlowInput
.
Implementations§
source§impl CreateContactFlowInputBuilder
impl CreateContactFlowInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance.
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 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) -> Result<CreateContactFlowInput, BuildError>
pub fn build(self) -> Result<CreateContactFlowInput, BuildError>
Consumes the builder and constructs a CreateContactFlowInput
.
Trait Implementations§
source§impl Clone for CreateContactFlowInputBuilder
impl Clone for CreateContactFlowInputBuilder
source§fn clone(&self) -> CreateContactFlowInputBuilder
fn clone(&self) -> CreateContactFlowInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateContactFlowInputBuilder
impl Default for CreateContactFlowInputBuilder
source§fn default() -> CreateContactFlowInputBuilder
fn default() -> CreateContactFlowInputBuilder
source§impl PartialEq<CreateContactFlowInputBuilder> for CreateContactFlowInputBuilder
impl PartialEq<CreateContactFlowInputBuilder> for CreateContactFlowInputBuilder
source§fn eq(&self, other: &CreateContactFlowInputBuilder) -> bool
fn eq(&self, other: &CreateContactFlowInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.