Struct aws_sdk_memorydb::model::recurring_charge::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RecurringCharge
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn recurring_charge_amount(self, input: f64) -> Self
pub fn recurring_charge_amount(self, input: f64) -> Self
The amount of the recurring charge to run this reserved node.
sourcepub fn set_recurring_charge_amount(self, input: Option<f64>) -> Self
pub fn set_recurring_charge_amount(self, input: Option<f64>) -> Self
The amount of the recurring charge to run this reserved node.
sourcepub fn recurring_charge_frequency(self, input: impl Into<String>) -> Self
pub fn recurring_charge_frequency(self, input: impl Into<String>) -> Self
The frequency of the recurring price charged to run this reserved node.
sourcepub fn set_recurring_charge_frequency(self, input: Option<String>) -> Self
pub fn set_recurring_charge_frequency(self, input: Option<String>) -> Self
The frequency of the recurring price charged to run this reserved node.
sourcepub fn build(self) -> RecurringCharge
pub fn build(self) -> RecurringCharge
Consumes the builder and constructs a RecurringCharge
.