public Endpoint withMonitoringSchedules(MonitoringSchedule... monitoringSchedules) {
        if (this.monitoringSchedules == null) {
            setMonitoringSchedules(new java.util.ArrayList<MonitoringSchedule>(monitoringSchedules.length));
        }
        for (MonitoringSchedule ele : monitoringSchedules) {
            this.monitoringSchedules.add(ele);
        }
        return this;
    }
<p>
A list of monitoring schedules for the endpoint. For information about model monitoring, see <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model Monitor</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMonitoringSchedules(java.util.Collection)} or {@link #withMonitoringSchedules(java.util.Collection)}
if you want to override the existing values.
</p>

@param monitoringSchedules
       A list of monitoring schedules for the endpoint. For information about model monitoring, see <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model
       Monitor</a>.
@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/Endpoint.java