Struct aws_sdk_iottwinmaker::types::builders::PricingPlanBuilder
source · #[non_exhaustive]pub struct PricingPlanBuilder { /* private fields */ }Expand description
A builder for PricingPlan.
Implementations§
source§impl PricingPlanBuilder
impl PricingPlanBuilder
sourcepub fn billable_entity_count(self, input: i64) -> Self
pub fn billable_entity_count(self, input: i64) -> Self
The billable entity count.
sourcepub fn set_billable_entity_count(self, input: Option<i64>) -> Self
pub fn set_billable_entity_count(self, input: Option<i64>) -> Self
The billable entity count.
sourcepub fn get_billable_entity_count(&self) -> &Option<i64>
pub fn get_billable_entity_count(&self) -> &Option<i64>
The billable entity count.
sourcepub fn bundle_information(self, input: BundleInformation) -> Self
pub fn bundle_information(self, input: BundleInformation) -> Self
The pricing plan's bundle information.
sourcepub fn set_bundle_information(self, input: Option<BundleInformation>) -> Self
pub fn set_bundle_information(self, input: Option<BundleInformation>) -> Self
The pricing plan's bundle information.
sourcepub fn get_bundle_information(&self) -> &Option<BundleInformation>
pub fn get_bundle_information(&self) -> &Option<BundleInformation>
The pricing plan's bundle information.
sourcepub fn effective_date_time(self, input: DateTime) -> Self
pub fn effective_date_time(self, input: DateTime) -> Self
The effective date and time of the pricing plan.
This field is required.sourcepub fn set_effective_date_time(self, input: Option<DateTime>) -> Self
pub fn set_effective_date_time(self, input: Option<DateTime>) -> Self
The effective date and time of the pricing plan.
sourcepub fn get_effective_date_time(&self) -> &Option<DateTime>
pub fn get_effective_date_time(&self) -> &Option<DateTime>
The effective date and time of the pricing plan.
sourcepub fn pricing_mode(self, input: PricingMode) -> Self
pub fn pricing_mode(self, input: PricingMode) -> Self
The pricing mode.
This field is required.sourcepub fn set_pricing_mode(self, input: Option<PricingMode>) -> Self
pub fn set_pricing_mode(self, input: Option<PricingMode>) -> Self
The pricing mode.
sourcepub fn get_pricing_mode(&self) -> &Option<PricingMode>
pub fn get_pricing_mode(&self) -> &Option<PricingMode>
The pricing mode.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The set date and time for updating a pricing plan.
This field is required.sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The set date and time for updating a pricing plan.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The set date and time for updating a pricing plan.
sourcepub fn update_reason(self, input: UpdateReason) -> Self
pub fn update_reason(self, input: UpdateReason) -> Self
The update reason for changing a pricing plan.
This field is required.sourcepub fn set_update_reason(self, input: Option<UpdateReason>) -> Self
pub fn set_update_reason(self, input: Option<UpdateReason>) -> Self
The update reason for changing a pricing plan.
sourcepub fn get_update_reason(&self) -> &Option<UpdateReason>
pub fn get_update_reason(&self) -> &Option<UpdateReason>
The update reason for changing a pricing plan.
sourcepub fn build(self) -> Result<PricingPlan, BuildError>
pub fn build(self) -> Result<PricingPlan, BuildError>
Consumes the builder and constructs a PricingPlan.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PricingPlanBuilder
impl Clone for PricingPlanBuilder
source§fn clone(&self) -> PricingPlanBuilder
fn clone(&self) -> PricingPlanBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PricingPlanBuilder
impl Debug for PricingPlanBuilder
source§impl Default for PricingPlanBuilder
impl Default for PricingPlanBuilder
source§fn default() -> PricingPlanBuilder
fn default() -> PricingPlanBuilder
source§impl PartialEq for PricingPlanBuilder
impl PartialEq for PricingPlanBuilder
source§fn eq(&self, other: &PricingPlanBuilder) -> bool
fn eq(&self, other: &PricingPlanBuilder) -> bool
self and other values to be equal, and is used
by ==.