Class JobQueueArgs.Builder

  • Enclosing class:
    JobQueueArgs

    public static final class JobQueueArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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