#[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 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 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<ReservedInstanceReservationValueBuilder> for ReservedInstanceReservationValueBuilder
impl PartialEq<ReservedInstanceReservationValueBuilder> 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 ==.