Package com.pulumi.aws.batch.inputs
Class JobQueueState.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.inputs.JobQueueState.Builder
-
- Enclosing class:
- JobQueueState
public static final class JobQueueState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(JobQueueState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobQueueState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)JobQueueState.Builderarn(java.lang.String arn)JobQueueStatebuild()JobQueueState.BuildercomputeEnvironmentOrders(JobQueueComputeEnvironmentOrderArgs... computeEnvironmentOrders)JobQueueState.BuildercomputeEnvironmentOrders(com.pulumi.core.Output<java.util.List<JobQueueComputeEnvironmentOrderArgs>> computeEnvironmentOrders)JobQueueState.BuildercomputeEnvironmentOrders(java.util.List<JobQueueComputeEnvironmentOrderArgs> computeEnvironmentOrders)JobQueueState.BuilderjobStateTimeLimitActions(JobQueueJobStateTimeLimitActionArgs... jobStateTimeLimitActions)JobQueueState.BuilderjobStateTimeLimitActions(com.pulumi.core.Output<java.util.List<JobQueueJobStateTimeLimitActionArgs>> jobStateTimeLimitActions)JobQueueState.BuilderjobStateTimeLimitActions(java.util.List<JobQueueJobStateTimeLimitActionArgs> jobStateTimeLimitActions)JobQueueState.Buildername(com.pulumi.core.Output<java.lang.String> name)JobQueueState.Buildername(java.lang.String name)JobQueueState.Builderpriority(com.pulumi.core.Output<java.lang.Integer> priority)JobQueueState.Builderpriority(java.lang.Integer priority)JobQueueState.Builderregion(com.pulumi.core.Output<java.lang.String> region)JobQueueState.Builderregion(java.lang.String region)JobQueueState.BuilderschedulingPolicyArn(com.pulumi.core.Output<java.lang.String> schedulingPolicyArn)JobQueueState.BuilderschedulingPolicyArn(java.lang.String schedulingPolicyArn)JobQueueState.Builderstate(com.pulumi.core.Output<java.lang.String> state)JobQueueState.Builderstate(java.lang.String state)JobQueueState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)JobQueueState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)JobQueueState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)JobQueueState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)JobQueueState.Buildertimeouts(JobQueueTimeoutsArgs timeouts)JobQueueState.Buildertimeouts(com.pulumi.core.Output<JobQueueTimeoutsArgs> timeouts)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobQueueState defaults)
-
-
Method Detail
-
arn
public JobQueueState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the job queue.- Returns:
- builder
-
arn
public JobQueueState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the job queue.- Returns:
- builder
-
computeEnvironmentOrders
public JobQueueState.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 JobQueueState.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 JobQueueState.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 JobQueueState.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 JobQueueState.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 JobQueueState.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 JobQueueState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the job queue.- Returns:
- builder
-
name
public JobQueueState.Builder name(java.lang.String name)
- Parameters:
name- Name of the job queue.- Returns:
- builder
-
priority
public JobQueueState.Builder priority(@Nullable 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 JobQueueState.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 JobQueueState.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 JobQueueState.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 JobQueueState.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 JobQueueState.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 JobQueueState.Builder state(@Nullable 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 JobQueueState.Builder state(java.lang.String state)
- Parameters:
state- State of the job queue. Must be one of: `ENABLED` or `DISABLED`- Returns:
- builder
-
tags
public JobQueueState.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 JobQueueState.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
-
tagsAll
public JobQueueState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public JobQueueState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
timeouts
public JobQueueState.Builder timeouts(@Nullable com.pulumi.core.Output<JobQueueTimeoutsArgs> timeouts)
-
timeouts
public JobQueueState.Builder timeouts(JobQueueTimeoutsArgs timeouts)
-
build
public JobQueueState build()
-
-