pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateTaskTemplateOutput
.
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. You can find the instanceId in the ARN of the 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. You can find the instanceId in the ARN of the instance.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the task template resource.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the task template resource.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the task template resource.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the task template resource.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the task template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the task template.
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 that runs by default when a task is created by referencing this template.
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 that runs by default when a task is created by referencing this template.
sourcepub fn constraints(self, input: TaskTemplateConstraints) -> Self
pub fn constraints(self, input: TaskTemplateConstraints) -> Self
Constraints that are applicable to the fields listed.
sourcepub fn set_constraints(self, input: Option<TaskTemplateConstraints>) -> Self
pub fn set_constraints(self, input: Option<TaskTemplateConstraints>) -> Self
Constraints that are applicable to the fields listed.
sourcepub fn defaults(self, input: TaskTemplateDefaults) -> Self
pub fn defaults(self, input: TaskTemplateDefaults) -> Self
The default values for fields when a task is created by referencing this template.
sourcepub fn set_defaults(self, input: Option<TaskTemplateDefaults>) -> Self
pub fn set_defaults(self, input: Option<TaskTemplateDefaults>) -> Self
The default values for fields when a task is created by referencing this template.
sourcepub fn fields(self, input: TaskTemplateField) -> Self
pub fn fields(self, input: TaskTemplateField) -> Self
Appends an item to fields
.
To override the contents of this collection use set_fields
.
Fields that are part of the template.
sourcepub fn set_fields(self, input: Option<Vec<TaskTemplateField>>) -> Self
pub fn set_fields(self, input: Option<Vec<TaskTemplateField>>) -> Self
Fields that are part of the template.
sourcepub fn status(self, input: TaskTemplateStatus) -> Self
pub fn status(self, input: TaskTemplateStatus) -> Self
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that refers to this template cannot be created.
sourcepub fn set_status(self, input: Option<TaskTemplateStatus>) -> Self
pub fn set_status(self, input: Option<TaskTemplateStatus>) -> Self
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that refers to this template cannot be created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp when the task template was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp when the task template was last modified.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The timestamp when the task template was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The timestamp when the task template was created.
sourcepub fn build(self) -> UpdateTaskTemplateOutput
pub fn build(self) -> UpdateTaskTemplateOutput
Consumes the builder and constructs a UpdateTaskTemplateOutput
.