public static interface Queue.Builder extends SdkPojo, CopyableBuilder<Queue.Builder,Queue>
Modifier and Type | Method and 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(PricingPlan pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
Queue.Builder |
pricingPlan(String 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(QueueStatus status)
Queues can be ACTIVE or PAUSED.
|
Queue.Builder |
status(String 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Queue.Builder arn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.Queue.Builder createdAt(Instant createdAt)
createdAt
- The timestamp in epoch seconds for when you created the queue.Queue.Builder description(String description)
description
- An optional description that you create for each queue.Queue.Builder lastUpdated(Instant lastUpdated)
lastUpdated
- The timestamp in epoch seconds for when you most recently updated the queue.Queue.Builder name(String name)
name
- A name that you create for each queue. Each name must be unique within your account.Queue.Builder pricingPlan(String 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.PricingPlan
,
PricingPlan
Queue.Builder pricingPlan(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.PricingPlan
,
PricingPlan
Queue.Builder progressingJobsCount(Integer progressingJobsCount)
progressingJobsCount
- The estimated number of jobs with a PROGRESSING status.Queue.Builder reservationPlan(ReservationPlan reservationPlan)
reservationPlan
- Details about the pricing plan for your reserved queue. Required for reserved queues and not
applicable to on-demand queues.default Queue.Builder reservationPlan(Consumer<ReservationPlan.Builder> reservationPlan)
ReservationPlan.Builder
avoiding the need to create one manually via ReservationPlan.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to reservationPlan(ReservationPlan)
.reservationPlan
- a consumer that will call methods on ReservationPlan.Builder
reservationPlan(ReservationPlan)
Queue.Builder status(String status)
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.QueueStatus
,
QueueStatus
Queue.Builder status(QueueStatus status)
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.QueueStatus
,
QueueStatus
Queue.Builder submittedJobsCount(Integer submittedJobsCount)
submittedJobsCount
- The estimated number of jobs with a SUBMITTED status.Queue.Builder type(String 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.Type
,
Type
Queue.Builder type(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.Type
,
Type
Copyright © 2020. All rights reserved.