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 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 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
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 TargetReservationValueBuilder
impl Default for TargetReservationValueBuilder
source§fn default() -> TargetReservationValueBuilder
fn default() -> TargetReservationValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TargetReservationValueBuilder> for TargetReservationValueBuilder
impl PartialEq<TargetReservationValueBuilder> for TargetReservationValueBuilder
source§fn eq(&self, other: &TargetReservationValueBuilder) -> bool
fn eq(&self, other: &TargetReservationValueBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetReservationValueBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TargetReservationValueBuilder
impl Send for TargetReservationValueBuilder
impl Sync for TargetReservationValueBuilder
impl Unpin for TargetReservationValueBuilder
impl UnwindSafe for TargetReservationValueBuilder
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