Interface TaskTemplateMetadata.Builder

    • 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 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.

        Parameters:
        status - 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.
        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 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.

        Parameters:
        status - 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.
        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.