public GetModelsResult withModels(java.util.Collection<Model> models) {
        setModels(models);
        return this;
    }
<p>
The array of models.
</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