#[non_exhaustive]pub struct ReservedInstanceReservationValueBuilder { /* private fields */ }
Expand description
A builder for ReservedInstanceReservationValue
.
Implementations§
source§impl ReservedInstanceReservationValueBuilder
impl ReservedInstanceReservationValueBuilder
sourcepub fn reservation_value(self, input: ReservationValue) -> Self
pub fn reservation_value(self, input: ReservationValue) -> Self
The total value of the Convertible Reserved Instance that you are exchanging.
sourcepub fn set_reservation_value(self, input: Option<ReservationValue>) -> Self
pub fn set_reservation_value(self, input: Option<ReservationValue>) -> Self
The total value of the Convertible Reserved Instance that you are exchanging.
sourcepub fn get_reservation_value(&self) -> &Option<ReservationValue>
pub fn get_reservation_value(&self) -> &Option<ReservationValue>
The total value of the Convertible Reserved Instance that you are exchanging.
sourcepub fn reserved_instance_id(self, input: impl Into<String>) -> Self
pub fn reserved_instance_id(self, input: impl Into<String>) -> Self
The ID of the Convertible Reserved Instance that you are exchanging.
sourcepub fn set_reserved_instance_id(self, input: Option<String>) -> Self
pub fn set_reserved_instance_id(self, input: Option<String>) -> Self
The ID of the Convertible Reserved Instance that you are exchanging.
sourcepub fn get_reserved_instance_id(&self) -> &Option<String>
pub fn get_reserved_instance_id(&self) -> &Option<String>
The ID of the Convertible Reserved Instance that you are exchanging.
sourcepub fn build(self) -> ReservedInstanceReservationValue
pub fn build(self) -> ReservedInstanceReservationValue
Consumes the builder and constructs a ReservedInstanceReservationValue
.
Trait Implementations§
source§impl Clone for ReservedInstanceReservationValueBuilder
impl Clone for ReservedInstanceReservationValueBuilder
source§fn clone(&self) -> ReservedInstanceReservationValueBuilder
fn clone(&self) -> ReservedInstanceReservationValueBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ReservedInstanceReservationValueBuilder
impl Default for ReservedInstanceReservationValueBuilder
source§fn default() -> ReservedInstanceReservationValueBuilder
fn default() -> ReservedInstanceReservationValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReservedInstanceReservationValueBuilder
impl PartialEq for ReservedInstanceReservationValueBuilder
source§fn eq(&self, other: &ReservedInstanceReservationValueBuilder) -> bool
fn eq(&self, other: &ReservedInstanceReservationValueBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReservedInstanceReservationValueBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReservedInstanceReservationValueBuilder
impl Send for ReservedInstanceReservationValueBuilder
impl Sync for ReservedInstanceReservationValueBuilder
impl Unpin for ReservedInstanceReservationValueBuilder
impl UnwindSafe for ReservedInstanceReservationValueBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.