Interface UpdateTaskTemplateResponse.Builder

    • Method Detail

      • instanceId

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

        UpdateTaskTemplateResponse.Builder id​(String id)

        The identifier of the task template resource.

        Parameters:
        id - The identifier of the task template resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        UpdateTaskTemplateResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN) for the task template resource.

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

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

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

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

        UpdateTaskTemplateResponse.Builder selfAssignFlowId​(String selfAssignFlowId)

        The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.

        Parameters:
        selfAssignFlowId - The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • constraints

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

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

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

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

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

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

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