Struct aws_sdk_ec2::types::builders::TargetReservationValueBuilder
source · #[non_exhaustive]pub struct TargetReservationValueBuilder { /* private fields */ }
Expand description
A builder for TargetReservationValue
.
Implementations§
source§impl TargetReservationValueBuilder
impl TargetReservationValueBuilder
sourcepub fn reservation_value(self, input: ReservationValue) -> Self
pub fn reservation_value(self, input: ReservationValue) -> Self
The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange.
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 Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange.
sourcepub fn get_reservation_value(&self) -> &Option<ReservationValue>
pub fn get_reservation_value(&self) -> &Option<ReservationValue>
The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange.
sourcepub fn target_configuration(self, input: TargetConfiguration) -> Self
pub fn target_configuration(self, input: TargetConfiguration) -> Self
The configuration of the Convertible Reserved Instances that make up the exchange.
sourcepub fn set_target_configuration(
self,
input: Option<TargetConfiguration>
) -> Self
pub fn set_target_configuration( self, input: Option<TargetConfiguration> ) -> Self
The configuration of the Convertible Reserved Instances that make up the exchange.
sourcepub fn get_target_configuration(&self) -> &Option<TargetConfiguration>
pub fn get_target_configuration(&self) -> &Option<TargetConfiguration>
The configuration of the Convertible Reserved Instances that make up the exchange.
sourcepub fn build(self) -> TargetReservationValue
pub fn build(self) -> TargetReservationValue
Consumes the builder and constructs a TargetReservationValue
.
Trait Implementations§
source§impl Clone for TargetReservationValueBuilder
impl Clone for TargetReservationValueBuilder
source§fn clone(&self) -> TargetReservationValueBuilder
fn clone(&self) -> TargetReservationValueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TargetReservationValueBuilder
impl Default for TargetReservationValueBuilder
source§fn default() -> TargetReservationValueBuilder
fn default() -> TargetReservationValueBuilder
source§impl PartialEq<TargetReservationValueBuilder> for TargetReservationValueBuilder
impl PartialEq<TargetReservationValueBuilder> for TargetReservationValueBuilder
source§fn eq(&self, other: &TargetReservationValueBuilder) -> bool
fn eq(&self, other: &TargetReservationValueBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.