Class CommandJobLimits

  • public final class CommandJobLimits
    extends JobLimits
    Command Job limit class.
    • Constructor Detail

      • CommandJobLimits

        public CommandJobLimits()
    • Method Detail

      • withTimeout

        public CommandJobLimits withTimeout​(Duration timeout)
        Set the timeout property: The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.
        withTimeout in class JobLimits
        timeout - the timeout value to set.
        the JobLimits object itself.