@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecondaryStatusTransition extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
SecondaryStatusTransition() |
Modifier and Type | Method and Description |
---|---|
SecondaryStatusTransition |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
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.
|
Date |
getStartTime()
A timestamp that shows when the training job transitioned to the current secondary status state.
|
String |
getStatus()
Contains a secondary status information from a training job.
|
String |
getStatusMessage()
A detailed description of the progress within a secondary status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date 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.
|
void |
setStartTime(Date startTime)
A timestamp that shows when the training job transitioned to the current secondary status state.
|
void |
setStatus(String status)
Contains a secondary status information from a training job.
|
void |
setStatusMessage(String statusMessage)
A detailed description of the progress within a secondary status.
|
String |
toString()
Returns a string representation of this object.
|
SecondaryStatusTransition |
withEndTime(Date 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.
|
SecondaryStatusTransition |
withStartTime(Date startTime)
A timestamp that shows when the training job transitioned to the current secondary status state.
|
SecondaryStatusTransition |
withStatus(SecondaryStatus status)
Contains a secondary status information from a training job.
|
SecondaryStatusTransition |
withStatus(String status)
Contains a secondary status information from a training job.
|
SecondaryStatusTransition |
withStatusMessage(String statusMessage)
A detailed description of the progress within a secondary status.
|
public void setStatus(String status)
Contains a secondary status information from a training job.
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
status
- Contains a secondary status information from a training job.
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
SecondaryStatus
public String getStatus()
Contains a secondary status information from a training job.
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
SecondaryStatus
public SecondaryStatusTransition withStatus(String status)
Contains a secondary status information from a training job.
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
status
- Contains a secondary status information from a training job.
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
SecondaryStatus
public SecondaryStatusTransition withStatus(SecondaryStatus status)
Contains a secondary status information from a training job.
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
status
- Contains a secondary status information from a training job.
Status might be one of the following secondary statuses:
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
- The training job has completed.
Failed
- The training job has failed. The reason for the failure is returned in the
FailureReason
field of DescribeTrainingJobResponse
.
MaxRuntimeExceeded
- The job stopped because it exceeded the maximum allowed runtime.
Stopped
- The training job has stopped.
Stopping
- Stopping the training job.
We no longer support the following secondary statuses:
LaunchingMLInstances
PreparingTrainingStack
DownloadingTrainingImage
SecondaryStatus
public void setStartTime(Date startTime)
A timestamp that shows when the training job transitioned to the current secondary status state.
startTime
- A timestamp that shows when the training job transitioned to the current secondary status state.public Date getStartTime()
A timestamp that shows when the training job transitioned to the current secondary status state.
public SecondaryStatusTransition withStartTime(Date startTime)
A timestamp that shows when the training job transitioned to the current secondary status state.
startTime
- A timestamp that shows when the training job transitioned to the current secondary status state.public void setEndTime(Date 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.
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 Date getEndTime()
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 SecondaryStatusTransition withEndTime(Date 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.
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 setStatusMessage(String 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 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 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
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 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 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()
A detailed description of the progress within a secondary status.
SageMaker provides secondary statuses and status messages that apply to each of them:
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 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
SageMaker provides secondary statuses and status messages that apply to each of them:
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 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 SecondaryStatusTransition withStatusMessage(String 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 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 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
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 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 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 toString()
toString
in class Object
Object.toString()
public SecondaryStatusTransition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.