Struct aws_sdk_mediaconnect::operation::purchase_offering::builders::PurchaseOfferingOutputBuilder
source · #[non_exhaustive]pub struct PurchaseOfferingOutputBuilder { /* private fields */ }
Expand description
A builder for PurchaseOfferingOutput
.
Implementations§
source§impl PurchaseOfferingOutputBuilder
impl PurchaseOfferingOutputBuilder
sourcepub fn reservation(self, input: Reservation) -> Self
pub fn reservation(self, input: Reservation) -> Self
A pricing agreement for a discounted rate for a specific outbound bandwidth that your MediaConnect account will use each month over a specific time period. The discounted rate in the reservation applies to outbound bandwidth for all flows from your account until your account reaches the amount of bandwidth in your reservation. If you use more outbound bandwidth than the agreed upon amount in a single month, the overage is charged at the on-demand rate.
sourcepub fn set_reservation(self, input: Option<Reservation>) -> Self
pub fn set_reservation(self, input: Option<Reservation>) -> Self
A pricing agreement for a discounted rate for a specific outbound bandwidth that your MediaConnect account will use each month over a specific time period. The discounted rate in the reservation applies to outbound bandwidth for all flows from your account until your account reaches the amount of bandwidth in your reservation. If you use more outbound bandwidth than the agreed upon amount in a single month, the overage is charged at the on-demand rate.
sourcepub fn get_reservation(&self) -> &Option<Reservation>
pub fn get_reservation(&self) -> &Option<Reservation>
A pricing agreement for a discounted rate for a specific outbound bandwidth that your MediaConnect account will use each month over a specific time period. The discounted rate in the reservation applies to outbound bandwidth for all flows from your account until your account reaches the amount of bandwidth in your reservation. If you use more outbound bandwidth than the agreed upon amount in a single month, the overage is charged at the on-demand rate.
sourcepub fn build(self) -> PurchaseOfferingOutput
pub fn build(self) -> PurchaseOfferingOutput
Consumes the builder and constructs a PurchaseOfferingOutput
.
Trait Implementations§
source§impl Clone for PurchaseOfferingOutputBuilder
impl Clone for PurchaseOfferingOutputBuilder
source§fn clone(&self) -> PurchaseOfferingOutputBuilder
fn clone(&self) -> PurchaseOfferingOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PurchaseOfferingOutputBuilder
impl Default for PurchaseOfferingOutputBuilder
source§fn default() -> PurchaseOfferingOutputBuilder
fn default() -> PurchaseOfferingOutputBuilder
source§impl PartialEq for PurchaseOfferingOutputBuilder
impl PartialEq for PurchaseOfferingOutputBuilder
source§fn eq(&self, other: &PurchaseOfferingOutputBuilder) -> bool
fn eq(&self, other: &PurchaseOfferingOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PurchaseOfferingOutputBuilder
Auto Trait Implementations§
impl Freeze for PurchaseOfferingOutputBuilder
impl RefUnwindSafe for PurchaseOfferingOutputBuilder
impl Send for PurchaseOfferingOutputBuilder
impl Sync for PurchaseOfferingOutputBuilder
impl Unpin for PurchaseOfferingOutputBuilder
impl UnwindSafe for PurchaseOfferingOutputBuilder
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