Class QueueState.Builder

  • Enclosing class:
    QueueState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(QueueState defaults)
    • Method Detail

      • arn

        public QueueState.Builder arn​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the queue
        Returns:
        builder
      • arn

        public QueueState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the queue
        Returns:
        builder
      • concurrentJobs

        public QueueState.Builder concurrentJobs​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> concurrentJobs)
        Parameters:
        concurrentJobs - Maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead.
        Returns:
        builder
      • concurrentJobs

        public QueueState.Builder concurrentJobs​(java.lang.Integer concurrentJobs)
        Parameters:
        concurrentJobs - Maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead.
        Returns:
        builder
      • description

        public QueueState.Builder description​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the queue
        Returns:
        builder
      • description

        public QueueState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the queue
        Returns:
        builder
      • name

        public QueueState.Builder name​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Unique identifier describing the queue
        Returns:
        builder
      • name

        public QueueState.Builder name​(java.lang.String name)
        Parameters:
        name - Unique identifier describing the queue
        Returns:
        builder
      • pricingPlan

        public QueueState.Builder pricingPlan​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> pricingPlan)
        Parameters:
        pricingPlan - Whether the pricing plan for the queue is on-demand or reserved. Valid values are `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`.
        Returns:
        builder
      • pricingPlan

        public QueueState.Builder pricingPlan​(java.lang.String pricingPlan)
        Parameters:
        pricingPlan - Whether the pricing plan for the queue is on-demand or reserved. Valid values are `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`.
        Returns:
        builder
      • region

        public QueueState.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 QueueState.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
      • reservationPlanSettings

        public QueueState.Builder reservationPlanSettings​(@Nullable
                                                          com.pulumi.core.Output<QueueReservationPlanSettingsArgs> reservationPlanSettings)
        Parameters:
        reservationPlanSettings - Detail pricing plan of the reserved queue. See below.
        Returns:
        builder
      • status

        public QueueState.Builder status​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`.
        Returns:
        builder
      • status

        public QueueState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`.
        Returns:
        builder
      • tags

        public QueueState.Builder tags​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. 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 QueueState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. 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 QueueState.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 QueueState.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