#[non_exhaustive]pub struct TaskActionDefinitionBuilder { /* private fields */ }
Expand description
A builder for TaskActionDefinition
.
Implementations§
source§impl TaskActionDefinitionBuilder
impl TaskActionDefinitionBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
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.
This field is required.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 get_contact_flow_id(&self) -> &Option<String>
pub fn get_contact_flow_id(&self) -> &Option<String>
The identifier of the flow.
sourcepub fn references(self, k: impl Into<String>, v: Reference) -> Self
pub fn references(self, k: impl Into<String>, v: Reference) -> Self
Adds a key-value pair to references
.
To override the contents of this collection use set_references
.
Information about the reference when the referenceType
is URL
. Otherwise, null. (Supports variable injection in the Value
field.)
sourcepub fn set_references(self, input: Option<HashMap<String, Reference>>) -> Self
pub fn set_references(self, input: Option<HashMap<String, Reference>>) -> Self
Information about the reference when the referenceType
is URL
. Otherwise, null. (Supports variable injection in the Value
field.)
sourcepub fn get_references(&self) -> &Option<HashMap<String, Reference>>
pub fn get_references(&self) -> &Option<HashMap<String, Reference>>
Information about the reference when the referenceType
is URL
. Otherwise, null. (Supports variable injection in the Value
field.)
sourcepub fn build(self) -> Result<TaskActionDefinition, BuildError>
pub fn build(self) -> Result<TaskActionDefinition, BuildError>
Consumes the builder and constructs a TaskActionDefinition
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TaskActionDefinitionBuilder
impl Clone for TaskActionDefinitionBuilder
source§fn clone(&self) -> TaskActionDefinitionBuilder
fn clone(&self) -> TaskActionDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskActionDefinitionBuilder
impl Debug for TaskActionDefinitionBuilder
source§impl Default for TaskActionDefinitionBuilder
impl Default for TaskActionDefinitionBuilder
source§fn default() -> TaskActionDefinitionBuilder
fn default() -> TaskActionDefinitionBuilder
source§impl PartialEq for TaskActionDefinitionBuilder
impl PartialEq for TaskActionDefinitionBuilder
source§fn eq(&self, other: &TaskActionDefinitionBuilder) -> bool
fn eq(&self, other: &TaskActionDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.