public CreateEdgeDeploymentPlanRequest withModelConfigs(EdgeDeploymentModelConfig... modelConfigs) {
        if (this.modelConfigs == null) {
            setModelConfigs(new java.util.ArrayList<EdgeDeploymentModelConfig>(modelConfigs.length));
        }
        for (EdgeDeploymentModelConfig ele : modelConfigs) {
            this.modelConfigs.add(ele);
        }
        return this;
    }
<p>
List of models associated with the edge deployment plan.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setModelConfigs(java.util.Collection)} or {@link #withModelConfigs(java.util.Collection)} if you want to
override the existing values.
</p>

@param modelConfigs
       List of models associated with the edge deployment plan.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateEdgeDeploymentPlanRequest.java