public OfferStateFilter withValueList(OfferStateString... valueList) {
        java.util.ArrayList<String> valueListCopy = new java.util.ArrayList<String>(valueList.length);
        for (OfferStateString value : valueList) {
            valueListCopy.add(value.toString());
        }
        if (getValueList() == null) {
            setValueList(valueListCopy);
        } else {
            getValueList().addAll(valueListCopy);
        }
        return this;
    }
<p>
Allows filtering on the <code>State</code> of an offer with list input.
</p>

@param valueList
       Allows filtering on the <code>State</code> of an offer with list input.
@return Returns a reference to this object so that method calls can be chained together.
@see OfferStateString
aws-java-sdk-marketplacecatalog/src/main/java/com/amazonaws/services/marketplacecatalog/model/OfferStateFilter.java