Interface Queue.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Queue.Builder,Queue>
,SdkBuilder<Queue.Builder,Queue>
,SdkPojo
- Enclosing class:
- Queue
public static interface Queue.Builder extends SdkPojo, CopyableBuilder<Queue.Builder,Queue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Queue.Builder
arn(String arn)
An identifier for this resource that is unique within all of AWS.Queue.Builder
createdAt(Instant createdAt)
The timestamp in epoch seconds for when you created the queue.Queue.Builder
description(String description)
An optional description that you create for each queue.Queue.Builder
lastUpdated(Instant lastUpdated)
The timestamp in epoch seconds for when you most recently updated the queue.Queue.Builder
name(String name)
A name that you create for each queue.Queue.Builder
pricingPlan(String pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.Queue.Builder
pricingPlan(PricingPlan pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.Queue.Builder
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.Queue.Builder
reservationPlan(ReservationPlan reservationPlan)
Details about the pricing plan for your reserved queue.Queue.Builder
status(String status)
Queues can be ACTIVE or PAUSED.Queue.Builder
status(QueueStatus status)
Queues can be ACTIVE or PAUSED.Queue.Builder
submittedJobsCount(Integer submittedJobsCount)
The estimated number of jobs with a SUBMITTED status.Queue.Builder
type(String type)
Specifies whether this on-demand queue is system or custom.Queue.Builder
type(Type type)
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 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.
-
reservationPlan
default Queue.Builder reservationPlan(Consumer<ReservationPlan.Builder> 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:
reservationPlan(ReservationPlan)
-
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
-
-