Interface Queue.Builder

    • Method Detail

      • arn

        Queue.Builder arn​(String arn)
        An identifier for this resource that is unique within all of AWS.
        Parameters:
        arn - An identifier for this resource that is unique within all of AWS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        Queue.Builder createdAt​(Instant createdAt)
        The timestamp in epoch seconds for when you created the queue.
        Parameters:
        createdAt - The timestamp in epoch seconds for when you created the queue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Queue.Builder description​(String description)
        An optional description that you create for each queue.
        Parameters:
        description - An optional description that you create for each queue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdated

        Queue.Builder lastUpdated​(Instant lastUpdated)
        The timestamp in epoch seconds for when you most recently updated the queue.
        Parameters:
        lastUpdated - The timestamp in epoch seconds for when you most recently updated the queue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Queue.Builder name​(String name)
        A name that you create for each queue. Each name must be unique within your account.
        Parameters:
        name - A name that you create for each queue. Each name must be unique within your account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pricingPlan

        Queue.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.
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PricingPlan, PricingPlan
      • pricingPlan

        Queue.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.
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PricingPlan, PricingPlan
      • progressingJobsCount

        Queue.Builder progressingJobsCount​(Integer progressingJobsCount)
        The estimated number of jobs with a PROGRESSING status.
        Parameters:
        progressingJobsCount - The estimated number of jobs with a PROGRESSING status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservationPlan

        Queue.Builder reservationPlan​(ReservationPlan reservationPlan)
        Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
        Parameters:
        reservationPlan - 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

        Queue.Builder status​(String status)
        Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
        Parameters:
        status - Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueueStatus, QueueStatus
      • status

        Queue.Builder status​(QueueStatus status)
        Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
        Parameters:
        status - Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueueStatus, QueueStatus
      • submittedJobsCount

        Queue.Builder submittedJobsCount​(Integer submittedJobsCount)
        The estimated number of jobs with a SUBMITTED status.
        Parameters:
        submittedJobsCount - The estimated number of jobs with a SUBMITTED status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Queue.Builder type​(String type)
        Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.
        Parameters:
        type - Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • type

        Queue.Builder type​(Type type)
        Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.
        Parameters:
        type - Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type