public void setTaskTemplates(java.util.Collection<TaskTemplateMetadata> taskTemplates) {
        if (taskTemplates == null) {
            this.taskTemplates = null;
            return;
        }

        this.taskTemplates = new java.util.ArrayList<TaskTemplateMetadata>(taskTemplates);
    }
<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.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListTaskTemplatesResult.java