/* * 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; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeMonitoringScheduleResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

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

*/ private String monitoringScheduleArn; /** *

* Name of the monitoring schedule. *

*/ private String monitoringScheduleName; /** *

* The status of an monitoring job. *

*/ private String monitoringScheduleStatus; /** *

* The type of the monitoring job that this schedule runs. This is one of the following values. *

* */ private String monitoringType; /** *

* A string, up to one KB in size, that contains the reason a monitoring job failed, if it failed. *

*/ private String failureReason; /** *

* The time at which the monitoring job was created. *

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

* The time at which the monitoring job was last modified. *

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

* The configuration object that specifies the monitoring schedule and defines the monitoring job. *

*/ private MonitoringScheduleConfig monitoringScheduleConfig; /** *

* The name of the endpoint for the monitoring job. *

*/ private String endpointName; /** *

* Describes metadata on the last execution to run, if there was one. *

*/ private MonitoringExecutionSummary lastMonitoringExecutionSummary; /** *

* 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 DescribeMonitoringScheduleResult withMonitoringScheduleArn(String monitoringScheduleArn) { setMonitoringScheduleArn(monitoringScheduleArn); return this; } /** *

* Name of the monitoring schedule. *

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

* Name of the monitoring schedule. *

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

* Name of the monitoring schedule. *

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

* The status of an monitoring job. *

* * @param monitoringScheduleStatus * The status of an monitoring job. * @see ScheduleStatus */ public void setMonitoringScheduleStatus(String monitoringScheduleStatus) { this.monitoringScheduleStatus = monitoringScheduleStatus; } /** *

* The status of an monitoring job. *

* * @return The status of an monitoring job. * @see ScheduleStatus */ public String getMonitoringScheduleStatus() { return this.monitoringScheduleStatus; } /** *

* The status of an monitoring job. *

* * @param monitoringScheduleStatus * The status of an monitoring job. * @return Returns a reference to this object so that method calls can be chained together. * @see ScheduleStatus */ public DescribeMonitoringScheduleResult withMonitoringScheduleStatus(String monitoringScheduleStatus) { setMonitoringScheduleStatus(monitoringScheduleStatus); return this; } /** *

* The status of an monitoring job. *

* * @param monitoringScheduleStatus * The status of an monitoring job. * @return Returns a reference to this object so that method calls can be chained together. * @see ScheduleStatus */ public DescribeMonitoringScheduleResult withMonitoringScheduleStatus(ScheduleStatus monitoringScheduleStatus) { this.monitoringScheduleStatus = monitoringScheduleStatus.toString(); return this; } /** *

* The type of the monitoring job that this schedule runs. This is one of the following values. *

* * * @param monitoringType * The type of the monitoring job that this schedule runs. This is one of the following values.

*