pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateContactFlowContentInput
.
Implementations§
source§impl Builder
impl Builder
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 contact_flow_id(self, input: impl Into<String>) -> Self
pub fn contact_flow_id(self, input: impl Into<String>) -> Self
The identifier of the flow.
sourcepub fn set_contact_flow_id(self, input: Option<String>) -> Self
pub fn set_contact_flow_id(self, input: Option<String>) -> Self
The identifier 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 flow's content. For an example, see Example contact 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 flow's content. For an example, see Example contact flow in Amazon Connect Flow language.
sourcepub fn build(self) -> Result<UpdateContactFlowContentInput, BuildError>
pub fn build(self) -> Result<UpdateContactFlowContentInput, BuildError>
Consumes the builder and constructs a UpdateContactFlowContentInput
.