/* * 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; /** *

* An array element of SecondaryStatusTransitions for DescribeTrainingJob. It provides additional details about a status that the training job has transitioned * through. A training job can be in one of several states, for example, starting, downloading, training, or uploading. * Within each state, there are a number of intermediate states. For example, within the starting state, SageMaker could * be starting the training job or launching the ML instances. These transitional states are referred to as the job's * secondary status. *

*

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

* Contains a secondary status information from a training job. *

*

* Status might be one of the following secondary statuses: *

*
*
InProgress
*
* *
*
Completed
*
* *
*
Failed
*
* *
*
Stopped
*
* *
*
Stopping
*
* *
*
*

* We no longer support the following secondary statuses: *

* */ private String status; /** *

* A timestamp that shows when the training job transitioned to the current secondary status state. *

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

* A timestamp that shows when the training job transitioned out of this secondary status state into another * secondary status state or when the training job has ended. *

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

* A detailed description of the progress within a secondary status. *

*

* SageMaker provides secondary statuses and status messages that apply to each of them: *

*
*
Starting
*
* *
*
Training
*
* *
*
* *

* Status messages are subject to change. Therefore, we recommend not including them in code that programmatically * initiates actions. For examples, don't use status messages in if statements. *

*
*

* To have an overview of your training job's progress, view TrainingJobStatus and * SecondaryStatus in DescribeTrainingJob, and StatusMessage together. For example, at the start of a training job, * you might see the following: *

* */ private String statusMessage; /** *

* Contains a secondary status information from a training job. *

*

* Status might be one of the following secondary statuses: *

*
*
InProgress
*
* *
*
Completed
*
* *
*
Failed
*
* *
*
Stopped
*
* *
*
Stopping
*
* *
*
*

* We no longer support the following secondary statuses: *

* * * @param status * Contains a secondary status information from a training job.

*

* Status might be one of the following secondary statuses: *

*
*
InProgress
*
* *
*
Completed
*
* *
*
Failed
*
* *
*
Stopped
*
* *
*
Stopping
*
* *
*
*

* We no longer support the following secondary statuses: *

*