Struct aws_sdk_ec2::model::reservation_value::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ReservationValue
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn hourly_price(self, input: impl Into<String>) -> Self
pub fn hourly_price(self, input: impl Into<String>) -> Self
The hourly rate of the reservation.
sourcepub fn set_hourly_price(self, input: Option<String>) -> Self
pub fn set_hourly_price(self, input: Option<String>) -> Self
The hourly rate of the reservation.
sourcepub fn remaining_total_value(self, input: impl Into<String>) -> Self
pub fn remaining_total_value(self, input: impl Into<String>) -> Self
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
sourcepub fn set_remaining_total_value(self, input: Option<String>) -> Self
pub fn set_remaining_total_value(self, input: Option<String>) -> Self
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
sourcepub fn remaining_upfront_value(self, input: impl Into<String>) -> Self
pub fn remaining_upfront_value(self, input: impl Into<String>) -> Self
The remaining upfront cost of the reservation.
sourcepub fn set_remaining_upfront_value(self, input: Option<String>) -> Self
pub fn set_remaining_upfront_value(self, input: Option<String>) -> Self
The remaining upfront cost of the reservation.
sourcepub fn build(self) -> ReservationValue
pub fn build(self) -> ReservationValue
Consumes the builder and constructs a ReservationValue
.