Struct aws_sdk_connect::input::get_task_template_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetTaskTemplateInput
.
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 task_template_id(self, input: impl Into<String>) -> Self
pub fn task_template_id(self, input: impl Into<String>) -> Self
A unique identifier for the task template.
sourcepub fn set_task_template_id(self, input: Option<String>) -> Self
pub fn set_task_template_id(self, input: Option<String>) -> Self
A unique identifier for the task template.
sourcepub fn snapshot_version(self, input: impl Into<String>) -> Self
pub fn snapshot_version(self, input: impl Into<String>) -> Self
The system generated version of a task template that is associated with a task, when the task is created.
sourcepub fn set_snapshot_version(self, input: Option<String>) -> Self
pub fn set_snapshot_version(self, input: Option<String>) -> Self
The system generated version of a task template that is associated with a task, when the task is created.
sourcepub fn build(self) -> Result<GetTaskTemplateInput, BuildError>
pub fn build(self) -> Result<GetTaskTemplateInput, BuildError>
Consumes the builder and constructs a GetTaskTemplateInput
.