Class JobQueueJobStateTimeLimitAction


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

      • action

        public java.lang.String action()
        Returns:
        Action to take when a job is at the head of the job queue in the specified state for the specified period of time. Valid values include `"CANCEL"`
      • maxTimeSeconds

        public java.lang.Integer maxTimeSeconds()
        Returns:
        Approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between `600` & `86400`
      • reason

        public java.lang.String reason()
        Returns:
        Reason to log for the action being taken.
      • state

        public java.lang.String state()
        Returns:
        State of the job needed to trigger the action. Valid values include `"RUNNABLE"`.