Interface ListTaskTemplatesRequest.Builder

    • Method Detail

      • instanceId

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

        ListTaskTemplatesRequest.Builder nextToken​(String nextToken)

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        It is not expected that you set this because the value returned in the previous response is always null.

        Parameters:
        nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        It is not expected that you set this because the value returned in the previous response is always null.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListTaskTemplatesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per page.

        It is not expected that you set this.

        Parameters:
        maxResults - The maximum number of results to return per page.

        It is not expected that you set this.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

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

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

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