public static interface CreateQueueRequest.Builder extends MediaConvertRequest.Builder, SdkPojo, CopyableBuilder<CreateQueueRequest.Builder,CreateQueueRequest>
Modifier and Type | Method and Description |
---|---|
CreateQueueRequest.Builder |
description(String description)
Optional.
|
CreateQueueRequest.Builder |
name(String name)
The name of the queue that you are creating.
|
CreateQueueRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateQueueRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateQueueRequest.Builder |
pricingPlan(PricingPlan pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
CreateQueueRequest.Builder |
pricingPlan(String pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
default CreateQueueRequest.Builder |
reservationPlanSettings(Consumer<ReservationPlanSettings.Builder> reservationPlanSettings)
Details about the pricing plan for your reserved queue.
|
CreateQueueRequest.Builder |
reservationPlanSettings(ReservationPlanSettings reservationPlanSettings)
Details about the pricing plan for your reserved queue.
|
CreateQueueRequest.Builder |
tags(Map<String,String> tags)
The tags that you want to add to the resource.
|
build
overrideConfiguration
copy
applyMutation, build
CreateQueueRequest.Builder description(String description)
description
- Optional. A description of the queue that you are creating.CreateQueueRequest.Builder name(String name)
name
- The name of the queue that you are creating.CreateQueueRequest.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. When you use the API to create a queue, the default is on-demand.PricingPlan
,
PricingPlan
CreateQueueRequest.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. When you use the API to create a queue, the default is on-demand.PricingPlan
,
PricingPlan
CreateQueueRequest.Builder reservationPlanSettings(ReservationPlanSettings reservationPlanSettings)
reservationPlanSettings
- Details about the pricing plan for your reserved queue. Required for reserved queues and not
applicable to on-demand queues.default CreateQueueRequest.Builder reservationPlanSettings(Consumer<ReservationPlanSettings.Builder> reservationPlanSettings)
ReservationPlanSettings.Builder
avoiding the need to create one manually via
ReservationPlanSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to reservationPlanSettings(ReservationPlanSettings)
.reservationPlanSettings
- a consumer that will call methods on ReservationPlanSettings.Builder
reservationPlanSettings(ReservationPlanSettings)
CreateQueueRequest.Builder tags(Map<String,String> tags)
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.CreateQueueRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.