Interface CreateQueueRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateQueueRequest.Builder,
,CreateQueueRequest> MediaConvertRequest.Builder
,SdkBuilder<CreateQueueRequest.Builder,
,CreateQueueRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateQueueRequest
public static interface CreateQueueRequest.Builder
extends MediaConvertRequest.Builder, SdkPojo, CopyableBuilder<CreateQueueRequest.Builder,CreateQueueRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Optional.The name of the queue that you are creating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.default CreateQueueRequest.Builder
reservationPlanSettings
(Consumer<ReservationPlanSettings.Builder> reservationPlanSettings) Details about the pricing plan for your reserved queue.reservationPlanSettings
(ReservationPlanSettings reservationPlanSettings) Details about the pricing plan for your reserved queue.Initial state of the queue.status
(QueueStatus status) Initial state of the queue.The tags that you want to add to the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconvert.model.MediaConvertRequest.Builder
build
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
-
description
Optional. A description of the queue that you are creating.- Parameters:
description
- Optional. A description of the queue that you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the queue that you are creating.- Parameters:
name
- The name of the queue that you are creating.- 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. When you use the API to create a queue, the default is on-demand.- 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. When you use the API to create a queue, the default is on-demand.- 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. When you use the API to create a queue, the default is on-demand.- 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. When you use the API to create a queue, the default is on-demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationPlanSettings
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.- Parameters:
reservationPlanSettings
- 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.
-
reservationPlanSettings
default CreateQueueRequest.Builder reservationPlanSettings(Consumer<ReservationPlanSettings.Builder> reservationPlanSettings) 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 theReservationPlanSettings.Builder
avoiding the need to create one manually viaReservationPlanSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreservationPlanSettings(ReservationPlanSettings)
.- Parameters:
reservationPlanSettings
- a consumer that will call methods onReservationPlanSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.- Parameters:
status
- Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.- Parameters:
status
- Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateQueueRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-