Package com.pulumi.aws.batch.inputs
Class JobQueueJobStateTimeLimitActionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.inputs.JobQueueJobStateTimeLimitActionArgs.Builder
-
- Enclosing class:
- JobQueueJobStateTimeLimitActionArgs
public static final class JobQueueJobStateTimeLimitActionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(JobQueueJobStateTimeLimitActionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobQueueJobStateTimeLimitActionArgs.Builderaction(com.pulumi.core.Output<java.lang.String> action)JobQueueJobStateTimeLimitActionArgs.Builderaction(java.lang.String action)JobQueueJobStateTimeLimitActionArgsbuild()JobQueueJobStateTimeLimitActionArgs.BuildermaxTimeSeconds(com.pulumi.core.Output<java.lang.Integer> maxTimeSeconds)JobQueueJobStateTimeLimitActionArgs.BuildermaxTimeSeconds(java.lang.Integer maxTimeSeconds)JobQueueJobStateTimeLimitActionArgs.Builderreason(com.pulumi.core.Output<java.lang.String> reason)JobQueueJobStateTimeLimitActionArgs.Builderreason(java.lang.String reason)JobQueueJobStateTimeLimitActionArgs.Builderstate(com.pulumi.core.Output<java.lang.String> state)JobQueueJobStateTimeLimitActionArgs.Builderstate(java.lang.String state)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobQueueJobStateTimeLimitActionArgs defaults)
-
-
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
-
reason
public JobQueueJobStateTimeLimitActionArgs.Builder reason(com.pulumi.core.Output<java.lang.String> reason)
- Parameters:
reason- Reason to log for the action being taken.- Returns:
- builder
-
reason
public JobQueueJobStateTimeLimitActionArgs.Builder reason(java.lang.String reason)
- Parameters:
reason- Reason to log for the action being taken.- 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
-
state
public JobQueueJobStateTimeLimitActionArgs.Builder state(java.lang.String state)
- Parameters:
state- State of the job needed to trigger the action. Valid values include `"RUNNABLE"`.- Returns:
- builder
-
build
public JobQueueJobStateTimeLimitActionArgs build()
-
-