Struct aws_sdk_ec2::operation::get_reserved_instances_exchange_quote::builders::GetReservedInstancesExchangeQuoteOutputBuilder
source · #[non_exhaustive]pub struct GetReservedInstancesExchangeQuoteOutputBuilder { /* private fields */ }Expand description
A builder for GetReservedInstancesExchangeQuoteOutput.
Implementations§
source§impl GetReservedInstancesExchangeQuoteOutputBuilder
impl GetReservedInstancesExchangeQuoteOutputBuilder
sourcepub fn currency_code(self, input: impl Into<String>) -> Self
pub fn currency_code(self, input: impl Into<String>) -> Self
The currency of the transaction.
sourcepub fn set_currency_code(self, input: Option<String>) -> Self
pub fn set_currency_code(self, input: Option<String>) -> Self
The currency of the transaction.
sourcepub fn get_currency_code(&self) -> &Option<String>
pub fn get_currency_code(&self) -> &Option<String>
The currency of the transaction.
sourcepub fn is_valid_exchange(self, input: bool) -> Self
pub fn is_valid_exchange(self, input: bool) -> Self
If true, the exchange is valid. If false, the exchange cannot be completed.
sourcepub fn set_is_valid_exchange(self, input: Option<bool>) -> Self
pub fn set_is_valid_exchange(self, input: Option<bool>) -> Self
If true, the exchange is valid. If false, the exchange cannot be completed.
sourcepub fn get_is_valid_exchange(&self) -> &Option<bool>
pub fn get_is_valid_exchange(&self) -> &Option<bool>
If true, the exchange is valid. If false, the exchange cannot be completed.
sourcepub fn output_reserved_instances_will_expire_at(self, input: DateTime) -> Self
pub fn output_reserved_instances_will_expire_at(self, input: DateTime) -> Self
The new end date of the reservation term.
sourcepub fn set_output_reserved_instances_will_expire_at(
self,
input: Option<DateTime>
) -> Self
pub fn set_output_reserved_instances_will_expire_at( self, input: Option<DateTime> ) -> Self
The new end date of the reservation term.
sourcepub fn get_output_reserved_instances_will_expire_at(&self) -> &Option<DateTime>
pub fn get_output_reserved_instances_will_expire_at(&self) -> &Option<DateTime>
The new end date of the reservation term.
sourcepub fn payment_due(self, input: impl Into<String>) -> Self
pub fn payment_due(self, input: impl Into<String>) -> Self
The total true upfront charge for the exchange.
sourcepub fn set_payment_due(self, input: Option<String>) -> Self
pub fn set_payment_due(self, input: Option<String>) -> Self
The total true upfront charge for the exchange.
sourcepub fn get_payment_due(&self) -> &Option<String>
pub fn get_payment_due(&self) -> &Option<String>
The total true upfront charge for the exchange.
sourcepub fn reserved_instance_value_rollup(self, input: ReservationValue) -> Self
pub fn reserved_instance_value_rollup(self, input: ReservationValue) -> Self
The cost associated with the Reserved Instance.
sourcepub fn set_reserved_instance_value_rollup(
self,
input: Option<ReservationValue>
) -> Self
pub fn set_reserved_instance_value_rollup( self, input: Option<ReservationValue> ) -> Self
The cost associated with the Reserved Instance.
sourcepub fn get_reserved_instance_value_rollup(&self) -> &Option<ReservationValue>
pub fn get_reserved_instance_value_rollup(&self) -> &Option<ReservationValue>
The cost associated with the Reserved Instance.
sourcepub fn reserved_instance_value_set(
self,
input: ReservedInstanceReservationValue
) -> Self
pub fn reserved_instance_value_set( self, input: ReservedInstanceReservationValue ) -> Self
Appends an item to reserved_instance_value_set.
To override the contents of this collection use set_reserved_instance_value_set.
The configuration of your Convertible Reserved Instances.
sourcepub fn set_reserved_instance_value_set(
self,
input: Option<Vec<ReservedInstanceReservationValue>>
) -> Self
pub fn set_reserved_instance_value_set( self, input: Option<Vec<ReservedInstanceReservationValue>> ) -> Self
The configuration of your Convertible Reserved Instances.
sourcepub fn get_reserved_instance_value_set(
&self
) -> &Option<Vec<ReservedInstanceReservationValue>>
pub fn get_reserved_instance_value_set( &self ) -> &Option<Vec<ReservedInstanceReservationValue>>
The configuration of your Convertible Reserved Instances.
sourcepub fn target_configuration_value_rollup(self, input: ReservationValue) -> Self
pub fn target_configuration_value_rollup(self, input: ReservationValue) -> Self
The cost associated with the Reserved Instance.
sourcepub fn set_target_configuration_value_rollup(
self,
input: Option<ReservationValue>
) -> Self
pub fn set_target_configuration_value_rollup( self, input: Option<ReservationValue> ) -> Self
The cost associated with the Reserved Instance.
sourcepub fn get_target_configuration_value_rollup(&self) -> &Option<ReservationValue>
pub fn get_target_configuration_value_rollup(&self) -> &Option<ReservationValue>
The cost associated with the Reserved Instance.
sourcepub fn target_configuration_value_set(
self,
input: TargetReservationValue
) -> Self
pub fn target_configuration_value_set( self, input: TargetReservationValue ) -> Self
Appends an item to target_configuration_value_set.
To override the contents of this collection use set_target_configuration_value_set.
The values of the target Convertible Reserved Instances.
sourcepub fn set_target_configuration_value_set(
self,
input: Option<Vec<TargetReservationValue>>
) -> Self
pub fn set_target_configuration_value_set( self, input: Option<Vec<TargetReservationValue>> ) -> Self
The values of the target Convertible Reserved Instances.
sourcepub fn get_target_configuration_value_set(
&self
) -> &Option<Vec<TargetReservationValue>>
pub fn get_target_configuration_value_set( &self ) -> &Option<Vec<TargetReservationValue>>
The values of the target Convertible Reserved Instances.
sourcepub fn validation_failure_reason(self, input: impl Into<String>) -> Self
pub fn validation_failure_reason(self, input: impl Into<String>) -> Self
Describes the reason why the exchange cannot be completed.
sourcepub fn set_validation_failure_reason(self, input: Option<String>) -> Self
pub fn set_validation_failure_reason(self, input: Option<String>) -> Self
Describes the reason why the exchange cannot be completed.
sourcepub fn get_validation_failure_reason(&self) -> &Option<String>
pub fn get_validation_failure_reason(&self) -> &Option<String>
Describes the reason why the exchange cannot be completed.
sourcepub fn build(self) -> GetReservedInstancesExchangeQuoteOutput
pub fn build(self) -> GetReservedInstancesExchangeQuoteOutput
Consumes the builder and constructs a GetReservedInstancesExchangeQuoteOutput.
Trait Implementations§
source§impl Clone for GetReservedInstancesExchangeQuoteOutputBuilder
impl Clone for GetReservedInstancesExchangeQuoteOutputBuilder
source§fn clone(&self) -> GetReservedInstancesExchangeQuoteOutputBuilder
fn clone(&self) -> GetReservedInstancesExchangeQuoteOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetReservedInstancesExchangeQuoteOutputBuilder
impl Default for GetReservedInstancesExchangeQuoteOutputBuilder
source§fn default() -> GetReservedInstancesExchangeQuoteOutputBuilder
fn default() -> GetReservedInstancesExchangeQuoteOutputBuilder
source§impl PartialEq<GetReservedInstancesExchangeQuoteOutputBuilder> for GetReservedInstancesExchangeQuoteOutputBuilder
impl PartialEq<GetReservedInstancesExchangeQuoteOutputBuilder> for GetReservedInstancesExchangeQuoteOutputBuilder
source§fn eq(&self, other: &GetReservedInstancesExchangeQuoteOutputBuilder) -> bool
fn eq(&self, other: &GetReservedInstancesExchangeQuoteOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.