/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* A schedule for a model monitoring job. For information about model monitor, see Amazon SageMaker Model Monitor. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class MonitoringSchedule implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Resource Name (ARN) of the monitoring schedule. *

*/ private String monitoringScheduleArn; /** *

* The name of the monitoring schedule. *

*/ private String monitoringScheduleName; /** *

* The status of the monitoring schedule. This can be one of the following values. *

* */ private String monitoringScheduleStatus; /** *

* The type of the monitoring job definition to schedule. *

*/ private String monitoringType; /** *

* If the monitoring schedule failed, the reason it failed. *

*/ private String failureReason; /** *

* The time that the monitoring schedule was created. *

*/ private java.util.Date creationTime; /** *

* The last time the monitoring schedule was changed. *

*/ private java.util.Date lastModifiedTime; private MonitoringScheduleConfig monitoringScheduleConfig; /** *

* The endpoint that hosts the model being monitored. *

*/ private String endpointName; private MonitoringExecutionSummary lastMonitoringExecutionSummary; /** *

* A list of the tags associated with the monitoring schedlue. For more information, see Tagging Amazon Web Services resources * in the Amazon Web Services General Reference Guide. *

*/ private java.util.List tags; /** *

* The Amazon Resource Name (ARN) of the monitoring schedule. *

* * @param monitoringScheduleArn * The Amazon Resource Name (ARN) of the monitoring schedule. */ public void setMonitoringScheduleArn(String monitoringScheduleArn) { this.monitoringScheduleArn = monitoringScheduleArn; } /** *

* The Amazon Resource Name (ARN) of the monitoring schedule. *

* * @return The Amazon Resource Name (ARN) of the monitoring schedule. */ public String getMonitoringScheduleArn() { return this.monitoringScheduleArn; } /** *

* The Amazon Resource Name (ARN) of the monitoring schedule. *

* * @param monitoringScheduleArn * The Amazon Resource Name (ARN) of the monitoring schedule. * @return Returns a reference to this object so that method calls can be chained together. */ public MonitoringSchedule withMonitoringScheduleArn(String monitoringScheduleArn) { setMonitoringScheduleArn(monitoringScheduleArn); return this; } /** *

* The name of the monitoring schedule. *

* * @param monitoringScheduleName * The name of the monitoring schedule. */ public void setMonitoringScheduleName(String monitoringScheduleName) { this.monitoringScheduleName = monitoringScheduleName; } /** *

* The name of the monitoring schedule. *

* * @return The name of the monitoring schedule. */ public String getMonitoringScheduleName() { return this.monitoringScheduleName; } /** *

* The name of the monitoring schedule. *

* * @param monitoringScheduleName * The name of the monitoring schedule. * @return Returns a reference to this object so that method calls can be chained together. */ public MonitoringSchedule withMonitoringScheduleName(String monitoringScheduleName) { setMonitoringScheduleName(monitoringScheduleName); return this; } /** *

* The status of the monitoring schedule. This can be one of the following values. *

* * * @param monitoringScheduleStatus * The status of the monitoring schedule. This can be one of the following values.

*