Interface CreateQueueRequest.Builder

    • Method Detail

      • description

        CreateQueueRequest.Builder description​(String description)
        Optional. A description of the queue that you are creating.
        Parameters:
        description - Optional. A description of the queue that you are creating.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateQueueRequest.Builder name​(String name)
        The name of the queue that you are creating.
        Parameters:
        name - The name of the queue that you are creating.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pricingPlan

        CreateQueueRequest.Builder pricingPlan​(String pricingPlan)
        Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.
        Parameters:
        pricingPlan - Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PricingPlan, PricingPlan
      • pricingPlan

        CreateQueueRequest.Builder pricingPlan​(PricingPlan pricingPlan)
        Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.
        Parameters:
        pricingPlan - Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PricingPlan, PricingPlan
      • reservationPlanSettings

        CreateQueueRequest.Builder reservationPlanSettings​(ReservationPlanSettings reservationPlanSettings)
        Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
        Parameters:
        reservationPlanSettings - Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        CreateQueueRequest.Builder status​(String status)
        Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.
        Parameters:
        status - Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueueStatus, QueueStatus
      • status

        CreateQueueRequest.Builder status​(QueueStatus status)
        Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.
        Parameters:
        status - Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueueStatus, QueueStatus
      • tags

        CreateQueueRequest.Builder tags​(Map<String,​String> tags)
        The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
        Parameters:
        tags - The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.