public JobFilter withName(String name) {
        setName(name);
        return this;
    }
<p>
The name of the filter.
</p>
<p>
Specify <code>ResourceType</code> to return export jobs of a specific resource type (for example,
<code>Ec2Instance</code>).
</p>
<p>
Specify <code>JobStatus</code> to return export jobs with a specific status (e.g, <code>Complete</code>).
</p>

@param name
       The name of the filter.</p>
       <p>
       Specify <code>ResourceType</code> to return export jobs of a specific resource type (for example,
       <code>Ec2Instance</code>).
       </p>
       <p>
       Specify <code>JobStatus</code> to return export jobs with a specific status (e.g, <code>Complete</code>).
@return Returns a reference to this object so that method calls can be chained together.
@see JobFilterName
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/JobFilter.java