Class JobQueueState.Builder

  • Enclosing class:
    JobQueueState

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

      • Builder

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