public FieldTypeDetails withSupportedValues(String... supportedValues) {
        if (this.supportedValues == null) {
            setSupportedValues(new java.util.ArrayList<String>(supportedValues.length));
        }
        for (String ele : supportedValues) {
            this.supportedValues.add(ele);
        }
        return this;
    }
<p>
The list of values that a field can contain. For example, a Boolean <code>fieldType</code> can have two values:
"true" and "false".
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedValues(java.util.Collection)} or {@link #withSupportedValues(java.util.Collection)} if you
want to override the existing values.
</p>

@param supportedValues
       The list of values that a field can contain. For example, a Boolean <code>fieldType</code> can have two
       values: "true" and "false".
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/FieldTypeDetails.java