Interface Queue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Queue.Builder,
,Queue> SdkBuilder<Queue.Builder,
,Queue> SdkPojo
- Enclosing class:
Queue
-
Method Summary
Modifier and TypeMethodDescriptionAn identifier for this resource that is unique within all of AWS.The timestamp in epoch seconds for when you created the queue.description
(String description) An optional description that you create for each queue.lastUpdated
(Instant lastUpdated) The timestamp in epoch seconds for when you most recently updated the queue.A name that you create for each queue.pricingPlan
(String pricingPlan) Specifies whether the pricing plan for the queue is on-demand or reserved.pricingPlan
(PricingPlan pricingPlan) Specifies whether the pricing plan for the queue is on-demand or reserved.progressingJobsCount
(Integer progressingJobsCount) The estimated number of jobs with a PROGRESSING status.default Queue.Builder
reservationPlan
(Consumer<ReservationPlan.Builder> reservationPlan) Details about the pricing plan for your reserved queue.reservationPlan
(ReservationPlan reservationPlan) Details about the pricing plan for your reserved queue.Queues can be ACTIVE or PAUSED.status
(QueueStatus status) Queues can be ACTIVE or PAUSED.submittedJobsCount
(Integer submittedJobsCount) The estimated number of jobs with a SUBMITTED status.Specifies whether this on-demand queue is system or custom.Specifies whether this on-demand queue is system or custom.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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:
-
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
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.
-
reservationPlan
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. This is a convenience method that creates an instance of theReservationPlan.Builder
avoiding the need to create one manually viaReservationPlan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreservationPlan(ReservationPlan)
.- Parameters:
reservationPlan
- a consumer that will call methods onReservationPlan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
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:
-
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
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
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:
-