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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateQueueRequest.Builderdescription(String description)Optional.CreateQueueRequest.Buildername(String name)The name of the queue that you are creating.CreateQueueRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateQueueRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateQueueRequest.BuilderpricingPlan(String pricingPlan)Specifies whether the pricing plan for the queue is on-demand or reserved.CreateQueueRequest.BuilderpricingPlan(PricingPlan pricingPlan)Specifies whether the pricing plan for the queue is on-demand or reserved.default CreateQueueRequest.BuilderreservationPlanSettings(Consumer<ReservationPlanSettings.Builder> reservationPlanSettings)Details about the pricing plan for your reserved queue.CreateQueueRequest.BuilderreservationPlanSettings(ReservationPlanSettings reservationPlanSettings)Details about the pricing plan for your reserved queue.CreateQueueRequest.Builderstatus(String status)Initial state of the queue.CreateQueueRequest.Builderstatus(QueueStatus status)Initial state of the queue.CreateQueueRequest.Buildertags(Map<String,String> tags)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 Detail
-
description
CreateQueueRequest.Builder description(String 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
CreateQueueRequest.Builder name(String 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
CreateQueueRequest.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. 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,PricingPlan
-
pricingPlan
CreateQueueRequest.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. 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,PricingPlan
-
reservationPlanSettings
CreateQueueRequest.Builder reservationPlanSettings(ReservationPlanSettings 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.Builderavoiding the need to create one manually viaReservationPlanSettings.builder().When the
Consumercompletes,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:
reservationPlanSettings(ReservationPlanSettings)
-
status
CreateQueueRequest.Builder status(String 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:
QueueStatus,QueueStatus
-
status
CreateQueueRequest.Builder status(QueueStatus 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:
QueueStatus,QueueStatus
-
tags
CreateQueueRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-