Interface TaskTemplateMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TaskTemplateMetadata.Builder,
,TaskTemplateMetadata> SdkBuilder<TaskTemplateMetadata.Builder,
,TaskTemplateMetadata> SdkPojo
- Enclosing class:
TaskTemplateMetadata
@Mutable
@NotThreadSafe
public static interface TaskTemplateMetadata.Builder
extends SdkPojo, CopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the task template.createdTime
(Instant createdTime) The timestamp when the task template was created.description
(String description) The description of the task template.A unique identifier for the task template.lastModifiedTime
(Instant lastModifiedTime) The timestamp when the task template was last modified.The name of the task template.Marks a template asACTIVE
orINACTIVE
for a task to refer to it.status
(TaskTemplateStatus status) Marks a template asACTIVE
orINACTIVE
for a task to refer to it.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
A unique identifier for the task template.
- Parameters:
id
- A unique identifier for the task template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the task template.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the task template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the task template.
- Parameters:
name
- The name of the task template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the task template.
- Parameters:
description
- The description of the task template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.- Parameters:
status
- Marks a template asACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.- Parameters:
status
- Marks a template asACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
The timestamp when the task template was last modified.
- Parameters:
lastModifiedTime
- The timestamp when the task template was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The timestamp when the task template was created.
- Parameters:
createdTime
- The timestamp when the task template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-