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.
        Overrides:
        withTimeout in class JobLimits
        Parameters:
        timeout - the timeout value to set.
        Returns:
        the JobLimits object itself.