Package com.pulumi.aws.batch
Class JobQueueArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.JobQueueArgs.Builder
-
- Enclosing class:
- JobQueueArgs
public static final class JobQueueArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(JobQueueArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobQueueArgsbuild()JobQueueArgs.BuildercomputeEnvironmentOrders(JobQueueComputeEnvironmentOrderArgs... computeEnvironmentOrders)JobQueueArgs.BuildercomputeEnvironmentOrders(com.pulumi.core.Output<java.util.List<JobQueueComputeEnvironmentOrderArgs>> computeEnvironmentOrders)JobQueueArgs.BuildercomputeEnvironmentOrders(java.util.List<JobQueueComputeEnvironmentOrderArgs> computeEnvironmentOrders)JobQueueArgs.BuilderjobStateTimeLimitActions(JobQueueJobStateTimeLimitActionArgs... jobStateTimeLimitActions)JobQueueArgs.BuilderjobStateTimeLimitActions(com.pulumi.core.Output<java.util.List<JobQueueJobStateTimeLimitActionArgs>> jobStateTimeLimitActions)JobQueueArgs.BuilderjobStateTimeLimitActions(java.util.List<JobQueueJobStateTimeLimitActionArgs> jobStateTimeLimitActions)JobQueueArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)JobQueueArgs.Buildername(java.lang.String name)JobQueueArgs.Builderpriority(com.pulumi.core.Output<java.lang.Integer> priority)JobQueueArgs.Builderpriority(java.lang.Integer priority)JobQueueArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)JobQueueArgs.Builderregion(java.lang.String region)JobQueueArgs.BuilderschedulingPolicyArn(com.pulumi.core.Output<java.lang.String> schedulingPolicyArn)JobQueueArgs.BuilderschedulingPolicyArn(java.lang.String schedulingPolicyArn)JobQueueArgs.Builderstate(com.pulumi.core.Output<java.lang.String> state)JobQueueArgs.Builderstate(java.lang.String state)JobQueueArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)JobQueueArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)JobQueueArgs.Buildertimeouts(JobQueueTimeoutsArgs timeouts)JobQueueArgs.Buildertimeouts(com.pulumi.core.Output<JobQueueTimeoutsArgs> timeouts)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobQueueArgs defaults)
-
-
Method Detail
-
computeEnvironmentOrders
public JobQueueArgs.Builder computeEnvironmentOrders(@Nullable com.pulumi.core.Output<java.util.List<JobQueueComputeEnvironmentOrderArgs>> computeEnvironmentOrders)
- Parameters:
computeEnvironmentOrders- Set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue.- Returns:
- builder
-
computeEnvironmentOrders
public JobQueueArgs.Builder computeEnvironmentOrders(java.util.List<JobQueueComputeEnvironmentOrderArgs> computeEnvironmentOrders)
- Parameters:
computeEnvironmentOrders- Set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue.- Returns:
- builder
-
computeEnvironmentOrders
public JobQueueArgs.Builder computeEnvironmentOrders(JobQueueComputeEnvironmentOrderArgs... computeEnvironmentOrders)
- Parameters:
computeEnvironmentOrders- Set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue.- Returns:
- builder
-
jobStateTimeLimitActions
public JobQueueArgs.Builder jobStateTimeLimitActions(@Nullable com.pulumi.core.Output<java.util.List<JobQueueJobStateTimeLimitActionArgs>> jobStateTimeLimitActions)
- Parameters:
jobStateTimeLimitActions- Set of job state time limit actions mapped to a job queue. Specifies an action that AWS Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.- Returns:
- builder
-
jobStateTimeLimitActions
public JobQueueArgs.Builder jobStateTimeLimitActions(java.util.List<JobQueueJobStateTimeLimitActionArgs> jobStateTimeLimitActions)
- Parameters:
jobStateTimeLimitActions- Set of job state time limit actions mapped to a job queue. Specifies an action that AWS Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.- Returns:
- builder
-
jobStateTimeLimitActions
public JobQueueArgs.Builder jobStateTimeLimitActions(JobQueueJobStateTimeLimitActionArgs... jobStateTimeLimitActions)
- Parameters:
jobStateTimeLimitActions- Set of job state time limit actions mapped to a job queue. Specifies an action that AWS Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.- Returns:
- builder
-
name
public JobQueueArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the job queue.- Returns:
- builder
-
name
public JobQueueArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the job queue.- Returns:
- builder
-
priority
public JobQueueArgs.Builder priority(com.pulumi.core.Output<java.lang.Integer> priority)
- Parameters:
priority- Priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment.- Returns:
- builder
-
priority
public JobQueueArgs.Builder priority(java.lang.Integer priority)
- Parameters:
priority- Priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment.- Returns:
- builder
-
region
public JobQueueArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public JobQueueArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
schedulingPolicyArn
public JobQueueArgs.Builder schedulingPolicyArn(@Nullable com.pulumi.core.Output<java.lang.String> schedulingPolicyArn)
- Parameters:
schedulingPolicyArn- ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.- Returns:
- builder
-
schedulingPolicyArn
public JobQueueArgs.Builder schedulingPolicyArn(java.lang.String schedulingPolicyArn)
- Parameters:
schedulingPolicyArn- ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.- Returns:
- builder
-
state
public JobQueueArgs.Builder state(com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state- State of the job queue. Must be one of: `ENABLED` or `DISABLED`- Returns:
- builder
-
state
public JobQueueArgs.Builder state(java.lang.String state)
- Parameters:
state- State of the job queue. Must be one of: `ENABLED` or `DISABLED`- Returns:
- builder
-
tags
public JobQueueArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public JobQueueArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
timeouts
public JobQueueArgs.Builder timeouts(@Nullable com.pulumi.core.Output<JobQueueTimeoutsArgs> timeouts)
-
timeouts
public JobQueueArgs.Builder timeouts(JobQueueTimeoutsArgs timeouts)
-
build
public JobQueueArgs build()
-
-