Struct aws_sdk_mediaconvert::types::builders::QueueBuilder
source · #[non_exhaustive]pub struct QueueBuilder { /* private fields */ }
Expand description
A builder for Queue
.
Implementations§
source§impl QueueBuilder
impl QueueBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
An identifier for this resource that is unique within all of AWS.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
An identifier for this resource that is unique within all of AWS.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
An identifier for this resource that is unique within all of AWS.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp in epoch seconds for when you created the queue.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp in epoch seconds for when you created the queue.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp in epoch seconds for when you created the queue.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description that you create for each queue.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description that you create for each queue.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An optional description that you create for each queue.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The timestamp in epoch seconds for when you most recently updated the queue.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The timestamp in epoch seconds for when you most recently updated the queue.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The timestamp in epoch seconds for when you most recently updated the queue.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name that you create for each queue. Each name must be unique within your account. This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A name that you create for each queue. Each name must be unique within your account.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A name that you create for each queue. Each name must be unique within your account.
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.
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.
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.
sourcepub fn progressing_jobs_count(self, input: i32) -> Self
pub fn progressing_jobs_count(self, input: i32) -> Self
The estimated number of jobs with a PROGRESSING status.
sourcepub fn set_progressing_jobs_count(self, input: Option<i32>) -> Self
pub fn set_progressing_jobs_count(self, input: Option<i32>) -> Self
The estimated number of jobs with a PROGRESSING status.
sourcepub fn get_progressing_jobs_count(&self) -> &Option<i32>
pub fn get_progressing_jobs_count(&self) -> &Option<i32>
The estimated number of jobs with a PROGRESSING status.
sourcepub fn reservation_plan(self, input: ReservationPlan) -> Self
pub fn reservation_plan(self, input: ReservationPlan) -> 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(self, input: Option<ReservationPlan>) -> Self
pub fn set_reservation_plan(self, input: Option<ReservationPlan>) -> 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(&self) -> &Option<ReservationPlan>
pub fn get_reservation_plan(&self) -> &Option<ReservationPlan>
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
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.
sourcepub fn set_status(self, input: Option<QueueStatus>) -> Self
pub fn set_status(self, input: Option<QueueStatus>) -> Self
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.
sourcepub fn get_status(&self) -> &Option<QueueStatus>
pub fn get_status(&self) -> &Option<QueueStatus>
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.
sourcepub fn submitted_jobs_count(self, input: i32) -> Self
pub fn submitted_jobs_count(self, input: i32) -> Self
The estimated number of jobs with a SUBMITTED status.
sourcepub fn set_submitted_jobs_count(self, input: Option<i32>) -> Self
pub fn set_submitted_jobs_count(self, input: Option<i32>) -> Self
The estimated number of jobs with a SUBMITTED status.
sourcepub fn get_submitted_jobs_count(&self) -> &Option<i32>
pub fn get_submitted_jobs_count(&self) -> &Option<i32>
The estimated number of jobs with a SUBMITTED status.
sourcepub fn type(self, input: Type) -> Self
pub fn type(self, input: Type) -> Self
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.
sourcepub fn set_type(self, input: Option<Type>) -> Self
pub fn set_type(self, input: Option<Type>) -> Self
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.
Trait Implementations§
source§impl Clone for QueueBuilder
impl Clone for QueueBuilder
source§fn clone(&self) -> QueueBuilder
fn clone(&self) -> QueueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueueBuilder
impl Debug for QueueBuilder
source§impl Default for QueueBuilder
impl Default for QueueBuilder
source§fn default() -> QueueBuilder
fn default() -> QueueBuilder
source§impl PartialEq for QueueBuilder
impl PartialEq for QueueBuilder
source§fn eq(&self, other: &QueueBuilder) -> bool
fn eq(&self, other: &QueueBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QueueBuilder
Auto Trait Implementations§
impl Freeze for QueueBuilder
impl RefUnwindSafe for QueueBuilder
impl Send for QueueBuilder
impl Sync for QueueBuilder
impl Unpin for QueueBuilder
impl UnwindSafe for QueueBuilder
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