pub struct CreateQueueFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateQueue
.
Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
Implementations§
source§impl CreateQueueFluentBuilder
impl CreateQueueFluentBuilder
sourcepub fn as_input(&self) -> &CreateQueueInputBuilder
pub fn as_input(&self) -> &CreateQueueInputBuilder
Access the CreateQueue as a reference.
sourcepub async fn send(
self
) -> Result<CreateQueueOutput, SdkError<CreateQueueError, HttpResponse>>
pub async fn send( self ) -> Result<CreateQueueOutput, SdkError<CreateQueueError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateQueueOutput, CreateQueueError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateQueueOutput, CreateQueueError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Optional. A description of the queue that you are creating.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Optional. A description of the queue that you are creating.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Optional. A description of the queue that you are creating.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the queue that you are creating.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the queue that you are creating.
sourcepub fn pricing_plan(self, input: PricingPlan) -> Self
pub fn pricing_plan(self, input: PricingPlan) -> Self
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.
sourcepub fn set_pricing_plan(self, input: Option<PricingPlan>) -> Self
pub fn set_pricing_plan(self, input: Option<PricingPlan>) -> Self
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.
sourcepub fn get_pricing_plan(&self) -> &Option<PricingPlan>
pub fn get_pricing_plan(&self) -> &Option<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.
sourcepub fn reservation_plan_settings(self, input: ReservationPlanSettings) -> Self
pub fn reservation_plan_settings(self, input: ReservationPlanSettings) -> Self
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
sourcepub fn set_reservation_plan_settings(
self,
input: Option<ReservationPlanSettings>
) -> Self
pub fn set_reservation_plan_settings( self, input: Option<ReservationPlanSettings> ) -> Self
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
sourcepub fn get_reservation_plan_settings(&self) -> &Option<ReservationPlanSettings>
pub fn get_reservation_plan_settings(&self) -> &Option<ReservationPlanSettings>
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
sourcepub fn status(self, input: QueueStatus) -> Self
pub fn status(self, input: QueueStatus) -> Self
Initial state of the queue. If you create a paused queue, then jobs in that queue won’t begin.
sourcepub fn set_status(self, input: Option<QueueStatus>) -> Self
pub fn set_status(self, input: Option<QueueStatus>) -> Self
Initial state of the queue. If you create a paused queue, then jobs in that queue won’t begin.
sourcepub fn get_status(&self) -> &Option<QueueStatus>
pub fn get_status(&self) -> &Option<QueueStatus>
Initial state of the queue. If you create a paused queue, then jobs in that queue won’t begin.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_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.
The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
Trait Implementations§
source§impl Clone for CreateQueueFluentBuilder
impl Clone for CreateQueueFluentBuilder
source§fn clone(&self) -> CreateQueueFluentBuilder
fn clone(&self) -> CreateQueueFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateQueueFluentBuilder
impl !RefUnwindSafe for CreateQueueFluentBuilder
impl Send for CreateQueueFluentBuilder
impl Sync for CreateQueueFluentBuilder
impl Unpin for CreateQueueFluentBuilder
impl !UnwindSafe for CreateQueueFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more