All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.sagemaker.model.SecondaryStatusTransition Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon SageMaker module holds the client classes that are used for communicating with Amazon SageMaker Service

The newest version!
/*
 * Copyright 2019-2024 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
*
*
    *
  • *

    * Starting - Starting the training job. *

    *
  • *
  • *

    * Downloading - An optional stage for algorithms that support File training input mode. * It indicates that data is being downloaded to the ML storage volumes. *

    *
  • *
  • *

    * Training - Training is in progress. *

    *
  • *
  • *

    * Uploading - Training is complete and the model artifacts are being uploaded to the S3 location. *

    *
  • *
*
*
Completed
*
*
    *
  • *

    * Completed - The training job has completed. *

    *
  • *
*
*
Failed
*
*
    *
  • *

    * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

    *
  • *
*
*
Stopped
*
*
    *
  • *

    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

    *
  • *
  • *

    * Stopped - The training job has stopped. *

    *
  • *
*
*
Stopping
*
*
    *
  • *

    * Stopping - Stopping the training job. *

    *
  • *
*
*
*

* We no longer support the following secondary statuses: *

*
    *
  • *

    * LaunchingMLInstances *

    *
  • *
  • *

    * PreparingTrainingStack *

    *
  • *
  • *

    * DownloadingTrainingImage *

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

    * Starting the training job. *

    *
  • *
  • *

    * Launching requested ML instances. *

    *
  • *
  • *

    * Insufficient capacity error from EC2 while launching instances, retrying! *

    *
  • *
  • *

    * Launched instance was unhealthy, replacing it! *

    *
  • *
  • *

    * Preparing the instances for training. *

    *
  • *
*
*
Training
*
*
    *
  • *

    * Training image download completed. Training in progress. *

    *
  • *
*
*
* *

* 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: *

*
    *
  • *

    * TrainingJobStatus - InProgress *

    *
  • *
  • *

    * SecondaryStatus - Training *

    *
  • *
  • *

    * StatusMessage - Downloading the training image *

    *
  • *
*/ private String statusMessage; /** *

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

*

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

*
*
InProgress
*
*
    *
  • *

    * Starting - Starting the training job. *

    *
  • *
  • *

    * Downloading - An optional stage for algorithms that support File training input mode. * It indicates that data is being downloaded to the ML storage volumes. *

    *
  • *
  • *

    * Training - Training is in progress. *

    *
  • *
  • *

    * Uploading - Training is complete and the model artifacts are being uploaded to the S3 location. *

    *
  • *
*
*
Completed
*
*
    *
  • *

    * Completed - The training job has completed. *

    *
  • *
*
*
Failed
*
*
    *
  • *

    * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

    *
  • *
*
*
Stopped
*
*
    *
  • *

    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

    *
  • *
  • *

    * Stopped - The training job has stopped. *

    *
  • *
*
*
Stopping
*
*
    *
  • *

    * Stopping - Stopping the training job. *

    *
  • *
*
*
*

* We no longer support the following secondary statuses: *

*
    *
  • *

    * LaunchingMLInstances *

    *
  • *
  • *

    * PreparingTrainingStack *

    *
  • *
  • *

    * DownloadingTrainingImage *

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

*

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

*
*
InProgress
*
*
    *
  • *

    * Starting - Starting the training job. *

    *
  • *
  • *

    * Downloading - An optional stage for algorithms that support File training input * mode. It indicates that data is being downloaded to the ML storage volumes. *

    *
  • *
  • *

    * Training - Training is in progress. *

    *
  • *
  • *

    * Uploading - Training is complete and the model artifacts are being uploaded to the S3 * location. *

    *
  • *
*
*
Completed
*
*
    *
  • *

    * Completed - The training job has completed. *

    *
  • *
*
*
Failed
*
*
    *
  • *

    * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

    *
  • *
*
*
Stopped
*
*
    *
  • *

    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

    *
  • *
  • *

    * Stopped - The training job has stopped. *

    *
  • *
*
*
Stopping
*
*
    *
  • *

    * Stopping - Stopping the training job. *

    *
  • *
*
*
*

* We no longer support the following secondary statuses: *

*
    *
  • *

    * LaunchingMLInstances *

    *
  • *
  • *

    * PreparingTrainingStack *

    *
  • *
  • *

    * DownloadingTrainingImage *

    *
  • * @see SecondaryStatus */ public void setStatus(String status) { this.status = status; } /** *

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

    *

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

    *
    *
    InProgress
    *
    *
      *
    • *

      * Starting - Starting the training job. *

      *
    • *
    • *

      * Downloading - An optional stage for algorithms that support File training input mode. * It indicates that data is being downloaded to the ML storage volumes. *

      *
    • *
    • *

      * Training - Training is in progress. *

      *
    • *
    • *

      * Uploading - Training is complete and the model artifacts are being uploaded to the S3 location. *

      *
    • *
    *
    *
    Completed
    *
    *
      *
    • *

      * Completed - The training job has completed. *

      *
    • *
    *
    *
    Failed
    *
    *
      *
    • *

      * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

      *
    • *
    *
    *
    Stopped
    *
    *
      *
    • *

      * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

      *
    • *
    • *

      * Stopped - The training job has stopped. *

      *
    • *
    *
    *
    Stopping
    *
    *
      *
    • *

      * Stopping - Stopping the training job. *

      *
    • *
    *
    *
    *

    * We no longer support the following secondary statuses: *

    *
      *
    • *

      * LaunchingMLInstances *

      *
    • *
    • *

      * PreparingTrainingStack *

      *
    • *
    • *

      * DownloadingTrainingImage *

      *
    • *
    * * @return Contains a secondary status information from a training job.

    *

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

    *
    *
    InProgress
    *
    *
      *
    • *

      * Starting - Starting the training job. *

      *
    • *
    • *

      * Downloading - An optional stage for algorithms that support File training input * mode. It indicates that data is being downloaded to the ML storage volumes. *

      *
    • *
    • *

      * Training - Training is in progress. *

      *
    • *
    • *

      * Uploading - Training is complete and the model artifacts are being uploaded to the S3 * location. *

      *
    • *
    *
    *
    Completed
    *
    *
      *
    • *

      * Completed - The training job has completed. *

      *
    • *
    *
    *
    Failed
    *
    *
      *
    • *

      * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

      *
    • *
    *
    *
    Stopped
    *
    *
      *
    • *

      * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

      *
    • *
    • *

      * Stopped - The training job has stopped. *

      *
    • *
    *
    *
    Stopping
    *
    *
      *
    • *

      * Stopping - Stopping the training job. *

      *
    • *
    *
    *
    *

    * We no longer support the following secondary statuses: *

    *
      *
    • *

      * LaunchingMLInstances *

      *
    • *
    • *

      * PreparingTrainingStack *

      *
    • *
    • *

      * DownloadingTrainingImage *

      *
    • * @see SecondaryStatus */ public String getStatus() { return this.status; } /** *

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

      *

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

      *
      *
      InProgress
      *
      *
        *
      • *

        * Starting - Starting the training job. *

        *
      • *
      • *

        * Downloading - An optional stage for algorithms that support File training input mode. * It indicates that data is being downloaded to the ML storage volumes. *

        *
      • *
      • *

        * Training - Training is in progress. *

        *
      • *
      • *

        * Uploading - Training is complete and the model artifacts are being uploaded to the S3 location. *

        *
      • *
      *
      *
      Completed
      *
      *
        *
      • *

        * Completed - The training job has completed. *

        *
      • *
      *
      *
      Failed
      *
      *
        *
      • *

        * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

        *
      • *
      *
      *
      Stopped
      *
      *
        *
      • *

        * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

        *
      • *
      • *

        * Stopped - The training job has stopped. *

        *
      • *
      *
      *
      Stopping
      *
      *
        *
      • *

        * Stopping - Stopping the training job. *

        *
      • *
      *
      *
      *

      * We no longer support the following secondary statuses: *

      *
        *
      • *

        * LaunchingMLInstances *

        *
      • *
      • *

        * PreparingTrainingStack *

        *
      • *
      • *

        * DownloadingTrainingImage *

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

      *

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

      *
      *
      InProgress
      *
      *
        *
      • *

        * Starting - Starting the training job. *

        *
      • *
      • *

        * Downloading - An optional stage for algorithms that support File training input * mode. It indicates that data is being downloaded to the ML storage volumes. *

        *
      • *
      • *

        * Training - Training is in progress. *

        *
      • *
      • *

        * Uploading - Training is complete and the model artifacts are being uploaded to the S3 * location. *

        *
      • *
      *
      *
      Completed
      *
      *
        *
      • *

        * Completed - The training job has completed. *

        *
      • *
      *
      *
      Failed
      *
      *
        *
      • *

        * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

        *
      • *
      *
      *
      Stopped
      *
      *
        *
      • *

        * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

        *
      • *
      • *

        * Stopped - The training job has stopped. *

        *
      • *
      *
      *
      Stopping
      *
      *
        *
      • *

        * Stopping - Stopping the training job. *

        *
      • *
      *
      *
      *

      * We no longer support the following secondary statuses: *

      *
        *
      • *

        * LaunchingMLInstances *

        *
      • *
      • *

        * PreparingTrainingStack *

        *
      • *
      • *

        * DownloadingTrainingImage *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see SecondaryStatus */ public SecondaryStatusTransition withStatus(String status) { setStatus(status); return this; } /** *

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

        *

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

        *
        *
        InProgress
        *
        *
          *
        • *

          * Starting - Starting the training job. *

          *
        • *
        • *

          * Downloading - An optional stage for algorithms that support File training input mode. * It indicates that data is being downloaded to the ML storage volumes. *

          *
        • *
        • *

          * Training - Training is in progress. *

          *
        • *
        • *

          * Uploading - Training is complete and the model artifacts are being uploaded to the S3 location. *

          *
        • *
        *
        *
        Completed
        *
        *
          *
        • *

          * Completed - The training job has completed. *

          *
        • *
        *
        *
        Failed
        *
        *
          *
        • *

          * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

          *
        • *
        *
        *
        Stopped
        *
        *
          *
        • *

          * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

          *
        • *
        • *

          * Stopped - The training job has stopped. *

          *
        • *
        *
        *
        Stopping
        *
        *
          *
        • *

          * Stopping - Stopping the training job. *

          *
        • *
        *
        *
        *

        * We no longer support the following secondary statuses: *

        *
          *
        • *

          * LaunchingMLInstances *

          *
        • *
        • *

          * PreparingTrainingStack *

          *
        • *
        • *

          * DownloadingTrainingImage *

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

        *

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

        *
        *
        InProgress
        *
        *
          *
        • *

          * Starting - Starting the training job. *

          *
        • *
        • *

          * Downloading - An optional stage for algorithms that support File training input * mode. It indicates that data is being downloaded to the ML storage volumes. *

          *
        • *
        • *

          * Training - Training is in progress. *

          *
        • *
        • *

          * Uploading - Training is complete and the model artifacts are being uploaded to the S3 * location. *

          *
        • *
        *
        *
        Completed
        *
        *
          *
        • *

          * Completed - The training job has completed. *

          *
        • *
        *
        *
        Failed
        *
        *
          *
        • *

          * Failed - The training job has failed. The reason for the failure is returned in the * FailureReason field of DescribeTrainingJobResponse. *

          *
        • *
        *
        *
        Stopped
        *
        *
          *
        • *

          * MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime. *

          *
        • *
        • *

          * Stopped - The training job has stopped. *

          *
        • *
        *
        *
        Stopping
        *
        *
          *
        • *

          * Stopping - Stopping the training job. *

          *
        • *
        *
        *
        *

        * We no longer support the following secondary statuses: *

        *
          *
        • *

          * LaunchingMLInstances *

          *
        • *
        • *

          * PreparingTrainingStack *

          *
        • *
        • *

          * DownloadingTrainingImage *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see SecondaryStatus */ public SecondaryStatusTransition withStatus(SecondaryStatus status) { this.status = status.toString(); return this; } /** *

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

          * * @param startTime * A timestamp that shows when the training job transitioned to the current secondary status state. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** *

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

          * * @return A timestamp that shows when the training job transitioned to the current secondary status state. */ public java.util.Date getStartTime() { return this.startTime; } /** *

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

          * * @param startTime * A timestamp that shows when the training job transitioned to the current secondary status state. * @return Returns a reference to this object so that method calls can be chained together. */ public SecondaryStatusTransition withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** *

          * 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. *

          * * @param endTime * 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. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** *

          * 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. *

          * * @return 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. */ public java.util.Date getEndTime() { return this.endTime; } /** *

          * 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. *

          * * @param endTime * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public SecondaryStatusTransition withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** *

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

          *

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

          *
          *
          Starting
          *
          *
            *
          • *

            * Starting the training job. *

            *
          • *
          • *

            * Launching requested ML instances. *

            *
          • *
          • *

            * Insufficient capacity error from EC2 while launching instances, retrying! *

            *
          • *
          • *

            * Launched instance was unhealthy, replacing it! *

            *
          • *
          • *

            * Preparing the instances for training. *

            *
          • *
          *
          *
          Training
          *
          *
            *
          • *

            * Training image download completed. Training in progress. *

            *
          • *
          *
          *
          * *

          * 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: *

          *
            *
          • *

            * TrainingJobStatus - InProgress *

            *
          • *
          • *

            * SecondaryStatus - Training *

            *
          • *
          • *

            * StatusMessage - Downloading the training image *

            *
          • *
          * * @param statusMessage * A detailed description of the progress within a secondary status.

          *

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

          *
          *
          Starting
          *
          *
            *
          • *

            * Starting the training job. *

            *
          • *
          • *

            * Launching requested ML instances. *

            *
          • *
          • *

            * Insufficient capacity error from EC2 while launching instances, retrying! *

            *
          • *
          • *

            * Launched instance was unhealthy, replacing it! *

            *
          • *
          • *

            * Preparing the instances for training. *

            *
          • *
          *
          *
          Training
          *
          *
            *
          • *

            * Training image download completed. Training in progress. *

            *
          • *
          *
          *
          * *

          * 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: *

          *
            *
          • *

            * TrainingJobStatus - InProgress *

            *
          • *
          • *

            * SecondaryStatus - Training *

            *
          • *
          • *

            * StatusMessage - Downloading the training image *

            *
          • */ public void setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; } /** *

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

            *

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

            *
            *
            Starting
            *
            *
              *
            • *

              * Starting the training job. *

              *
            • *
            • *

              * Launching requested ML instances. *

              *
            • *
            • *

              * Insufficient capacity error from EC2 while launching instances, retrying! *

              *
            • *
            • *

              * Launched instance was unhealthy, replacing it! *

              *
            • *
            • *

              * Preparing the instances for training. *

              *
            • *
            *
            *
            Training
            *
            *
              *
            • *

              * Training image download completed. Training in progress. *

              *
            • *
            *
            *
            * *

            * 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: *

            *
              *
            • *

              * TrainingJobStatus - InProgress *

              *
            • *
            • *

              * SecondaryStatus - Training *

              *
            • *
            • *

              * StatusMessage - Downloading the training image *

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

            *

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

            *
            *
            Starting
            *
            *
              *
            • *

              * Starting the training job. *

              *
            • *
            • *

              * Launching requested ML instances. *

              *
            • *
            • *

              * Insufficient capacity error from EC2 while launching instances, retrying! *

              *
            • *
            • *

              * Launched instance was unhealthy, replacing it! *

              *
            • *
            • *

              * Preparing the instances for training. *

              *
            • *
            *
            *
            Training
            *
            *
              *
            • *

              * Training image download completed. Training in progress. *

              *
            • *
            *
            *
            * *

            * 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: *

            *
              *
            • *

              * TrainingJobStatus - InProgress *

              *
            • *
            • *

              * SecondaryStatus - Training *

              *
            • *
            • *

              * StatusMessage - Downloading the training image *

              *
            • */ public String getStatusMessage() { return this.statusMessage; } /** *

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

              *

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

              *
              *
              Starting
              *
              *
                *
              • *

                * Starting the training job. *

                *
              • *
              • *

                * Launching requested ML instances. *

                *
              • *
              • *

                * Insufficient capacity error from EC2 while launching instances, retrying! *

                *
              • *
              • *

                * Launched instance was unhealthy, replacing it! *

                *
              • *
              • *

                * Preparing the instances for training. *

                *
              • *
              *
              *
              Training
              *
              *
                *
              • *

                * Training image download completed. Training in progress. *

                *
              • *
              *
              *
              * *

              * 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: *

              *
                *
              • *

                * TrainingJobStatus - InProgress *

                *
              • *
              • *

                * SecondaryStatus - Training *

                *
              • *
              • *

                * StatusMessage - Downloading the training image *

                *
              • *
              * * @param statusMessage * A detailed description of the progress within a secondary status.

              *

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

              *
              *
              Starting
              *
              *
                *
              • *

                * Starting the training job. *

                *
              • *
              • *

                * Launching requested ML instances. *

                *
              • *
              • *

                * Insufficient capacity error from EC2 while launching instances, retrying! *

                *
              • *
              • *

                * Launched instance was unhealthy, replacing it! *

                *
              • *
              • *

                * Preparing the instances for training. *

                *
              • *
              *
              *
              Training
              *
              *
                *
              • *

                * Training image download completed. Training in progress. *

                *
              • *
              *
              *
              * *

              * 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: *

              *
                *
              • *

                * TrainingJobStatus - InProgress *

                *
              • *
              • *

                * SecondaryStatus - Training *

                *
              • *
              • *

                * StatusMessage - Downloading the training image *

                *
              • * @return Returns a reference to this object so that method calls can be chained together. */ public SecondaryStatusTransition withStatusMessage(String statusMessage) { setStatusMessage(statusMessage); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getStartTime() != null) sb.append("StartTime: ").append(getStartTime()).append(","); if (getEndTime() != null) sb.append("EndTime: ").append(getEndTime()).append(","); if (getStatusMessage() != null) sb.append("StatusMessage: ").append(getStatusMessage()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SecondaryStatusTransition == false) return false; SecondaryStatusTransition other = (SecondaryStatusTransition) obj; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getStartTime() == null ^ this.getStartTime() == null) return false; if (other.getStartTime() != null && other.getStartTime().equals(this.getStartTime()) == false) return false; if (other.getEndTime() == null ^ this.getEndTime() == null) return false; if (other.getEndTime() != null && other.getEndTime().equals(this.getEndTime()) == false) return false; if (other.getStatusMessage() == null ^ this.getStatusMessage() == null) return false; if (other.getStatusMessage() != null && other.getStatusMessage().equals(this.getStatusMessage()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getStatusMessage() == null) ? 0 : getStatusMessage().hashCode()); return hashCode; } @Override public SecondaryStatusTransition clone() { try { return (SecondaryStatusTransition) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.sagemaker.model.transform.SecondaryStatusTransitionMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy