Struct aws_sdk_connect::types::TaskTemplateMetadata
source · #[non_exhaustive]pub struct TaskTemplateMetadata {
pub id: Option<String>,
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<TaskTemplateStatus>,
pub last_modified_time: Option<DateTime>,
pub created_time: Option<DateTime>,
}
Expand description
Contains summary information about the task template.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
A unique identifier for the task template.
arn: Option<String>
The Amazon Resource Name (ARN) of the task template.
name: Option<String>
The name of the task template.
description: Option<String>
The description of the task template.
status: Option<TaskTemplateStatus>
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.
last_modified_time: Option<DateTime>
The timestamp when the task template was last modified.
created_time: Option<DateTime>
The timestamp when the task template was created.
Implementations§
source§impl TaskTemplateMetadata
impl TaskTemplateMetadata
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the task template.
sourcepub fn status(&self) -> Option<&TaskTemplateStatus>
pub fn status(&self) -> Option<&TaskTemplateStatus>
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) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when the task template was last modified.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The timestamp when the task template was created.
source§impl TaskTemplateMetadata
impl TaskTemplateMetadata
sourcepub fn builder() -> TaskTemplateMetadataBuilder
pub fn builder() -> TaskTemplateMetadataBuilder
Creates a new builder-style object to manufacture TaskTemplateMetadata
.
Trait Implementations§
source§impl Clone for TaskTemplateMetadata
impl Clone for TaskTemplateMetadata
source§fn clone(&self) -> TaskTemplateMetadata
fn clone(&self) -> TaskTemplateMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskTemplateMetadata
impl Debug for TaskTemplateMetadata
source§impl PartialEq for TaskTemplateMetadata
impl PartialEq for TaskTemplateMetadata
source§fn eq(&self, other: &TaskTemplateMetadata) -> bool
fn eq(&self, other: &TaskTemplateMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.