public DataValidationMetrics withFieldLevelMessages(FieldValidationMessage... fieldLevelMessages) {
        if (this.fieldLevelMessages == null) {
            setFieldLevelMessages(new java.util.ArrayList<FieldValidationMessage>(fieldLevelMessages.length));
        }
        for (FieldValidationMessage ele : fieldLevelMessages) {
            this.fieldLevelMessages.add(ele);
        }
        return this;
    }
<p>
The field-specific model training validation messages.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFieldLevelMessages(java.util.Collection)} or {@link #withFieldLevelMessages(java.util.Collection)} if
you want to override the existing values.
</p>

@param fieldLevelMessages
       The field-specific model training validation messages.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/DataValidationMetrics.java