public ListTaskTemplatesResult withTaskTemplates(java.util.Collection<TaskTemplateMetadata> taskTemplates) {
        setTaskTemplates(taskTemplates);
        return this;
    }
<p>
Provides details about a list of task templates belonging to an instance.
</p>

@param taskTemplates
       Provides details about a list of task templates belonging to an instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListTaskTemplatesResult.java