Interface TaskTemplateMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>,SdkBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>,SdkPojo
- Enclosing class:
- TaskTemplateMetadata
public static interface TaskTemplateMetadata.Builder extends SdkPojo, CopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskTemplateMetadata.Builderarn(String arn)The Amazon Resource Name (ARN) of the task template.TaskTemplateMetadata.BuildercreatedTime(Instant createdTime)The timestamp when the task template was created.TaskTemplateMetadata.Builderdescription(String description)The description of the task template.TaskTemplateMetadata.Builderid(String id)A unique identifier for the task template.TaskTemplateMetadata.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when the task template was last modified.TaskTemplateMetadata.Buildername(String name)The name of the task template.TaskTemplateMetadata.Builderstatus(String status)Marks a template asACTIVEorINACTIVEfor a task to refer to it.TaskTemplateMetadata.Builderstatus(TaskTemplateStatus status)Marks a template asACTIVEorINACTIVEfor 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, sdkFields
-
-
-
-
Method Detail
-
id
TaskTemplateMetadata.Builder id(String 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
TaskTemplateMetadata.Builder arn(String 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
TaskTemplateMetadata.Builder name(String 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
TaskTemplateMetadata.Builder description(String 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
TaskTemplateMetadata.Builder status(String status)
Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Parameters:
status- Marks a template asACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. 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:
TaskTemplateStatus,TaskTemplateStatus
-
status
TaskTemplateMetadata.Builder status(TaskTemplateStatus status)
Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Parameters:
status- Marks a template asACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. 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:
TaskTemplateStatus,TaskTemplateStatus
-
lastModifiedTime
TaskTemplateMetadata.Builder lastModifiedTime(Instant 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
TaskTemplateMetadata.Builder createdTime(Instant 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.
-
-