public static interface UpdateTaskTemplateResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateTaskTemplateResponse.Builder,UpdateTaskTemplateResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateTaskTemplateResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the task template resource.
|
default UpdateTaskTemplateResponse.Builder |
constraints(Consumer<TaskTemplateConstraints.Builder> constraints)
Constraints that are applicable to the fields listed.
|
UpdateTaskTemplateResponse.Builder |
constraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
|
UpdateTaskTemplateResponse.Builder |
contactFlowId(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
|
UpdateTaskTemplateResponse.Builder |
createdTime(Instant createdTime)
The timestamp when the task template was created.
|
default UpdateTaskTemplateResponse.Builder |
defaults(Consumer<TaskTemplateDefaults.Builder> defaults)
The default values for fields when a task is created by referencing this template.
|
UpdateTaskTemplateResponse.Builder |
defaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this template.
|
UpdateTaskTemplateResponse.Builder |
description(String description)
The description of the task template.
|
UpdateTaskTemplateResponse.Builder |
fields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
UpdateTaskTemplateResponse.Builder |
fields(Consumer<TaskTemplateField.Builder>... fields)
Fields that are part of the template.
|
UpdateTaskTemplateResponse.Builder |
fields(TaskTemplateField... fields)
Fields that are part of the template.
|
UpdateTaskTemplateResponse.Builder |
id(String id)
The identifier of the task template resource.
|
UpdateTaskTemplateResponse.Builder |
instanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateTaskTemplateResponse.Builder |
lastModifiedTime(Instant lastModifiedTime)
The timestamp when the task template was last modified.
|
UpdateTaskTemplateResponse.Builder |
name(String name)
The name of the task template.
|
UpdateTaskTemplateResponse.Builder |
status(String status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
UpdateTaskTemplateResponse.Builder |
status(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateTaskTemplateResponse.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.UpdateTaskTemplateResponse.Builder id(String id)
The identifier of the task template resource.
id - The identifier of the task template resource.UpdateTaskTemplateResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) for the task template resource.
arn - The Amazon Resource Name (ARN) for the task template resource.UpdateTaskTemplateResponse.Builder name(String name)
The name of the task template.
name - The name of the task template.UpdateTaskTemplateResponse.Builder description(String description)
The description of the task template.
description - The description of the task template.UpdateTaskTemplateResponse.Builder contactFlowId(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
contactFlowId - The identifier of the flow that runs by default when a task is created by referencing this template.UpdateTaskTemplateResponse.Builder constraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
constraints - Constraints that are applicable to the fields listed.default UpdateTaskTemplateResponse.Builder constraints(Consumer<TaskTemplateConstraints.Builder> constraints)
Constraints that are applicable to the fields listed.
This is a convenience method that creates an instance of theTaskTemplateConstraints.Builder avoiding
the need to create one manually via TaskTemplateConstraints.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to constraints(TaskTemplateConstraints).constraints - a consumer that will call methods on TaskTemplateConstraints.Builderconstraints(TaskTemplateConstraints)UpdateTaskTemplateResponse.Builder defaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this template.
defaults - The default values for fields when a task is created by referencing this template.default UpdateTaskTemplateResponse.Builder defaults(Consumer<TaskTemplateDefaults.Builder> defaults)
The default values for fields when a task is created by referencing this template.
This is a convenience method that creates an instance of theTaskTemplateDefaults.Builder avoiding
the need to create one manually via TaskTemplateDefaults.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to defaults(TaskTemplateDefaults).defaults - a consumer that will call methods on TaskTemplateDefaults.Builderdefaults(TaskTemplateDefaults)UpdateTaskTemplateResponse.Builder fields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
fields - Fields that are part of the template.UpdateTaskTemplateResponse.Builder fields(TaskTemplateField... fields)
Fields that are part of the template.
fields - Fields that are part of the template.UpdateTaskTemplateResponse.Builder fields(Consumer<TaskTemplateField.Builder>... fields)
Fields that are part of the template.
This is a convenience method that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #fields(List) .fields - a consumer that will call methods on List.Builder #fields(List) 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.
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.TaskTemplateStatus,
TaskTemplateStatusUpdateTaskTemplateResponse.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.
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.TaskTemplateStatus,
TaskTemplateStatusUpdateTaskTemplateResponse.Builder lastModifiedTime(Instant lastModifiedTime)
The timestamp when the task template was last modified.
lastModifiedTime - The timestamp when the task template was last modified.UpdateTaskTemplateResponse.Builder createdTime(Instant createdTime)
The timestamp when the task template was created.
createdTime - The timestamp when the task template was created.Copyright © 2022. All rights reserved.