public EndpointSetting withEnumValues(String... enumValues) {
        if (this.enumValues == null) {
            setEnumValues(new java.util.ArrayList<String>(enumValues.length));
        }
        for (String ele : enumValues) {
            this.enumValues.add(ele);
        }
        return this;
    }
<p>
Enumerated values to use for this endpoint.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEnumValues(java.util.Collection)} or {@link #withEnumValues(java.util.Collection)} if you want to
override the existing values.
</p>

@param enumValues
       Enumerated values to use for this endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/EndpointSetting.java