Interface UpdateTaskTemplateRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateTaskTemplateRequest.Builder,,UpdateTaskTemplateRequest> SdkBuilder<UpdateTaskTemplateRequest.Builder,,UpdateTaskTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 UpdateTaskTemplateRequest
- 
Method Summary
Modifier and TypeMethodDescriptionconstraints(Consumer<TaskTemplateConstraints.Builder> constraints) Constraints that are applicable to the fields listed.constraints(TaskTemplateConstraints constraints) Constraints that are applicable to the fields listed.contactFlowId(String contactFlowId) The identifier of the flow that runs by default when a task is created by referencing this template.defaults(Consumer<TaskTemplateDefaults.Builder> defaults) The default values for fields when a task is created by referencing this template.defaults(TaskTemplateDefaults defaults) The default values for fields when a task is created by referencing this template.description(String description) The description of the task template.fields(Collection<TaskTemplateField> fields) Fields that are part of the template.fields(Consumer<TaskTemplateField.Builder>... fields) Fields that are part of the template.fields(TaskTemplateField... fields) Fields that are part of the template.instanceId(String instanceId) The identifier of the Amazon Connect instance.The name of the task template.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.selfAssignFlowId(String selfAssignFlowId) The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.Marks a template asACTIVEorINACTIVEfor a task to refer to it.status(TaskTemplateStatus status) Marks a template asACTIVEorINACTIVEfor a task to refer to it.taskTemplateId(String taskTemplateId) A unique identifier for the task template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
taskTemplateId
A unique identifier for the task template.
- Parameters:
 taskTemplateId- A unique identifier for the task template.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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.
 
 - 
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
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
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
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
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 UpdateTaskTemplateRequest.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:
 
 - 
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
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:
 
 - 
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:
 
 - 
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:
 
 - 
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
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
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 tofields(List<TaskTemplateField>).- 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:
 
 - 
overrideConfiguration
UpdateTaskTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
UpdateTaskTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -