public GetModelsResult withModels(Model... models) {
        if (this.models == null) {
            setModels(new java.util.ArrayList<Model>(models.length));
        }
        for (Model ele : models) {
            this.models.add(ele);
        }
        return this;
    }
<p>
The array of models.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setModels(java.util.Collection)} or {@link #withModels(java.util.Collection)} if you want to override the
existing values.
</p>

@param models
       The array of models.
@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/GetModelsResult.java