public ListJobTemplatesRequest withListBy(JobTemplateListBy listBy) {
        this.listBy = listBy.toString();
        return this;
    }
Optional. When you request a list of job templates, you can choose to list them alphabetically by NAME or
chronologically by CREATION_DATE. If you don't specify, the service will list them by name.

@param listBy
       Optional. When you request a list of job templates, you can choose to list them alphabetically by NAME or
       chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
@return Returns a reference to this object so that method calls can be chained together.
@see JobTemplateListBy
aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/ListJobTemplatesRequest.java