public static interface StoppingCondition.Builder extends SdkPojo, CopyableBuilder<StoppingCondition.Builder,StoppingCondition>
| Modifier and Type | Method and Description |
|---|---|
StoppingCondition.Builder |
maxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum length of time, in seconds, that a training or compilation job can run.
|
StoppingCondition.Builder |
maxWaitTimeInSeconds(Integer maxWaitTimeInSeconds)
The maximum length of time, in seconds, that a managed Spot training job has to complete.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStoppingCondition.Builder maxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum length of time, in seconds, that a training or compilation job can run. If the job does not complete during this time, Amazon SageMaker ends the job.
When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies
the maximum time for all of the attempts in total, not each individual attempt.
The default value is 1 day. The maximum value is 28 days.
maxRuntimeInSeconds - The maximum length of time, in seconds, that a training or compilation job can run. If the job does
not complete during this time, Amazon SageMaker ends the job.
When RetryStrategy is specified in the job request, MaxRuntimeInSeconds
specifies the maximum time for all of the attempts in total, not each individual attempt.
The default value is 1 day. The maximum value is 28 days.
StoppingCondition.Builder maxWaitTimeInSeconds(Integer maxWaitTimeInSeconds)
The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of
time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater
than MaxRuntimeInSeconds. If the job does not complete during this time, Amazon SageMaker ends
the job.
When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds specifies
the maximum time for all of the attempts in total, not each individual attempt.
maxWaitTimeInSeconds - The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the
amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be
equal to or greater than MaxRuntimeInSeconds. If the job does not complete during this
time, Amazon SageMaker ends the job.
When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds
specifies the maximum time for all of the attempts in total, not each individual attempt.
Copyright © 2021. All rights reserved.