public void setEndpoints(java.util.Collection<ModelDashboardEndpoint> endpoints) {
        if (endpoints == null) {
            this.endpoints = null;
            return;
        }

        this.endpoints = new java.util.ArrayList<ModelDashboardEndpoint>(endpoints);
    }
<p>
The endpoints that host a model.
</p>

@param endpoints
       The endpoints that host a model.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelDashboardModel.java