Interface UpdateTaskTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<UpdateTaskTemplateResponse.Builder,UpdateTaskTemplateResponse>,SdkBuilder<UpdateTaskTemplateResponse.Builder,UpdateTaskTemplateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateTaskTemplateResponse
public static interface UpdateTaskTemplateResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateTaskTemplateResponse.Builder,UpdateTaskTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTaskTemplateResponse.Builderarn(String arn)The Amazon Resource Name (ARN) for the task template resource.default UpdateTaskTemplateResponse.Builderconstraints(Consumer<TaskTemplateConstraints.Builder> constraints)Constraints that are applicable to the fields listed.UpdateTaskTemplateResponse.Builderconstraints(TaskTemplateConstraints constraints)Constraints that are applicable to the fields listed.UpdateTaskTemplateResponse.BuildercontactFlowId(String contactFlowId)The identifier of the flow that runs by default when a task is created by referencing this template.UpdateTaskTemplateResponse.BuildercreatedTime(Instant createdTime)The timestamp when the task template was created.default UpdateTaskTemplateResponse.Builderdefaults(Consumer<TaskTemplateDefaults.Builder> defaults)The default values for fields when a task is created by referencing this template.UpdateTaskTemplateResponse.Builderdefaults(TaskTemplateDefaults defaults)The default values for fields when a task is created by referencing this template.UpdateTaskTemplateResponse.Builderdescription(String description)The description of the task template.UpdateTaskTemplateResponse.Builderfields(Collection<TaskTemplateField> fields)Fields that are part of the template.UpdateTaskTemplateResponse.Builderfields(Consumer<TaskTemplateField.Builder>... fields)Fields that are part of the template.UpdateTaskTemplateResponse.Builderfields(TaskTemplateField... fields)Fields that are part of the template.UpdateTaskTemplateResponse.Builderid(String id)The identifier of the task template resource.UpdateTaskTemplateResponse.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.UpdateTaskTemplateResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when the task template was last modified.UpdateTaskTemplateResponse.Buildername(String name)The name of the task template.UpdateTaskTemplateResponse.Builderstatus(String status)Marks a template asACTIVEorINACTIVEfor a task to refer to it.UpdateTaskTemplateResponse.Builderstatus(TaskTemplateStatus status)Marks a template asACTIVEorINACTIVEfor a task to refer to it.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
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.
-
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.
-
constraints
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.Builderavoiding the need to create one manually viaTaskTemplateConstraints.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstraints(TaskTemplateConstraints).- Parameters:
constraints- a consumer that will call methods onTaskTemplateConstraints.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
constraints(TaskTemplateConstraints)
-
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.
-
defaults
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.Builderavoiding the need to create one manually viaTaskTemplateDefaults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaults(TaskTemplateDefaults).- Parameters:
defaults- a consumer that will call methods onTaskTemplateDefaults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaults(TaskTemplateDefaults)
-
fields
UpdateTaskTemplateResponse.Builder fields(Collection<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.
-
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.
-
fields
UpdateTaskTemplateResponse.Builder fields(Consumer<TaskTemplateField.Builder>... fields)
Fields that are part of the template.
This is a convenience method that creates an instance of theTaskTemplateField.Builderavoiding the need to create one manually viaTaskTemplateField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onTaskTemplateField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
status
UpdateTaskTemplateResponse.Builder status(String status)
Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Parameters:
status- Marks a template asACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, 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
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Parameters:
status- Marks a template asACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, 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.
-
-