public AggregatedLogOddsMetric withVariableNames(String... variableNames) {
        if (this.variableNames == null) {
            setVariableNames(new java.util.ArrayList<String>(variableNames.length));
        }
        for (String ele : variableNames) {
            this.variableNames.add(ele);
        }
        return this;
    }
<p>
The names of all the variables.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVariableNames(java.util.Collection)} or {@link #withVariableNames(java.util.Collection)} if you want
to override the existing values.
</p>

@param variableNames
       The names of all the variables.
@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/AggregatedLogOddsMetric.java