#[non_exhaustive]pub struct ReservationPlanSettings {
pub commitment: Option<Commitment>,
pub renewal_type: Option<RenewalType>,
pub reserved_slots: Option<i32>,
}
Expand description
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.commitment: Option<Commitment>
The length of the term of your reserved queue pricing plan commitment.
renewal_type: Option<RenewalType>
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. When your term is auto renewed, you extend your commitment by 12 months from the auto renew date. You can cancel this commitment.
reserved_slots: Option<i32>
Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can’t decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can’t cancel your commitment or revert to your original commitment after you increase the capacity.
Implementations§
source§impl ReservationPlanSettings
impl ReservationPlanSettings
sourcepub fn commitment(&self) -> Option<&Commitment>
pub fn commitment(&self) -> Option<&Commitment>
The length of the term of your reserved queue pricing plan commitment.
sourcepub fn renewal_type(&self) -> Option<&RenewalType>
pub fn renewal_type(&self) -> Option<&RenewalType>
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. When your term is auto renewed, you extend your commitment by 12 months from the auto renew date. You can cancel this commitment.
sourcepub fn reserved_slots(&self) -> Option<i32>
pub fn reserved_slots(&self) -> Option<i32>
Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can’t decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can’t cancel your commitment or revert to your original commitment after you increase the capacity.
source§impl ReservationPlanSettings
impl ReservationPlanSettings
sourcepub fn builder() -> ReservationPlanSettingsBuilder
pub fn builder() -> ReservationPlanSettingsBuilder
Creates a new builder-style object to manufacture ReservationPlanSettings
.
Trait Implementations§
source§impl Clone for ReservationPlanSettings
impl Clone for ReservationPlanSettings
source§fn clone(&self) -> ReservationPlanSettings
fn clone(&self) -> ReservationPlanSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReservationPlanSettings
impl Debug for ReservationPlanSettings
source§impl PartialEq for ReservationPlanSettings
impl PartialEq for ReservationPlanSettings
source§fn eq(&self, other: &ReservationPlanSettings) -> bool
fn eq(&self, other: &ReservationPlanSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReservationPlanSettings
Auto Trait Implementations§
impl Freeze for ReservationPlanSettings
impl RefUnwindSafe for ReservationPlanSettings
impl Send for ReservationPlanSettings
impl Sync for ReservationPlanSettings
impl Unpin for ReservationPlanSettings
impl UnwindSafe for ReservationPlanSettings
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