public JobFilter withValues(String... values) {
        if (this.values == null) {
            setValues(new java.util.ArrayList<String>(values.length));
        }
        for (String ele : values) {
            this.values.add(ele);
        }
        return this;
    }
<p>
The value of the filter.
</p>
<p>
The valid values for this parameter are as follows, depending on what you specify for the <code>name</code>
parameter:
</p>
<ul>
<li>
<p>
Specify <code>Ec2Instance</code> or <code>AutoScalingGroup</code> if you specify the <code>name</code> parameter
as <code>ResourceType</code>. There is no filter for EBS volumes because volume recommendations cannot be
exported at this time.
</p>
</li>
<li>
<p>
Specify <code>Queued</code>, <code>InProgress</code>, <code>Complete</code>, or <code>Failed</code> if you
specify the <code>name</code> parameter as <code>JobStatus</code>.
</p>
</li>
</ul>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setValues(java.util.Collection)} or {@link #withValues(java.util.Collection)} if you want to override the
existing values.
</p>

@param values
       The value of the filter.</p>
       <p>
       The valid values for this parameter are as follows, depending on what you specify for the
       <code>name</code> parameter:
       </p>
       <ul>
       <li>
       <p>
       Specify <code>Ec2Instance</code> or <code>AutoScalingGroup</code> if you specify the <code>name</code>
       parameter as <code>ResourceType</code>. There is no filter for EBS volumes because volume recommendations
       cannot be exported at this time.
       </p>
       </li>
       <li>
       <p>
       Specify <code>Queued</code>, <code>InProgress</code>, <code>Complete</code>, or <code>Failed</code> if you
       specify the <code>name</code> parameter as <code>JobStatus</code>.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/JobFilter.java