Interface GetTaskTemplateResponse.Builder

    • Method Detail

      • instanceId

        GetTaskTemplateResponse.Builder instanceId​(String instanceId)

        The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

        Parameters:
        instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

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

        GetTaskTemplateResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN).

        Parameters:
        arn - The Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

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

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

        GetTaskTemplateResponse.Builder contactFlowId​(String contactFlowId)

        The identifier of the flow that runs by default when a task is created by referencing this template.

        Parameters:
        contactFlowId - The identifier of the flow that runs by default when a task is created by referencing this template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • constraints

        GetTaskTemplateResponse.Builder constraints​(TaskTemplateConstraints constraints)

        Constraints that are applicable to the fields listed.

        Parameters:
        constraints - Constraints that are applicable to the fields listed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaults

        GetTaskTemplateResponse.Builder defaults​(TaskTemplateDefaults defaults)

        The default values for fields when a task is created by referencing this template.

        Parameters:
        defaults - The default values for fields when a task is created by referencing this template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fields

        GetTaskTemplateResponse.Builder fields​(TaskTemplateField... fields)

        Fields that are part of the template.

        Parameters:
        fields - Fields that are part of the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

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

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

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

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

        GetTaskTemplateResponse.Builder tags​(Map<String,​String> tags)

        The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

        Parameters:
        tags - The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
        Returns:
        Returns a reference to this object so that method calls can be chained together.