public FieldValidationConfiguration withNumValues(Integer... numValues) {
        if (this.numValues == null) {
            setNumValues(new java.util.ArrayList<Integer>(numValues.length));
        }
        for (Integer ele : numValues) {
            this.numValues.add(ele);
        }
        return this;
    }
<p>
The validation to perform on a number value.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNumValues(java.util.Collection)} or {@link #withNumValues(java.util.Collection)} if you want to
override the existing values.
</p>

@param numValues
       The validation to perform on a number value.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/FieldValidationConfiguration.java