Class TrainingJobStoppingCondition


  • public final class TrainingJobStoppingCondition
    extends java.lang.Object
    • Method Detail

      • maxPendingTimeInSeconds

        public java.util.Optional<java.lang.Integer> maxPendingTimeInSeconds()
        Returns:
        Maximum time in seconds a training job can be pending before it is stopped. Valid values: 7200–2419200.
      • maxRuntimeInSeconds

        public java.util.Optional<java.lang.Integer> maxRuntimeInSeconds()
        Returns:
        Maximum time in seconds the training job can run before it is stopped.
      • maxWaitTimeInSeconds

        public java.util.Optional<java.lang.Integer> maxWaitTimeInSeconds()
        Returns:
        Maximum time in seconds to wait for a managed spot training job to complete.