public PredictionExplanations withVariableImpactExplanations(VariableImpactExplanation... variableImpactExplanations) {
        if (this.variableImpactExplanations == null) {
            setVariableImpactExplanations(new java.util.ArrayList<VariableImpactExplanation>(variableImpactExplanations.length));
        }
        for (VariableImpactExplanation ele : variableImpactExplanations) {
            this.variableImpactExplanations.add(ele);
        }
        return this;
    }
<p>
The details of the event variable's impact on the prediction score.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVariableImpactExplanations(java.util.Collection)} or
{@link #withVariableImpactExplanations(java.util.Collection)} if you want to override the existing values.
</p>

@param variableImpactExplanations
       The details of the event variable's impact on the prediction score.
@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/PredictionExplanations.java