public ListJobTemplatesResult withTemplates(java.util.Collection<JobTemplate> templates) {
        setTemplates(templates);
        return this;
    }
<p>
This output lists information about the specified job templates.
</p>

@param templates
       This output lists information about the specified job templates.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emrcontainers/src/main/java/com/amazonaws/services/emrcontainers/model/ListJobTemplatesResult.java