public PatchFilter withValues(String... values) {
        if (this.values == null) {
            setValues(new com.amazonaws.internal.SdkInternalList<String>(values.length));
        }
        for (String ele : values) {
            this.values.add(ele);
        }
        return this;
    }
<p>
The value for the filter key.
</p>
<p>
Run the <a>DescribePatchProperties</a> command to view lists of valid values for each key based on operating
system type.
</p>
<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 for the filter key.</p>
       <p>
       Run the <a>DescribePatchProperties</a> command to view lists of valid values for each key based on
       operating system type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/PatchFilter.java