Struct aws_sdk_devicefarm::model::recurring_charge::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RecurringCharge.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cost(self, input: MonetaryAmount) -> Self
pub fn cost(self, input: MonetaryAmount) -> Self
The cost of the recurring charge.
sourcepub fn set_cost(self, input: Option<MonetaryAmount>) -> Self
pub fn set_cost(self, input: Option<MonetaryAmount>) -> Self
The cost of the recurring charge.
sourcepub fn frequency(self, input: RecurringChargeFrequency) -> Self
pub fn frequency(self, input: RecurringChargeFrequency) -> Self
The frequency in which charges recur.
sourcepub fn set_frequency(self, input: Option<RecurringChargeFrequency>) -> Self
pub fn set_frequency(self, input: Option<RecurringChargeFrequency>) -> Self
The frequency in which charges recur.
sourcepub fn build(self) -> RecurringCharge
pub fn build(self) -> RecurringCharge
Consumes the builder and constructs a RecurringCharge.