Class JobQueueJobStateTimeLimitActionArgs.Builder

    • Method Detail

      • action

        public JobQueueJobStateTimeLimitActionArgs.Builder action​(com.pulumi.core.Output<java.lang.String> action)
        Parameters:
        action - 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"`
        Returns:
        builder
      • action

        public JobQueueJobStateTimeLimitActionArgs.Builder action​(java.lang.String action)
        Parameters:
        action - 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"`
        Returns:
        builder
      • maxTimeSeconds

        public JobQueueJobStateTimeLimitActionArgs.Builder maxTimeSeconds​(com.pulumi.core.Output<java.lang.Integer> maxTimeSeconds)
        Parameters:
        maxTimeSeconds - 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`
        Returns:
        builder
      • maxTimeSeconds

        public JobQueueJobStateTimeLimitActionArgs.Builder maxTimeSeconds​(java.lang.Integer maxTimeSeconds)
        Parameters:
        maxTimeSeconds - 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`
        Returns:
        builder
      • state

        public JobQueueJobStateTimeLimitActionArgs.Builder state​(com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - State of the job needed to trigger the action. Valid values include `"RUNNABLE"`.
        Returns:
        builder